diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-09 08:25:47 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-09 08:25:47 +0200 |
commit | d17dba488c5e1218ddff2d7a7d138a28ce25f1e2 (patch) | |
tree | 90e2359d74e15f8336d82b61f2e38ee712a7fb91 /src/ui | |
parent | 5a1b9c16d4c45b9ae40c107bd2592415b48ded58 (diff) |
GmDocument: Light mode Gray document theme
The Gray theme now has a light and dark variant.
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/color.c | 2 | ||||
-rw-r--r-- | src/ui/text.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/color.c b/src/ui/color.c index 3c504c14..c751fec2 100644 --- a/src/ui/color.c +++ b/src/ui/color.c | |||
@@ -186,7 +186,7 @@ void setThemePalette_Color(enum iColorTheme theme) { | |||
186 | copy_(uiBackgroundPressed_ColorId, altAccentHi); | 186 | copy_(uiBackgroundPressed_ColorId, altAccentHi); |
187 | copy_(uiBackgroundFramelessHover_ColorId, accentHi); | 187 | copy_(uiBackgroundFramelessHover_ColorId, accentHi); |
188 | set_Color(uiBackgroundSidebar_ColorId, | 188 | set_Color(uiBackgroundSidebar_ColorId, |
189 | mix_Color(get_Color(white_ColorId), get_Color(gray75_ColorId), 0.5f)); | 189 | mix_Color(get_Color(white_ColorId), get_Color(gray75_ColorId), 0.67f)); |
190 | copy_(uiBackgroundMenu_ColorId, white_ColorId); | 190 | copy_(uiBackgroundMenu_ColorId, white_ColorId); |
191 | copy_(uiText_ColorId, black_ColorId); | 191 | copy_(uiText_ColorId, black_ColorId); |
192 | copy_(uiTextStrong_ColorId, black_ColorId); | 192 | copy_(uiTextStrong_ColorId, black_ColorId); |
diff --git a/src/ui/text.h b/src/ui/text.h index 8a023546..99f81d9f 100644 --- a/src/ui/text.h +++ b/src/ui/text.h | |||
@@ -143,7 +143,7 @@ iLocalDef iBool isEmoji_Char(iChar c) { | |||
143 | iLocalDef iBool isDingbats_Char(iChar c) { | 143 | iLocalDef iBool isDingbats_Char(iChar c) { |
144 | return c >= 0x2702 && c <= 0x27b0; | 144 | return c >= 0x2702 && c <= 0x27b0; |
145 | } | 145 | } |
146 | iLocalDef iBool isSymbol_Char(iChar c) { | 146 | iLocalDef iBool isPictograph_Char(iChar c) { |
147 | return (c == 0x21a9) || | 147 | return (c == 0x21a9) || |
148 | (c == 0x2218 || c == 0x2219) || | 148 | (c == 0x2218 || c == 0x2219) || |
149 | (c >= 0x2300 && c <= 0x26ff) || | 149 | (c >= 0x2300 && c <= 0x26ff) || |