Skip to content

Commit

Permalink
Add on primary color to ha-slider (#21389)
Browse files Browse the repository at this point in the history
add on primary
  • Loading branch information
silamon authored Jul 15, 2024
1 parent 71a2c40 commit 15a7ace
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/ha-slider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export class HaSlider extends MdSlider {
css`
:host {
--md-sys-color-primary: var(--primary-color);
--md-sys-color-on-primary: var(--text-primary-color);
--md-sys-color-outline: var(--outline-color);
--md-sys-color-on-surface: var(--primary-text-color);
--md-slider-handle-width: 14px;
Expand Down

0 comments on commit 15a7ace

Please sign in to comment.