From b9dee0775cda4bb29da1a5fb5b000ddcd4dc1f6e Mon Sep 17 00:00:00 2001
From: kon-foo <25391223+kon-foo@users.noreply.github.com>
Date: Mon, 26 Feb 2024 21:55:47 +0000
Subject: [PATCH] docs: Clarifications in the Explorer Docs (#938)
---
quartz/util/theme.ts | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/quartz/util/theme.ts b/quartz/util/theme.ts
index 47951c4..49cc9cc 100644
--- a/quartz/util/theme.ts
+++ b/quartz/util/theme.ts
@@ -9,18 +9,23 @@
highlight: string
}
+interface Colors {
+ lightMode: ColorScheme
+ darkMode: ColorScheme
+}
+
export interface Theme {
typography: {
header: string
body: string
code: string
}
- colors: {
- lightMode: ColorScheme
- darkMode: ColorScheme
- }
+ cdnCaching: boolean
+ colors: Colors
}
+export type ThemeKey = keyof Colors
+
const DEFAULT_SANS_SERIF =
'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif'
const DEFAULT_MONO = "ui-monospace, SFMono-Regular, SF Mono, Menlo, monospace"
--
Gitblit v1.10.0