From a506cedd7a28f9443c34487e2997e58e919b09b2 Mon Sep 17 00:00:00 2001
From: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date: Wed, 06 Mar 2024 05:59:37 +0000
Subject: [PATCH] chore(deps-dev): bump @types/node from 20.11.19 to 20.11.24 (#958)
---
quartz/util/theme.ts | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/quartz/util/theme.ts b/quartz/util/theme.ts
index bd0da5f..49cc9cc 100644
--- a/quartz/util/theme.ts
+++ b/quartz/util/theme.ts
@@ -9,6 +9,11 @@
highlight: string
}
+interface Colors {
+ lightMode: ColorScheme
+ darkMode: ColorScheme
+}
+
export interface Theme {
typography: {
header: string
@@ -16,12 +21,11 @@
code: string
}
cdnCaching: boolean
- colors: {
- lightMode: ColorScheme
- darkMode: ColorScheme
- }
+ 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