Skip to content

Commit

Permalink
Merge pull request #29 from TekisasuEngine/blazium-dev
Browse files Browse the repository at this point in the history
Branding - Add Teki's indigo theme
  • Loading branch information
Starkium authored Oct 16, 2024
2 parents 47ecd14 + d94d550 commit 12a987c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion editor/editor_settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ void EditorSettings::_load_defaults(Ref<ConfigFile> p_extra_config) {

// Theme
EDITOR_SETTING(Variant::BOOL, PROPERTY_HINT_ENUM, "interface/theme/follow_system_theme", false, "")
EDITOR_SETTING(Variant::STRING, PROPERTY_HINT_ENUM, "interface/theme/preset", "Default", "Default,Breeze Dark,Godot,Godot 2,Redot,Gray,Light,Solarized (Dark),Solarized (Light),Black (OLED),Custom")
EDITOR_SETTING(Variant::STRING, PROPERTY_HINT_ENUM, "interface/theme/preset", "Default", "Default,Breeze Dark,Godot,Godot 2,Redot,Gray,Light,Solarized (Dark),Solarized (Light),Black (OLED),Indigo,Custom")
EDITOR_SETTING(Variant::STRING, PROPERTY_HINT_ENUM, "interface/theme/spacing_preset", "Default", "Compact,Default,Spacious,Custom")
EDITOR_SETTING(Variant::INT, PROPERTY_HINT_ENUM, "interface/theme/icon_and_font_color", 0, "Auto,Dark,Light")
EDITOR_SETTING(Variant::COLOR, PROPERTY_HINT_NONE, "interface/theme/base_color", Color(0.2, 0.23, 0.31), "")
Expand Down
4 changes: 4 additions & 0 deletions editor/themes/editor_theme_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,10 @@ EditorThemeManager::ThemeConfiguration EditorThemeManager::_create_theme_config(
// The contrast rate value is irrelevant on a fully black theme.
preset_contrast = 0.0;
preset_draw_extra_borders = true;
} else if (config.preset == "Indigo") {
preset_accent_color = Color(0.37, 0.54, 0.91);
preset_base_color = Color(0.17, 0.17, 0.20);
preset_contrast = 0.4;
} else { // Default
preset_accent_color = Color(0.44, 0.73, 0.98);
preset_base_color = Color(0.21, 0.24, 0.29);
Expand Down

0 comments on commit 12a987c

Please sign in to comment.