Browse Source

Merge pull request #7164 from andrejp88/patch-1

Update link to set of predefined color mappings in `creating_icons.rst`
Max Hilbrunner 2 years ago
parent
commit
457e836b43
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/b9f2e57d6240346f1833fd0390de195c956299e7/editor/editor_themes.cpp#L122-L184>`__.
+`set of predefined color mappings <https://github.com/godotengine/godot/blob/4.0.2-stable/editor/editor_themes.cpp#L60-L160>`__.
 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.