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:
Paulus Schoutsen
2019-02-12 23:08:29 -08:00
committed by GitHub
parent e1c2cf770a
commit 1b8c567fd7
97 changed files with 530 additions and 514 deletions

View File

@@ -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;