From ab0e20b4d0ad1e650126ffd0afa7d0ed6bd46da2 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Sun, 11 Feb 2024 18:57:24 +0000
Subject: [PATCH] chore: refactor out and export endsWith
---
quartz/util/theme.ts | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/quartz/util/theme.ts b/quartz/util/theme.ts
index 8d7b727..bd0da5f 100644
--- a/quartz/util/theme.ts
+++ b/quartz/util/theme.ts
@@ -15,6 +15,7 @@
body: string
code: string
}
+ cdnCaching: boolean
colors: {
lightMode: ColorScheme
darkMode: ColorScheme
@@ -44,9 +45,9 @@
--tertiary: ${theme.colors.lightMode.tertiary};
--highlight: ${theme.colors.lightMode.highlight};
- --headerFont: ${theme.typography.header}, ${DEFAULT_SANS_SERIF};
- --bodyFont: ${theme.typography.body}, ${DEFAULT_SANS_SERIF};
- --codeFont: ${theme.typography.code}, ${DEFAULT_MONO};
+ --headerFont: "${theme.typography.header}", ${DEFAULT_SANS_SERIF};
+ --bodyFont: "${theme.typography.body}", ${DEFAULT_SANS_SERIF};
+ --codeFont: "${theme.typography.code}", ${DEFAULT_MONO};
}
:root[saved-theme="dark"] {
--
Gitblit v1.10.0