summaryrefslogtreecommitdiff
path: root/src/ui/color.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-02-26 10:26:31 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-02-26 10:26:31 +0200
commitce377bd4b703b3fb6ac8ae40b9bbd1ede2e4ca26 (patch)
treee1a5d7d506a06ba26764b0892e26b0de1875365e /src/ui/color.h
parent91a6225d8508db01574d7da2c013cb30d6a87ec8 (diff)
Visual design improvements
URL input field has a maximum width. Adjusted navbar appearance and margins. Tuned UI palette and added UI accent color preference.
Diffstat (limited to 'src/ui/color.h')
-rw-r--r--src/ui/color.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ui/color.h b/src/ui/color.h
index f65600d2..8556cd72 100644
--- a/src/ui/color.h
+++ b/src/ui/color.h
@@ -33,6 +33,12 @@ enum iColorTheme {
33 max_ColorTheme 33 max_ColorTheme
34}; 34};
35 35
36enum iColorAccent {
37 cyan_ColorAccent,
38 orange_ColorAccent,
39 max_ColorAccent
40};
41
36iLocalDef iBool isDark_ColorTheme(enum iColorTheme d) { 42iLocalDef iBool isDark_ColorTheme(enum iColorTheme d) {
37 return d == pureBlack_ColorTheme || d == dark_ColorTheme; 43 return d == pureBlack_ColorTheme || d == dark_ColorTheme;
38} 44}