I’ve been searching for info about this, but found nothing relevant.
On one particular View I want to be able to dynamically change the background colour - of the View. Just the View, not the cards in that View and not for the whole Dashboard.
I don’t want to set an entire theme as I am already setting the theme I want system wide, changing at times I specify. What I need is to override the theme to control the background colour of that one view.
When I say dynamically, I don’t mean any high frequency of changes. It’s just on certain days I want to set a specific colour, so the colour needs to be templatable.
I’ve not been able to come up with a solution. Can anyone suggest something that works.
One thought that comes to mind is that you can set select a media for the background, and in that media selection you can select an image entity.
An image entity can be a template.
So if you had a small file of just a solid color for each color you wanted, then you could use a template image entity to select that file, and then the background will use the media image to select that color.
Quite circuitous I know, but I think it could get you there…
Thanks, I had considered possibly something like that, but thought there must be a way to simply set the background colour of a View by template without any such shenanigans. Hence asking here.
If it is genuinely impossible, I might resort to that though.
Yes, I have come to the realisation that it is not possible. Shame, but it is what it is and so I have implemented an alternative method of displaying the information I want.