summaryrefslogtreecommitdiff
path: root/src/ui/color.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-02-25 06:46:35 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-02-25 06:46:35 +0200
commit9113f6f16d1c3d5378407b8f373879b497f079b5 (patch)
tree34ce7c1c595407dedcc2c9188645a040fd5df72d /src/ui/color.c
parent95e6b3a344d5ef117cb16e7e89de39f53883ed3e (diff)
Adjusting input field colors
Diffstat (limited to 'src/ui/color.c')
-rw-r--r--src/ui/color.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/ui/color.c b/src/ui/color.c
index e00f76ff..6aced944 100644
--- a/src/ui/color.c
+++ b/src/ui/color.c
@@ -80,7 +80,7 @@ void setThemePalette_Color(enum iColorTheme theme) {
80 copy_(uiBackgroundSelected_ColorId, teal_ColorId); 80 copy_(uiBackgroundSelected_ColorId, teal_ColorId);
81 copy_(uiBackgroundFramelessHover_ColorId, teal_ColorId); 81 copy_(uiBackgroundFramelessHover_ColorId, teal_ColorId);
82 set_Color(uiBackgroundSidebar_ColorId, 82 set_Color(uiBackgroundSidebar_ColorId,
83 mix_Color(get_Color(black_ColorId), get_Color(gray25_ColorId), 0.66f)); 83 mix_Color(get_Color(black_ColorId), get_Color(gray25_ColorId), 0.55f));
84 copy_(uiText_ColorId, gray75_ColorId); 84 copy_(uiText_ColorId, gray75_ColorId);
85 copy_(uiTextPressed_ColorId, black_ColorId); 85 copy_(uiTextPressed_ColorId, black_ColorId);
86 copy_(uiTextStrong_ColorId, white_ColorId); 86 copy_(uiTextStrong_ColorId, white_ColorId);
@@ -151,11 +151,11 @@ void setThemePalette_Color(enum iColorTheme theme) {
151 copy_(uiEmbossSelected2_ColorId, black_ColorId); 151 copy_(uiEmbossSelected2_ColorId, black_ColorId);
152 copy_(uiEmbossSelectedHover1_ColorId, white_ColorId); 152 copy_(uiEmbossSelectedHover1_ColorId, white_ColorId);
153 copy_(uiEmbossSelectedHover2_ColorId, cyan_ColorId); 153 copy_(uiEmbossSelectedHover2_ColorId, cyan_ColorId);
154 copy_(uiInputBackground_ColorId, black_ColorId); 154 set_Color(uiInputBackground_ColorId, mix_Color(get_Color(black_ColorId), get_Color(gray25_ColorId), 0.7f));
155 copy_(uiInputBackgroundFocused_ColorId, black_ColorId); 155 copy_(uiInputBackgroundFocused_ColorId, black_ColorId);
156 copy_(uiInputText_ColorId, gray75_ColorId); 156 copy_(uiInputText_ColorId, gray75_ColorId);
157 copy_(uiInputTextFocused_ColorId, white_ColorId); 157 copy_(uiInputTextFocused_ColorId, white_ColorId);
158 copy_(uiInputFrame_ColorId, gray50_ColorId); 158 copy_(uiInputFrame_ColorId, uiInputBackground_ColorId);
159 copy_(uiInputFrameHover_ColorId, cyan_ColorId); 159 copy_(uiInputFrameHover_ColorId, cyan_ColorId);
160 copy_(uiInputFrameFocused_ColorId, orange_ColorId); 160 copy_(uiInputFrameFocused_ColorId, orange_ColorId);
161 copy_(uiInputCursor_ColorId, orange_ColorId); 161 copy_(uiInputCursor_ColorId, orange_ColorId);
@@ -202,7 +202,8 @@ void setThemePalette_Color(enum iColorTheme theme) {
202 copy_(uiInputBackgroundFocused_ColorId, white_ColorId); 202 copy_(uiInputBackgroundFocused_ColorId, white_ColorId);
203 copy_(uiInputText_ColorId, gray25_ColorId); 203 copy_(uiInputText_ColorId, gray25_ColorId);
204 copy_(uiInputTextFocused_ColorId, black_ColorId); 204 copy_(uiInputTextFocused_ColorId, black_ColorId);
205 copy_(uiInputFrame_ColorId, gray50_ColorId); 205 set_Color(uiInputFrame_ColorId,
206 mix_Color(get_Color(gray50_ColorId), get_Color(gray75_ColorId), 0.5f));
206 copy_(uiInputFrameHover_ColorId, brown_ColorId); 207 copy_(uiInputFrameHover_ColorId, brown_ColorId);
207 copy_(uiInputFrameFocused_ColorId, teal_ColorId); 208 copy_(uiInputFrameFocused_ColorId, teal_ColorId);
208 copy_(uiInputCursor_ColorId, teal_ColorId); 209 copy_(uiInputCursor_ColorId, teal_ColorId);
@@ -211,7 +212,8 @@ void setThemePalette_Color(enum iColorTheme theme) {
211 copy_(uiAnnotation_ColorId, gray50_ColorId); 212 copy_(uiAnnotation_ColorId, gray50_ColorId);
212 copy_(uiIcon_ColorId, brown_ColorId); 213 copy_(uiIcon_ColorId, brown_ColorId);
213 copy_(uiIconHover_ColorId, brown_ColorId); 214 copy_(uiIconHover_ColorId, brown_ColorId);
214 copy_(uiSeparator_ColorId, gray50_ColorId); 215 set_Color(uiSeparator_ColorId,
216 mix_Color(get_Color(gray50_ColorId), get_Color(gray75_ColorId), 0.5f));
215 copy_(uiMarked_ColorId, cyan_ColorId); 217 copy_(uiMarked_ColorId, cyan_ColorId);
216 copy_(uiMatching_ColorId, orange_ColorId); 218 copy_(uiMatching_ColorId, orange_ColorId);
217 break; 219 break;