summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-07-23 13:06:47 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-07-23 13:06:47 +0300
commitce5779323b1fe6aed04f6d9ae3fd6ca77d21a221 (patch)
tree0468008bc6c73c20c41e90561e77092088ffc425 /src/ui
parentb6f430ac5439bc452dc737d960e3cbb14320ee7f (diff)
Added gray88 to the palette
The page color theme should use its own separate palette, though, not the UI palette.
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/color.c1
-rw-r--r--src/ui/color.h22
2 files changed, 13 insertions, 10 deletions
diff --git a/src/ui/color.c b/src/ui/color.c
index 365bf986..d6a995c7 100644
--- a/src/ui/color.c
+++ b/src/ui/color.c
@@ -8,6 +8,7 @@ iColor get_Color(int color) {
8 { 40, 40, 40, 255 }, 8 { 40, 40, 40, 255 },
9 { 80, 80, 80, 255 }, 9 { 80, 80, 80, 255 },
10 { 160, 160, 160, 255 }, 10 { 160, 160, 160, 255 },
11 { 208, 208, 208, 255 },
11 { 255, 255, 255, 255 }, 12 { 255, 255, 255, 255 },
12 { 106, 80, 0, 255 }, 13 { 106, 80, 0, 255 },
13 { 255, 192, 0, 255 }, 14 { 255, 192, 0, 255 },
diff --git a/src/ui/color.h b/src/ui/color.h
index f0244fc2..aeb57375 100644
--- a/src/ui/color.h
+++ b/src/ui/color.h
@@ -8,6 +8,7 @@ enum iColorId {
8 gray25_ColorId, 8 gray25_ColorId,
9 gray50_ColorId, 9 gray50_ColorId,
10 gray75_ColorId, 10 gray75_ColorId,
11 gray88_ColorId,
11 white_ColorId, 12 white_ColorId,
12 brown_ColorId, 13 brown_ColorId,
13 orange_ColorId, 14 orange_ColorId,
@@ -28,16 +29,17 @@ enum iColorId {
28#define gray25_ColorEscape "\r1" 29#define gray25_ColorEscape "\r1"
29#define gray50_ColorEscape "\r2" 30#define gray50_ColorEscape "\r2"
30#define gray75_ColorEscape "\r3" 31#define gray75_ColorEscape "\r3"
31#define white_ColorEscape "\r4" 32#define gray88_ColorEscape "\r4"
32#define brown_ColorEscape "\r5" 33#define white_ColorEscape "\r5"
33#define orange_ColorEscape "\r6" 34#define brown_ColorEscape "\r6"
34#define teal_ColorEscape "\r7" 35#define orange_ColorEscape "\r7"
35#define cyan_ColorEscape "\r8" 36#define teal_ColorEscape "\r8"
36#define yellow_ColorEscape "\r9" 37#define cyan_ColorEscape "\r9"
37#define red_ColorEscape "\r:" 38#define yellow_ColorEscape "\r:"
38#define magenta_ColorEscape "\r;" 39#define red_ColorEscape "\r;"
39#define blue_ColorEscape "\r<" 40#define magenta_ColorEscape "\r<"
40#define green_ColorEscape "\r=" 41#define blue_ColorEscape "\r="
42#define green_ColorEscape "\r>"
41 43
42iDeclareType(Color) 44iDeclareType(Color)
43 45