Open smiller171 opened 2 years ago
That is a weird one.
But looking at the community forum, https://community.home-assistant.io/t/changing-colour-of-template-editor-background/399359
Seems the same problem, and the solution is: "The two variables are:
I will look into this one if this solves the problem...
Found the problem I think. rgb-primary-color
needs to be something like 219, 185, 255
, whereas right now it's being parsed as rgb(#dbb9ff)
which doesn't seem to parse correctly
In the current version of HA, the background of the editor seems to be right.
However, you don't see what you select.
If I use the default theme (blue/orange), I see the following:
In the inspector, this looks like this:
The value of the RGB primary color is:
And the original primary color:
So in this case, everything looks fine. Primary color is blue, and the background for selection is also blue.
Now I know what to check for the Material 3 themes...
When this is defined, selecting text in the code editor is invisible. Not sure why.