From b7793bd856979d0515a75c4c7a322912bdb72602 Mon Sep 17 00:00:00 2001
From: Peter <GitHub@Stather.me>
Date: Wed, 10 Jul 2024 00:21:00 +0000
Subject: [PATCH] feat(style): Add textHighlight theme setting (#1242)
---
quartz/util/theme.ts | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/quartz/util/theme.ts b/quartz/util/theme.ts
index d3bfb9a..9046cec 100644
--- a/quartz/util/theme.ts
+++ b/quartz/util/theme.ts
@@ -7,6 +7,7 @@
secondary: string
tertiary: string
highlight: string
+ textHighlight: string
}
interface Colors {
@@ -49,6 +50,7 @@
--secondary: ${theme.colors.lightMode.secondary};
--tertiary: ${theme.colors.lightMode.tertiary};
--highlight: ${theme.colors.lightMode.highlight};
+ --textHighlight: ${theme.colors.lightMode.textHighlight};
--headerFont: "${theme.typography.header}", ${DEFAULT_SANS_SERIF};
--bodyFont: "${theme.typography.body}", ${DEFAULT_SANS_SERIF};
@@ -64,6 +66,7 @@
--secondary: ${theme.colors.darkMode.secondary};
--tertiary: ${theme.colors.darkMode.tertiary};
--highlight: ${theme.colors.darkMode.highlight};
+ --textHighlight: ${theme.colors.darkMode.textHighlight};
}
`
}
--
Gitblit v1.10.0