From 7cc820fcf4375d28151b7e07a086bf7480cca49f Mon Sep 17 00:00:00 2001 From: Emmanouil Papadeas <35376950+OverloadedOrama@users.noreply.github.com> Date: Fri, 17 May 2024 02:11:17 +0300 Subject: [PATCH] Change the accent color of the dark theme to a lighter gray --- assets/themes/dark/theme.tres | 105 +++++++++++++++++----------------- src/Main.tscn | 2 +- 2 files changed, 54 insertions(+), 53 deletions(-) diff --git a/assets/themes/dark/theme.tres b/assets/themes/dark/theme.tres index 14e310a4c..ff2557f2f 100644 --- a/assets/themes/dark/theme.tres +++ b/assets/themes/dark/theme.tres @@ -1,12 +1,12 @@ -[gd_resource type="Theme" load_steps=85 format=3 uid="uid://cngbvfpwjoimv"] +[gd_resource type="Theme" load_steps=85 format=3 uid="uid://bkb4syj8110el"] -[ext_resource type="Texture2D" uid="uid://brdgp0y4tarar" path="res://assets/graphics/misc/radio_unpressed.png" id="1_fggwf"] -[ext_resource type="Texture2D" uid="uid://ybfsxkc2qap7" path="res://assets/graphics/misc/checkbox_unpressed.png" id="2_wd0gb"] -[ext_resource type="Texture2D" uid="uid://ct8wn8m6x4m54" path="res://assets/graphics/misc/value_arrow.svg" id="3_ucetf"] -[ext_resource type="Texture2D" uid="uid://bq8h66v4ie8xl" path="res://assets/graphics/misc/value_arrow_hover.svg" id="4_w31bu"] -[ext_resource type="Texture2D" uid="uid://hhxenhteahv6" path="res://assets/graphics/misc/value_arrow_press.svg" id="5_rkqg7"] -[ext_resource type="Texture2D" uid="uid://c7u0yofrpm50a" path="res://assets/graphics/misc/value_slider.png" id="6_l50qm"] -[ext_resource type="FontFile" uid="uid://cvc4lelf6hl7x" path="res://assets/fonts/Roboto-Regular.ttf" id="7_6mdsp"] +[ext_resource type="Texture2D" uid="uid://brdgp0y4tarar" path="res://assets/graphics/misc/radio_unpressed.png" id="1_0xqj5"] +[ext_resource type="Texture2D" uid="uid://ybfsxkc2qap7" path="res://assets/graphics/misc/checkbox_unpressed.png" id="2_bvm8m"] +[ext_resource type="Texture2D" uid="uid://ct8wn8m6x4m54" path="res://assets/graphics/misc/value_arrow.svg" id="3_itsfl"] +[ext_resource type="Texture2D" uid="uid://bq8h66v4ie8xl" path="res://assets/graphics/misc/value_arrow_hover.svg" id="4_nmc7r"] +[ext_resource type="Texture2D" uid="uid://hhxenhteahv6" path="res://assets/graphics/misc/value_arrow_press.svg" id="5_ir3k1"] +[ext_resource type="Texture2D" uid="uid://c7u0yofrpm50a" path="res://assets/graphics/misc/value_slider.png" id="6_ee4lc"] +[ext_resource type="FontFile" uid="uid://cvc4lelf6hl7x" path="res://assets/fonts/Roboto-Regular.ttf" id="7_g7gfe"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_755mo"] content_margin_left = 8.0 @@ -39,6 +39,7 @@ border_width_left = 1 border_width_top = 1 border_width_right = 1 border_width_bottom = 1 +border_color = Color(0.602353, 0.602353, 0.602353, 1) [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_nv6tl"] content_margin_left = 6.0 @@ -58,7 +59,7 @@ border_width_left = 1 border_width_top = 1 border_width_right = 1 border_width_bottom = 1 -border_color = Color(1, 1, 1, 1) +border_color = Color(0.752941, 0.752941, 0.752941, 1) [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_1qcnj"] content_margin_left = 6.0 @@ -105,7 +106,7 @@ border_width_left = 3 border_width_top = 3 border_width_right = 3 border_width_bottom = 3 -border_color = Color(1, 1, 1, 1) +border_color = Color(0.752941, 0.752941, 0.752941, 1) expand_margin_left = 2.0 expand_margin_top = 2.0 expand_margin_right = 2.0 @@ -323,7 +324,7 @@ border_width_left = 2 border_width_top = 2 border_width_right = 2 border_width_bottom = 2 -border_color = Color(1, 1, 1, 1) +border_color = Color(0.752941, 0.752941, 0.752941, 1) corner_detail = 1 [sub_resource type="StyleBoxFlat" id="95"] @@ -356,7 +357,7 @@ border_width_left = 3 border_width_top = 3 border_width_right = 3 border_width_bottom = 3 -border_color = Color(1, 1, 1, 1) +border_color = Color(0.752941, 0.752941, 0.752941, 1) expand_margin_left = 2.0 expand_margin_top = 2.0 expand_margin_right = 2.0 @@ -372,7 +373,7 @@ border_width_left = 1 border_width_top = 1 border_width_right = 1 border_width_bottom = 1 -border_color = Color(1, 1, 1, 1) +border_color = Color(0.752941, 0.752941, 0.752941, 1) corner_radius_top_left = 2 corner_radius_top_right = 2 corner_radius_bottom_right = 2 @@ -533,7 +534,7 @@ border_width_left = 2 border_width_top = 2 border_width_right = 2 border_width_bottom = 2 -border_color = Color(1, 1, 1, 1) +border_color = Color(0.752941, 0.752941, 0.752941, 1) corner_radius_top_left = 3 corner_radius_top_right = 3 corner_radius_bottom_right = 3 @@ -562,7 +563,7 @@ content_margin_right = 10.0 content_margin_bottom = 4.0 bg_color = Color(0.0901961, 0.0901961, 0.0901961, 1) border_width_top = 2 -border_color = Color(1, 1, 1, 1) +border_color = Color(0.752941, 0.752941, 0.752941, 1) corner_detail = 1 [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_n4ubj"] @@ -595,7 +596,7 @@ border_width_left = 1 border_width_top = 1 border_width_right = 1 border_width_bottom = 1 -border_color = Color(1, 1, 1, 1) +border_color = Color(0.752941, 0.752941, 0.752941, 1) corner_radius_top_left = 2 corner_radius_top_right = 2 corner_radius_bottom_right = 2 @@ -611,7 +612,7 @@ border_width_left = 1 border_width_top = 1 border_width_right = 1 border_width_bottom = 1 -border_color = Color(1, 1, 1, 1) +border_color = Color(0.752941, 0.752941, 0.752941, 1) shadow_color = Color(0, 0, 0, 0.3) shadow_size = 4 @@ -695,7 +696,7 @@ content_margin_left = 10.0 content_margin_top = 28.0 content_margin_right = 10.0 content_margin_bottom = 8.0 -bg_color = Color(0.321431, 0.321431, 0.321431, 1) +bg_color = Color(0.321569, 0.321569, 0.321569, 1) corner_radius_top_left = 3 corner_radius_top_right = 3 corner_radius_bottom_right = 3 @@ -724,22 +725,22 @@ expand_margin_bottom = 4.0 [resource] resource_name = "Dark" -default_font = ExtResource("7_6mdsp") +default_font = ExtResource("7_g7gfe") default_font_size = 16 AcceptDialog/styles/panel = SubResource("StyleBoxFlat_755mo") BoxContainer/constants/separation = 4 Button/colors/font_color = Color(0.776471, 0.776471, 0.776471, 1) Button/colors/font_disabled_color = Color(0.776471, 0.776471, 0.776471, 0.5) -Button/colors/font_focus_color = Color(1, 1, 1, 1) -Button/colors/font_hover_color = Color(1, 1, 1, 1) -Button/colors/font_hover_pressed_color = Color(1, 1, 1, 1) -Button/colors/font_pressed_color = Color(1, 1, 1, 1) +Button/colors/font_focus_color = Color(0.752941, 0.752941, 0.752941, 1) +Button/colors/font_hover_color = Color(0.752941, 0.752941, 0.752941, 1) +Button/colors/font_hover_pressed_color = Color(0.752941, 0.752941, 0.752941, 1) +Button/colors/font_pressed_color = Color(0.752941, 0.752941, 0.752941, 1) Button/colors/icon_color_pressed = Color(1, 1, 1, 1) Button/colors/icon_disabled_color = Color(0.776471, 0.776471, 0.776471, 0.5) -Button/colors/icon_hover_color = Color(1, 1, 1, 1) -Button/colors/icon_hover_pressed_color = Color(1, 1, 1, 1) -Button/colors/icon_normal_color = Color(1, 1, 1, 1) -Button/colors/icon_pressed_color = Color(1, 1, 1, 1) +Button/colors/icon_hover_color = Color(0.827059, 0.827059, 0.827059, 1) +Button/colors/icon_hover_pressed_color = Color(0.802353, 0.802353, 0.802353, 1) +Button/colors/icon_normal_color = Color(0.752941, 0.752941, 0.752941, 1) +Button/colors/icon_pressed_color = Color(0.802353, 0.802353, 0.802353, 1) Button/styles/disabled = SubResource("23") Button/styles/focus = SubResource("StyleBoxFlat_kpwev") Button/styles/hover = SubResource("StyleBoxFlat_nv6tl") @@ -750,10 +751,10 @@ CelButton/styles/guide = SubResource("StyleBoxFlat_1qcnj") CelButton/styles/hover = SubResource("StyleBoxFlat_8hww6") CelButton/styles/normal = SubResource("StyleBoxFlat_a57y0") CelButton/styles/pressed = SubResource("StyleBoxFlat_t43bd") -CheckBox/icons/radio_unchecked = ExtResource("1_fggwf") -CheckBox/icons/radio_unchecked_disabled = ExtResource("1_fggwf") -CheckBox/icons/unchecked = ExtResource("2_wd0gb") -CheckBox/icons/unchecked_disabled = ExtResource("2_wd0gb") +CheckBox/icons/radio_unchecked = ExtResource("1_0xqj5") +CheckBox/icons/radio_unchecked_disabled = ExtResource("1_0xqj5") +CheckBox/icons/unchecked = ExtResource("2_bvm8m") +CheckBox/icons/unchecked_disabled = ExtResource("2_bvm8m") CheckBox/styles/disabled = SubResource("StyleBoxFlat_lbyuh") CheckBox/styles/focus = SubResource("StyleBoxFlat_4dymj") CheckBox/styles/hover = SubResource("StyleBoxFlat_4jbvl") @@ -767,7 +768,7 @@ CheckButton/styles/hover_pressed = SubResource("StyleBoxFlat_viauy") CheckButton/styles/normal = SubResource("StyleBoxFlat_ygru1") CheckButton/styles/pressed = SubResource("StyleBoxFlat_h750t") CollapsibleContainer/base_type = &"VBoxContainer" -CollapsibleContainer/icons/arrow_normal = ExtResource("3_ucetf") +CollapsibleContainer/icons/arrow_normal = ExtResource("3_itsfl") ColorPicker/constants/h_width = 28 ColorPicker/constants/margin = 8 ColorPickerButton/styles/disabled = null @@ -792,9 +793,9 @@ HSlider/styles/grabber_area_highlight = SubResource("87") HSlider/styles/slider = SubResource("88") HSplitContainer/constants/separation = 8 HeaderSmall/font_sizes/font_size = 18 -Icons/colors/modulate_color = Color(1, 1, 1, 1) +Icons/colors/modulate_color = Color(0.752941, 0.752941, 0.752941, 1) ItemList/colors/font_color = Color(0.776471, 0.776471, 0.776471, 1) -ItemList/colors/font_hovered_color = Color(1, 1, 1, 1) +ItemList/colors/font_hovered_color = Color(0.752941, 0.752941, 0.752941, 1) ItemList/colors/guide_color = Color(1, 1, 1, 0.05) ItemList/styles/cursor = SubResource("94") ItemList/styles/cursor_unfocused = SubResource("94") @@ -820,12 +821,12 @@ MarginContainer/constants/margin_right = 8 MarginContainer/constants/margin_top = 2 MenuBar/colors/font_color = Color(0.776471, 0.776471, 0.776471, 1) MenuBar/colors/font_disabled_color = Color(0.776471, 0.776471, 0.776471, 0.5) -MenuBar/colors/font_hover_color = Color(1, 1, 1, 1) -MenuBar/colors/font_pressed_color = Color(1, 1, 1, 1) +MenuBar/colors/font_hover_color = Color(0.752941, 0.752941, 0.752941, 1) +MenuBar/colors/font_pressed_color = Color(0.752941, 0.752941, 0.752941, 1) MenuButton/colors/font_color = Color(0.776471, 0.776471, 0.776471, 1) MenuButton/colors/font_disabled_color = Color(0.776471, 0.776471, 0.776471, 0.5) -MenuButton/colors/font_hover_color = Color(1, 1, 1, 1) -MenuButton/colors/font_pressed_color = Color(1, 1, 1, 1) +MenuButton/colors/font_hover_color = Color(0.752941, 0.752941, 0.752941, 1) +MenuButton/colors/font_pressed_color = Color(0.752941, 0.752941, 0.752941, 1) Misc/colors/clear_color = Color(0.141176, 0.141176, 0.141176, 1) OptionButton/colors/font_color = Color(0.776471, 0.776471, 0.776471, 1) OptionButton/colors/font_disabled_color = Color(0.776471, 0.776471, 0.776471, 0.5) @@ -833,11 +834,11 @@ Panel/styles/panel = SubResource("103") PanelContainer/styles/panel = SubResource("104") PopupMenu/colors/font_color = Color(0.776471, 0.776471, 0.776471, 1) PopupMenu/colors/font_disabled_color = Color(0.776471, 0.776471, 0.776471, 0.5) -PopupMenu/colors/font_hover_color = Color(1, 1, 1, 1) -PopupMenu/icons/radio_unchecked = ExtResource("1_fggwf") -PopupMenu/icons/radio_unchecked_disabled = ExtResource("1_fggwf") -PopupMenu/icons/unchecked = ExtResource("2_wd0gb") -PopupMenu/icons/unchecked_disabled = ExtResource("2_wd0gb") +PopupMenu/colors/font_hover_color = Color(0.752941, 0.752941, 0.752941, 1) +PopupMenu/icons/radio_unchecked = ExtResource("1_0xqj5") +PopupMenu/icons/radio_unchecked_disabled = ExtResource("1_0xqj5") +PopupMenu/icons/unchecked = ExtResource("2_bvm8m") +PopupMenu/icons/unchecked_disabled = ExtResource("2_bvm8m") PopupMenu/styles/hover = SubResource("112") PopupMenu/styles/labeled_separator_left = SubResource("113") PopupMenu/styles/labeled_separator_right = SubResource("114") @@ -886,19 +887,19 @@ TextEdit/styles/normal = SubResource("5") TextEdit/styles/read_only = SubResource("2") TooltipLabel/colors/font_color = Color(0.776471, 0.776471, 0.776471, 1) TooltipPanel/styles/panel = SubResource("151") -Tree/colors/children_hl_line_color = Color(1, 1, 1, 0.15) +Tree/colors/children_hl_line_color = Color(0.776471, 0.776471, 0.776471, 0.15) Tree/colors/custom_button_font_highlight = Color(0.866992, 0.866992, 0.866992, 1) Tree/colors/drop_position_color = Color(0.184314, 0.396078, 0.533333, 1) Tree/colors/font_color = Color(0.776471, 0.776471, 0.776471, 1) Tree/colors/guide_color = Color(1, 1, 1, 0.05) -Tree/colors/parent_hl_line_color = Color(1, 1, 1, 0.15) -Tree/colors/relationship_line_color = Color(1, 1, 1, 0.1) +Tree/colors/parent_hl_line_color = Color(0.776471, 0.776471, 0.776471, 0.15) +Tree/colors/relationship_line_color = Color(0.776471, 0.776471, 0.776471, 0.1) Tree/colors/title_button_color = Color(0.77832, 0.77832, 0.77832, 1) Tree/constants/children_hl_line_width = 2 Tree/constants/draw_relationship_lines = 1 Tree/constants/parent_hl_line_width = 2 Tree/constants/scroll_border = 40 -Tree/icons/unchecked = ExtResource("2_wd0gb") +Tree/icons/unchecked = ExtResource("2_bvm8m") Tree/styles/button_pressed = SubResource("156") Tree/styles/cursor = SubResource("157") Tree/styles/cursor_unfocused = SubResource("157") @@ -924,12 +925,12 @@ VSplitContainer/constants/separation = 8 ValueSlider/base_type = &"TextureProgressBar" ValueSlider/colors/progress_color = Color(0.231373, 0.231373, 0.231373, 1) ValueSlider/colors/under_color = Color(0.0901961, 0.0901961, 0.0901961, 1) -ValueSlider/icons/arrow_hover = ExtResource("4_w31bu") -ValueSlider/icons/arrow_normal = ExtResource("3_ucetf") -ValueSlider/icons/arrow_pressed = ExtResource("5_rkqg7") +ValueSlider/icons/arrow_hover = ExtResource("4_nmc7r") +ValueSlider/icons/arrow_normal = ExtResource("3_itsfl") +ValueSlider/icons/arrow_pressed = ExtResource("5_ir3k1") ValueSlider/icons/texture_over = null -ValueSlider/icons/texture_progress = ExtResource("6_l50qm") -ValueSlider/icons/texture_under = ExtResource("6_l50qm") +ValueSlider/icons/texture_progress = ExtResource("6_ee4lc") +ValueSlider/icons/texture_under = ExtResource("6_ee4lc") Window/colors/title_color = Color(0.776471, 0.776471, 0.776471, 1) Window/constants/title_height = 24 Window/styles/embedded_border = SubResource("StyleBoxFlat_pgljm") diff --git a/src/Main.tscn b/src/Main.tscn index 8cffca839..ce1cbadc8 100644 --- a/src/Main.tscn +++ b/src/Main.tscn @@ -1,6 +1,6 @@ [gd_scene load_steps=17 format=3 uid="uid://dbylw5k04ulp8"] -[ext_resource type="Theme" uid="uid://cngbvfpwjoimv" path="res://assets/themes/dark/theme.tres" id="1"] +[ext_resource type="Theme" uid="uid://bkb4syj8110el" path="res://assets/themes/dark/theme.tres" id="1"] [ext_resource type="Script" path="res://src/Main.gd" id="2"] [ext_resource type="PackedScene" uid="uid://bsgwar3l6qtgv" path="res://src/UI/TopMenuContainer/TopMenuContainer.tscn" id="3"] [ext_resource type="PackedScene" uid="uid://c8dsi6ggkqa7a" path="res://src/UI/UI.tscn" id="4"]