This is exactly what I was looking for, except maybe in an easier form.
If you have any suggestions how this component could be easier to setup or work with, I’m fully open to suggestions .
I’m trying to make bigger the titles of the new dashboard sections. But it’s not working.
You were almost there. The thing was that spaces are used to jump between CSS classes, while $ is used to traverse shadowRoot. You can’t really combine them. With this rule your code shows up in the inspector:
However than you’ll need to traverse yet another shadowRoot, which is impossible from regular CSS.
Still according to this post by piitaya you can override these with regular theme variables. You could also set them in global mod, but I think setting them globally is a lot easier for you.
I’m also struggling to get started. Could someone please help me to sort this out? Thanks!
I’m trying to apply a mod to the device page.
(I want to increase the width of the column showing entities on the device overview page. I could do this by moving the third column under the first (the logbook) or by increasing the relative column width.)
I expected this simple example to work, sadly it does not. What am I doing wrong?
I don’t know if it’s possible but all I could think of is some sort of side-app/site or browser extension that could “translate” actual html/css structure of picked-up item into selector+style rule lines.
Ah, I did not think it had an importance. I inserted spaces simply for readability.
Ok, so I understand that by just changing my line with yours it won’t work, that I should instead use the variable “ha-heading-card-title-font-size” to achive my goal, and that in the end I should set that variable globally instead of through GlobalMod.
I really don’t know anything about themes so is this below what you meant by “setting them globally” ?
That would be awesome. But maybe a little complex within the scope of this project. But I’m going to save this as a feature request.
No worries. I should clean and clear up the readme of the project. @ThomDietrich also suggested this on GitHub.
It may or may not work but is a rather convoluted option where you rely on GlobalMod. Which I don’t mind but there is a bigger chance of something breaking than solely relying on Home Assistant theme variables.
That would probably do it. You can also split up configuration which I coincidentally illustrated in my previous post .