Browse Source

Merge pull request #10766 from Kuraiou/patch-1

chore: Update the link to predefined color mappings for Icons.
Zoey Lome 4 months ago
parent
commit
6b576a79bb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      contributing/development/editor/creating_icons.rst

+ 1 - 1
contributing/development/editor/creating_icons.rst

@@ -38,7 +38,7 @@ Color conversion for light editor themes
 
 
 If the user has configured their editor to use a light theme, Godot will
 If the user has configured their editor to use a light theme, Godot will
 convert the icon's colors based on a
 convert the icon's colors based on a
-`set of predefined color mappings <https://github.com/godotengine/godot/blob/4.0.2-stable/editor/editor_themes.cpp#L60-L160>`__.
+`set of predefined color mappings <https://github.com/godotengine/godot/blob/master/editor/themes/editor_color_map.cpp>`__.
 This is to ensure the icon always displays with a sufficient contrast rate.
 This is to ensure the icon always displays with a sufficient contrast rate.
 Try to restrict your icon's color palette to colors found in the list above.
 Try to restrict your icon's color palette to colors found in the list above.
 Otherwise, your icon may become difficult to read on a light background.
 Otherwise, your icon may become difficult to read on a light background.