Add a new editor theme

Co-authored-by: passivestar <60579014+passivestar@users.noreply.github.com>
This commit is contained in:
Michael Alexsander
2025-09-30 10:54:07 -03:00
parent 07f4c06601
commit e06f015f95
27 changed files with 4887 additions and 2381 deletions

View File

@@ -573,7 +573,7 @@ void VisualShaderGraphPlugin::update_theme() {
Ref<Font> label_bold_font = EditorNode::get_singleton()->get_editor_theme()->get_font("main_bold_msdf", EditorStringName(EditorFonts));
vs_msdf_fonts_theme->set_font(SceneStringName(font), "Label", label_font);
vs_msdf_fonts_theme->set_font(SceneStringName(font), "GraphNodeTitleLabel", label_bold_font);
if (!EditorThemeManager::is_dark_theme()) {
if (!EditorThemeManager::is_dark_icon_and_font()) {
// Override the color to white for light themes.
vs_msdf_fonts_theme->set_color(SceneStringName(font_color), "GraphNodeTitleLabel", Color(1, 1, 1));
}