godotengine / godot-syntax-themes

Syntax themes for the Godot Engine script editor
Creative Commons Zero v1.0 Universal
404 stars 55 forks source link

Update themes for Godot 4.x's new syntax highlighting colors #17

Open lordolives opened 1 year ago

lordolives commented 1 year ago

I am new to Godot, but I was looking to change my editor theme colors when I came across your project. However, when changing the theme I have noticed some of the colors were not changing. When I reviewed the color names vs what I see in the tet files, the following seemed to be missing. The one I was particularly interested in was gdscript/Node Reference Color which wasn't changing on any of the themes.

These are the ones I saw that are missing:

Calinou commented 1 year ago

The syntax themes in this repository weren't updated for Godot 4.x's new colors, so I'd need to do a pass over all of them to assign good-looking colors for each theme.

lordolives commented 1 year ago

I was able to get what I needed by creating my own theme file using Godot 4.1:

[color_theme]
symbol_color="abc9ff"
keyword_color="ff7085"
control_flow_keyword_color="ff8ccc"
base_type_color="42ffc2"
engine_type_color="8fffdb"
user_type_color="c7ffed"
comment_color="cdcfd280"
string_color="ffeda1"
background_color="1d2229"
completion_background_color="363d4a"
completion_selected_color="ffffff12"
completion_existing_color="ffffff24"
completion_scroll_color="ffffff4a"
completion_scroll_hovered_color="ffffff66"
completion_font_color="cdcfd2"
text_color="cdcfd2"
line_number_color="cdcfd280"
safe_line_number_color="cdf8d2bf"
caret_color="ffffff"
caret_background_color="000000"
text_selected_color="00000000"
selection_color="70bafa66"
brace_mismatch_color="ff786b"
current_line_color="ffffff12"
line_length_guideline_color="363d4a"
word_highlighted_color="ffffff12"
number_color="a1ffe0"
function_color="57b3ff"
member_variable_color="bce0ff"
mark_color="ff786b4d"
bookmark_color="147dfa"
breakpoint_color="ff786b"
executing_line_color="fae345"
code_folding_color="ffffff45"
search_result_color="ffffff12"
search_result_border_color="699ce861"
gdscript/function_definition_color="66e6ff"
gdscript/global_function_color="a3a3f5"
gdscript/node_path_color="b8c47d"
gdscript/node_reference_color="57b3ff"
gdscript/annotation_color="ffb373"
gdscript/string_name_color="ffc2a6"

It may help you to update the rest of the themes.