Help with edit themes

It is the midnight theme which I have changed a bit. You can find it on my Github.

My apologies for the delayed response, I just had time to set down at a PC and inspect that text.

That text does not currently have styles/themes applied to it. I’ve submitted an issue on github related to this.

1 Like

Hi everyone can you help me finding the element to change this objects colors?

That would be --sidebar-icon-color:

1 Like

Thank you a lot

ANd you found solution how change black text ?

Hey Pepe, it’s not possible at the moment. That text does not appear to have any theme-controlled CSS applied. There’s an issue on hassio github to have it fixed, but no movement on it yet.

ok thanks :slight_smile:

I’ve found where this is applied in the source and have submitted a PR to hopefully resolve this in an upcoming release.

https://github.com/home-assistant/home-assistant-polymer/pull/2739

The PR is merged but in HA 0.88 the text is still black on my dark theme (cleared cache) where primary-text-color is white. Is it working for you?

It was merged into dev, not sure when the cutoff was for 0.88. I assume we’ll see it in 0.89, unless it’s included in any subversions before then.

Okay, thanks. I will keep an eye on it.

Is there a place that documents all the elements and what they change? It’s really hard making a theme by trial and error.

There’s an effort to gather that information.

2 Likes

I was just informed that the Frontend for Hassio is built separately from the home-assistant version updates, and hasn’t been updated in a while. The system text fix should be in when ever they get around to updating it.

2 Likes

Good morning, everybody,

I’d like to try to create a theme, but first of all, I want to integrate a wallpaper, so I started with the but the image doesn’t appear, an idea?

In which folder should I put my image and what code should I put please?

I tried this but it doesn’t work.

Thanks to you

Nico-test:

# Background image lovelace-background: 'center / cover no-repeat url("/local/ng.jpg") fixed'

/local refers to the www directory (would have been nice if they’d used that instead of local), or reversed it and called the directory local rather than www).

1 Like

Okay, great. Thanks a lot. Now it’s working perfectly

How do I apply the same theme to the top bar?

Anyone knows how to change the color af ‘selected selection’ in sidebar? sidebar-selected-background-color: changes the color of line highlight as it is is moved with keyboard, but befor actual selection happens (bottom selection at on screenshot below). Actual selection seems to be somehow hardcoded (or was changed recently and none of themes I tried is considering this yet), so in every theme it seems to be some sort of transparrent blueish (upper selection on screenshot).
Screenshot 2020-04-27 at 22.45.09