mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Add a new editor theme
Co-authored-by: passivestar <60579014+passivestar@users.noreply.github.com>
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user