mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Initial editor accessibility.
This commit is contained in:
@@ -1480,6 +1480,7 @@ void EditorThemeManager::_populate_standard_styles(const Ref<EditorTheme> &p_the
|
||||
// Label.
|
||||
|
||||
p_theme->set_stylebox(CoreStringName(normal), "Label", p_config.base_empty_style);
|
||||
p_theme->set_stylebox("focus", "Label", p_config.button_style_focus);
|
||||
|
||||
p_theme->set_color(SceneStringName(font_color), "Label", p_config.font_color);
|
||||
p_theme->set_color("font_shadow_color", "Label", Color(0, 0, 0, 0));
|
||||
@@ -1546,6 +1547,7 @@ void EditorThemeManager::_populate_standard_styles(const Ref<EditorTheme> &p_the
|
||||
// GraphEdit.
|
||||
|
||||
p_theme->set_stylebox(SceneStringName(panel), "GraphEdit", p_config.tree_panel_style);
|
||||
p_theme->set_stylebox("panel_focus", "GraphEdit", p_config.button_style_focus);
|
||||
p_theme->set_stylebox("menu_panel", "GraphEdit", make_flat_stylebox(p_config.dark_color_1 * Color(1, 1, 1, 0.6), 4, 2, 4, 2, 3));
|
||||
|
||||
float grid_base_brightness = p_config.dark_theme ? 1.0 : 0.0;
|
||||
@@ -1677,9 +1679,11 @@ void EditorThemeManager::_populate_standard_styles(const Ref<EditorTheme> &p_the
|
||||
|
||||
p_theme->set_stylebox(SceneStringName(panel), "GraphNode", gn_panel_style);
|
||||
p_theme->set_stylebox("panel_selected", "GraphNode", gn_panel_selected_style);
|
||||
p_theme->set_stylebox("panel_focus", "GraphNode", p_config.button_style_focus);
|
||||
p_theme->set_stylebox("titlebar", "GraphNode", gn_titlebar_style);
|
||||
p_theme->set_stylebox("titlebar_selected", "GraphNode", gn_titlebar_selected_style);
|
||||
p_theme->set_stylebox("slot", "GraphNode", gn_slot_style);
|
||||
p_theme->set_stylebox("slot_selected", "GraphNode", p_config.button_style_focus);
|
||||
|
||||
p_theme->set_color("resizer_color", "GraphNode", gn_decoration_color);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user