diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gmdocument.c | 2 | ||||
-rw-r--r-- | src/ui/color.c | 1 | ||||
-rw-r--r-- | src/ui/color.h | 22 |
3 files changed, 14 insertions, 11 deletions
diff --git a/src/gmdocument.c b/src/gmdocument.c index 1aefe133..3dd2d08f 100644 --- a/src/gmdocument.c +++ b/src/gmdocument.c | |||
@@ -254,7 +254,7 @@ static void doLayout_GmDocument_(iGmDocument *d) { | |||
254 | /* Special formatting for the first paragraph (e.g., subtitle, introduction, or lede). */ | 254 | /* Special formatting for the first paragraph (e.g., subtitle, introduction, or lede). */ |
255 | if (type == text_GmLineType && isFirstText) { | 255 | if (type == text_GmLineType && isFirstText) { |
256 | run.font = firstParagraph_FontId; | 256 | run.font = firstParagraph_FontId; |
257 | run.color = orange_ColorId; | 257 | run.color = gray88_ColorId; |
258 | isFirstText = iFalse; | 258 | isFirstText = iFalse; |
259 | } | 259 | } |
260 | else if (type != header1_GmLineType) { | 260 | else if (type != header1_GmLineType) { |
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 | ||
42 | iDeclareType(Color) | 44 | iDeclareType(Color) |
43 | 45 | ||