From 83d85aba0773d5e13927dc43991ea70d6cf4e357 Mon Sep 17 00:00:00 2001 From: Innei Date: Thu, 18 Jan 2024 23:34:22 +0800 Subject: [PATCH] fix: mark text color Signed-off-by: Innei --- src/components/ui/markdown/markdown.module.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/ui/markdown/markdown.module.css b/src/components/ui/markdown/markdown.module.css index 2a1ae3f842..880252b051 100644 --- a/src/components/ui/markdown/markdown.module.css +++ b/src/components/ui/markdown/markdown.module.css @@ -113,12 +113,14 @@ --lightness: 0.3; --highlighted: 1; --highlight: oklch(var(--a) / var(--lightness)); - background: transparent; + background: theme(colors.accent); + color: var(--tw-prose-body); } @supports (animation-timeline: view()) { mark { --highlighted: 0; + background: transparent; animation: highlight steps(1) both; animation-timeline: view(); animation-range: entry 100% cover 10%;