Fix Lovelace view edit mode "Done" button styling (#11449)

This commit is contained in:
Philip Allgaier 2022-01-27 09:44:05 +01:00 committed by GitHub
parent f59c30ac04
commit e0c8efc5e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -130,6 +130,7 @@ class HUIRoot extends LitElement {
></ha-icon-button>
</div>
<mwc-button
outlined
class="exit-edit-mode"
.label=${this.hass!.localize(
"ui.panel.lovelace.menu.exit_edit_mode"
@ -938,7 +939,8 @@ class HUIRoot extends LitElement {
);
}
.exit-edit-mode {
--mdc-theme-primary: var(--primary-text-color);
--mdc-theme-primary: var(--app-header-edit-text-color, #fff);
--mdc-button-outline-color: var(--app-header-edit-text-color, #fff);
--mdc-typography-button-font-size: 14px;
}
`,