Inkscape.org
Tips, Tricks, and Tutorials Godot icons color palette
  1. #1
    steffo steffo @steffo

    Did you know you could give your Godot classes custom icons to recognize them more easily in the ?

    https://docs.godotengine.org/en/stable/tutorials/scripting/gdscript/gdscript_basics.html#registering-named-classes

    Did you know that there's a page in Godot's documentation recommending Inkscape to create them?

    https://docs.godotengine.org/en/stable/contributing/development/editor/creating_icons.html

    Did you also know there's a specific set of colors you need to use if you want your icon to be compatible with both dark and light editor themes?

    https://docs.godotengine.org/en/stable/contributing/development/editor/creating_icons.html#color-conversion-for-light-editor-themes

    Finally, did you know you can add custom palettes to Inkscape so that they can be displayed in the bottom bar?

    https://inkscape-manuals.readthedocs.io/en/latest/palette.html

     

    Once I learned all of this, I couldn't resist making a new palette to create new Godot icons with the proper labels for each supported color, so that it would be easier for everyone to pick correct colors when making icons for their extensions!

     

    I attached the palette file here; I hope it can be useful to someone :)