RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Change color!

    Scheduled Pinned Locked Moved Projects and Themes
    theme helptheme making
    8 Posts 7 Posters 1.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • xZyCFxX
      xZyCFx
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • lilbudL
        lilbud
        last edited by

        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

        Creator of the Radiocade: https://retropie.org.uk/forum/topic/6077/radiocade

        Backlog: http://backloggery.com/lilbud

        1 Reply Last reply Reply Quote 0
        • E
          EctoOne
          last edited by

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

          lilbudL 1 Reply Last reply Reply Quote 0
          • lilbudL
            lilbud @EctoOne
            last edited by

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

            Creator of the Radiocade: https://retropie.org.uk/forum/topic/6077/radiocade

            Backlog: http://backloggery.com/lilbud

            E 1 Reply Last reply Reply Quote 0
            • E
              EctoOne @lilbud
              last edited by

              @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.

              1 Reply Last reply Reply Quote 0
              • mattrixkM
                mattrixk
                last edited by mattrixk

                @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).

                My ES themes: MetaPixel | Spare | Io | Indent

                1 Reply Last reply Reply Quote 0
                • J
                  jdrassa
                  last edited by

                  @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.

                  Get latest build of EmulationStation for Windows here

                  1 Reply Last reply Reply Quote 0
                  • mituM
                    mitu Global Moderator
                    last edited by

                    @BaksBani Please don't necro-post by replying to years old topics. Start a new topic instead.

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post

                    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.