From 78f4cdbe109308fa33cb87387952aef5a528ebbe Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Sat, 19 Aug 2023 23:40:02 +0000
Subject: [PATCH] avoid 404 on icon for spa navigations with anchors

---
 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..623ee6f 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 {
+[saved-theme="dark"] {
   --shiki-color-text: #e1e4e8 !important;
   --shiki-color-background: #24292e !important;
   --shiki-token-constant: #79b8ff !important;

--
Gitblit v1.10.0