Theme Question - Variables (Color variable based on System)
-
Hey all, new to Emulation Station and theming and all this.
Learning a little about variables. I have some images that I color with colors in the theme. I would like to have those colors change based on the system.
How would I set up variables by system for colors that can then be called with one variable?
Basically just assume I have an image called that is a straight line and shows on my system view. I want to color it with the color variable that says, hey this is SNES so use the SNES color.
Thanks in advance.
Edit:
I should add that I know how to make a variable such as <snescolor>ffffff</snescolor> and then apply that with snescolor, but I would still have to create a little repeated code batch for every system like that.Didn't know if there was a way to use an ifsubset type command kind of how you say ifsubset="system" but for specific systems or some other way.
-
Maybe 'nested' variables would work ? See https://github.com/RetroPie/EmulationStation/pull/703
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.