mirror of
https://codeberg.org/Freedium-cfd/web.git
synced 2026-03-11 09:04:37 +00:00
style(app.css): adjust color handling for dark mode pre tags
This commit is contained in:
parent
6a1b2a75dc
commit
53cc7a1555
1 changed files with 3 additions and 3 deletions
|
|
@ -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%);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue