mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-10 19:40:25 +00:00
Use mwc-button instead of paper-button (#2744)
* Convert from paper-button to mwc-button * Fixes * Bye paper-button * Fixes * Final fixes * Fix rebase conversion
This commit is contained in:
@@ -56,9 +56,9 @@ class HuiScriptEntityRow extends LitElement implements EntityRow {
|
||||
></ha-entity-toggle>
|
||||
`
|
||||
: html`
|
||||
<paper-button @click="${this._callService}">
|
||||
<mwc-button @click="${this._callService}">
|
||||
${this.hass!.localize("ui.card.script.execute")}
|
||||
</paper-button>
|
||||
</mwc-button>
|
||||
`}
|
||||
</hui-generic-entity-row>
|
||||
`;
|
||||
@@ -67,7 +67,7 @@ class HuiScriptEntityRow extends LitElement implements EntityRow {
|
||||
protected renderStyle(): TemplateResult {
|
||||
return html`
|
||||
<style>
|
||||
paper-button {
|
||||
mwc-button {
|
||||
color: var(--primary-color);
|
||||
font-weight: 500;
|
||||
margin-right: -0.57em;
|
||||
|
||||
Reference in New Issue
Block a user