From 04eeb2d10c2bb8cac595a879446c1dcbfac4d6a6 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Thu, 01 Jun 2023 23:05:14 +0000
Subject: [PATCH] syntax higlighting

---
 quartz/styles/syntax.scss |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/quartz/styles/syntax.scss b/quartz/styles/syntax.scss
index ca5aee5..c53904a 100644
--- a/quartz/styles/syntax.scss
+++ b/quartz/styles/syntax.scss
@@ -1,5 +1,5 @@
 // npx convert-sh-theme https://raw.githubusercontent.com/shikijs/shiki/main/packages/shiki/themes/github-light.json
-body {
+:root {
   --shiki-color-text: #24292e;
   --shiki-color-background: #f8f8f8;
   --shiki-token-constant: #005cc5;
@@ -14,7 +14,7 @@
 }
 
 // npx convert-sh-theme https://raw.githubusercontent.com/shikijs/shiki/main/packages/shiki/themes/github-dark.json
-:root[saved-theme="dark"] body {
+:root[saved-theme="dark"] {
   --shiki-color-text: #e1e4e8 !important;
   --shiki-color-background: #24292e !important;
   --shiki-token-constant: #79b8ff !important;

--
Gitblit v1.10.0