From 0a57d032a76dc4d924f9e4927237830a42d2511c Mon Sep 17 00:00:00 2001
From: Lumen Yang <45258158+LumenYoung@users.noreply.github.com>
Date: Thu, 21 Aug 2025 16:37:59 +0000
Subject: [PATCH] feat(typst): invert the math equation for typst rendered equation in darkmode (#2095)
---
quartz/styles/base.scss | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/quartz/styles/base.scss b/quartz/styles/base.scss
index b7037fa..8bd1123 100644
--- a/quartz/styles/base.scss
+++ b/quartz/styles/base.scss
@@ -39,7 +39,9 @@
ol,
ul,
.katex,
-.math {
+.math,
+.typst-doc,
+.typst-doc * {
color: var(--darkgray);
fill: var(--darkgray);
hyphens: auto;
@@ -53,7 +55,9 @@
ol,
ul,
.katex,
-.math {
+.math,
+.typst-doc,
+.typst-doc * {
overflow-wrap: anywhere;
/* tr and td removed from list of selectors for overflow-wrap, allowing them to use default 'normal' property value */
}
--
Gitblit v1.10.0