Update material elements (#4877)

* Update material elements

* Update ha-checkbox.ts
This commit is contained in:
Bram Kragten
2020-02-15 01:08:30 +01:00
committed by GitHub
parent 3f7c29a6f6
commit c60033027d
6 changed files with 251 additions and 356 deletions

View File

@@ -9,7 +9,7 @@ const MwcCheckbox = customElements.get("mwc-checkbox") as Constructor<Checkbox>;
@customElement("ha-checkbox")
export class HaCheckbox extends MwcCheckbox {
protected firstUpdated() {
public firstUpdated() {
super.firstUpdated();
this.style.setProperty("--mdc-theme-secondary", "var(--primary-color)");
}