EarlGrey
(Earl Grey)
November 10, 2022, 5:07pm
1
I could maintain my theme for a while now by myself, throught several breaking changes in Home Assistant. However, I’m struggling to fix two annoying issues with my dark-mode theme. Several elements (input/dropdown, input fields) are white, while they should be dark.
Which elements are these to include in my theme for the appropriate color change?
finity
November 11, 2022, 3:38pm
2
try this:
“paper-listbox-background-color”
EarlGrey
(Earl Grey)
November 13, 2022, 11:10pm
3
Appreciate your input, unfortunately it has no effect on the above screens.
I fixed the editor windows with code-editor-background-color
. Now the other ones remaining…
EarlGrey
(Earl Grey)
November 13, 2022, 11:49pm
4
Gettng there, step by step. I figured it out a bit more, which actually fixes the majority of the issues in my dashboards:
mdc-text-field-fill-color: var(–primary-background-color)
mdc-text-field-ink-color: var(–primary-text-color)
mdc-text-field-label-ink-color: var(–primary-text-color)
Edit. More fixes:
mdc-select-fill-color: var(–primary-background-color)
mdc-select-ink-color: var(–primary-text-color)
mdc-select-label-ink-color: var(–primary-text-color)
mdc-select-dropdown-icon-color: var(–primary-text-color)
Edit.And last one:
input-dropdown-icon-color: var(–primary-text-color)
Issues are now all fixed. Did my own element inspection, but now with the help of this list: Full list of theme.yaml lines - #15 by studioIngrid