Skip to content

Commit

Permalink
fix(editor): explicitly set element styles so they are not overridden…
Browse files Browse the repository at this point in the history
… by user styles
  • Loading branch information
kinghat committed Feb 8, 2023
1 parent 4a99ce0 commit f39eeda
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/tabbed-card-editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -575,6 +575,12 @@ export class TabbedCardEditor extends LitElement {
--paper-tab-ink: var(--primary-color);
text-transform: capitalize;
}
mwc-button {
--mdc-theme-primary: var(--primary-text-color);
}
ha-form {
--mdc-theme-primary: var(--primary-text-color);
}
paper-tabs {
display: flex;
font-size: 14px;
Expand Down

0 comments on commit f39eeda

Please sign in to comment.