From e9fb0ecb96a2de53cf5f060c4e151f539ca4b089 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Fri, 02 Feb 2024 05:19:51 +0000
Subject: [PATCH] fix: border radius on search preview
---
quartz/plugins/transformers/syntax.ts | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/quartz/plugins/transformers/syntax.ts b/quartz/plugins/transformers/syntax.ts
index 1766817..e847729 100644
--- a/quartz/plugins/transformers/syntax.ts
+++ b/quartz/plugins/transformers/syntax.ts
@@ -8,7 +8,11 @@
[
rehypePrettyCode,
{
- theme: "css-variables",
+ keepBackground: false,
+ theme: {
+ dark: "github-dark",
+ light: "github-light",
+ },
} satisfies Partial<CodeOptions>,
],
]
--
Gitblit v1.10.0