Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

Change color!



  • Hi, I'm creating a theme for emulationstation, and there's only one thing missing, I can not find it in any way in an xml, svg or similar file ... The rating stars!
    Does anyone know how to change their color?!0_1525263269121_Esboço.png



  • You'd have to open the svg file in a program like illustrator or inkscape and change the stars color that way. AFAIK there is no way to change the color of an svg in xml



  • Can't you just add the <color> tag to the ratings node? Although that would only work if your svg is completely white.



  • @ectoone I've never been able to color an svg through the theme.xml. Only able to change color by editing the svg.



  • @lilbud I'm pretty sure I did that all the time when I was using the white sytem logos svgs from @mattrixk io theme in my personal theme. But like I said, it only works with images that are completely white for me, maybe that option was removed somehow though.



  • @xZyCFx: You don't need an image editing program to change the colour of an SVG. Because they are just code, you can open the file with any text editor (eg: notepad on windows or textedit on mac), look for the hex code (eg: #FFFFFF = white, #000000 = black), change it to the colour you want and save.

    I've been out of the theme-making game for a while, so I don't remember if you can just use the <color> tag, or if that's a new thing.

    Edit: This is the method I used to change all the colours of the logos in my IO theme (they were originally from Carbon, I just made them bichrome).



  • @EctoOne said in Change color!:

    Can't you just add the <color> tag to the ratings node? Although that would only work if your svg is completely white.

    This is correct. I added this sometime last year. I see the theme docs was not updated though. I will fix that shortly.



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.