summaryrefslogtreecommitdiff
path: root/src/gmdocument.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-03-09 08:25:47 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-03-09 08:25:47 +0200
commitd17dba488c5e1218ddff2d7a7d138a28ce25f1e2 (patch)
tree90e2359d74e15f8336d82b61f2e38ee712a7fb91 /src/gmdocument.h
parent5a1b9c16d4c45b9ae40c107bd2592415b48ded58 (diff)
GmDocument: Light mode Gray document theme
The Gray theme now has a light and dark variant.
Diffstat (limited to 'src/gmdocument.h')
-rw-r--r--src/gmdocument.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gmdocument.h b/src/gmdocument.h
index 92f62ba4..1909460f 100644
--- a/src/gmdocument.h
+++ b/src/gmdocument.h
@@ -44,10 +44,7 @@ enum iGmDocumentTheme {
44 highContrast_GmDocumentTheme, 44 highContrast_GmDocumentTheme,
45}; 45};
46 46
47iLocalDef iBool isDark_GmDocumentTheme(enum iGmDocumentTheme d) { 47iBool isDark_GmDocumentTheme(enum iGmDocumentTheme);
48 return d == colorfulDark_GmDocumentTheme || d == black_GmDocumentTheme ||
49 d == gray_GmDocumentTheme;
50}
51 48
52typedef uint16_t iGmLinkId; 49typedef uint16_t iGmLinkId;
53 50