mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-22 08:46:35 +00:00
Fix mwc list items icon color (#7420)
This commit is contained in:
parent
682fa0d3eb
commit
c4ed743370
@ -329,11 +329,6 @@ export class QuickBar extends LitElement {
|
||||
padding: 8px 20px 0px;
|
||||
}
|
||||
|
||||
mwc-list-item span[slot="secondary"],
|
||||
ha-icon[slot="graphic"] {
|
||||
color: var(--secondary-text-color);
|
||||
}
|
||||
|
||||
ha-dialog {
|
||||
--dialog-z-index: 8;
|
||||
--dialog-content-padding: 0;
|
||||
@ -349,10 +344,6 @@ export class QuickBar extends LitElement {
|
||||
}
|
||||
}
|
||||
|
||||
ha-icon {
|
||||
color: var(--secondary-text-color);
|
||||
}
|
||||
|
||||
ha-svg-icon.prefix {
|
||||
margin: 8px;
|
||||
}
|
||||
|
@ -171,7 +171,6 @@ export class HaAutomationEditor extends KeyboardShortcutMixin(LitElement) {
|
||||
<ha-svg-icon
|
||||
slot="graphic"
|
||||
.path=${mdiContentDuplicate}
|
||||
class=${classMap({ enabled_icon: this.automationId })}
|
||||
></ha-svg-icon>
|
||||
</mwc-list-item>
|
||||
|
||||
@ -778,9 +777,6 @@ export class HaAutomationEditor extends KeyboardShortcutMixin(LitElement) {
|
||||
mwc-fab.dirty {
|
||||
bottom: 0;
|
||||
}
|
||||
.enabled_icon {
|
||||
color: var(--primary-text-color);
|
||||
}
|
||||
.selected_menu_item {
|
||||
color: var(--primary-color);
|
||||
}
|
||||
|
@ -76,6 +76,7 @@ export const derivedStyles = {
|
||||
"mdc-theme-on-surface": "var(--primary-text-color)",
|
||||
"mdc-theme-text-primary-on-background": "var(--primary-text-color)",
|
||||
"mdc-theme-text-secondary-on-background": "var(--secondary-text-color)",
|
||||
"mdc-theme-text-icon-on-background": "var(--secondary-text-color)",
|
||||
"app-header-text-color": "var(--text-primary-color)",
|
||||
"app-header-background-color": "var(--primary-color)",
|
||||
"material-body-text-color": "var(--primary-text-color)",
|
||||
|
Loading…
x
Reference in New Issue
Block a user