From 34334eabed151cf5fa881d6b34f75107a2d3871e Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Tue, 06 Feb 2024 04:36:31 +0000
Subject: [PATCH] perf: don't load mermaid if its not on the page

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

diff --git a/quartz/styles/base.scss b/quartz/styles/base.scss
index 0fa7a55..33d6267 100644
--- a/quartz/styles/base.scss
+++ b/quartz/styles/base.scss
@@ -26,7 +26,7 @@
 }
 
 ::selection {
-  background: color-mix(in srgb, var(--tertiary) 60%, transparent);
+  background: color-mix(in srgb, var(--tertiary) 60%, rgba(255, 255, 255, 0));
   color: var(--darkgray);
 }
 
@@ -54,7 +54,7 @@
 }
 
 a {
-  font-weight: 600;
+  font-weight: $boldWeight;
   text-decoration: none;
   transition: color 0.2s ease;
   color: var(--secondary);

--
Gitblit v1.10.0