Switch theme#4017
Conversation
| --toggle-button-color: var(--primary-color); | ||
| /* --toggle-button-unchecked-color: var(--accent-color); */ |
There was a problem hiding this comment.
Oh we already had official none paper variables, that should have been used in themes. Should we reuse those instead of creating switch ones?
There was a problem hiding this comment.
We could, but I like switch better 🤷♂️
There was a problem hiding this comment.
That would be breaking, and keeping toggle-button in theory not, but since everyone uses paper anyway it doesn't really matter I think...
There was a problem hiding this comment.
Right, that's what I meant to say more clearly ;) Would love for us to build a theme generator after we overhaul theming in general
There was a problem hiding this comment.
I'll be sure to highlight this in the changelog and the release notes
There was a problem hiding this comment.
Thanks for the great response. You guys rock!
|
Is there any reason it was decided to bin off the checked track colour? We used to have four attributes previously, now we only have three. |
|
I created an issue: #4200 |

Expose CSS vars for ha-switch theming
closes #3989