From 53cc7a1555fdad32650efab23c894691f19549c8 Mon Sep 17 00:00:00 2001 From: ZhymabekRoman Date: Thu, 21 Nov 2024 20:53:33 +0500 Subject: [PATCH] style(app.css): adjust color handling for dark mode pre tags --- new-web/src/app.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/new-web/src/app.css b/new-web/src/app.css index f781dbb..41b165a 100644 --- a/new-web/src/app.css +++ b/new-web/src/app.css @@ -110,14 +110,14 @@ html { html.dark pre.shiki, html.dark pre.shiki span { - color: var(--shiki-dark) !important; + /* color: var(--shiki-dark) !important; */ } pre.shiki .line { counter-increment: line-number; } - pre.shiki .line:not(:last-of-type)::before { + pre.shiki .line::before { content: counter(line-number); color: hsl(240 5.3% 26.1%); display: inline-block; @@ -126,7 +126,7 @@ html { width: 2ch; } - html.dark pre.shiki .line:not(:last-of-type)::before { + html.dark pre.shiki .line::before { color: hsl(240 5% 64.9%); }