2022.12 Color states are broken/unusable

Any colorful people willing to help out :slight_smile: with:

retesting some theme variables, I came across these in my theme:

    badge-person-home-color: var(--ok-color)
    badge-person-not-home-color: var(--no-power-color)
    badge-person-zone-color: mediumslateblue

which were probably used at some time to colorize the (now legacy) badges, although I cant find anything using these variables in the source code history …

would anyone here be able to tell me why these are floating around?
I did search the community, but most occurrences are of my own, and don’t explain the why…

before you ask, I do have the regular state colors too:

    state-person-home-color: var(--ok-color)
    state-person-not-home-color: var(--no-power-color)
    state-person-zone-color: mediumslateblue

and no, I didnt create those variables myself to use in the Frontend anywhere so, I am lost completely (and commented them out for now, maybe it will cause havoc somewhere, so I can at least know what they do)

1 Like