fix: use mode-aware colors for code block line numbers
This commit is contained in:
@@ -185,11 +185,11 @@
|
||||
counter-increment: line;
|
||||
content: counter(line);
|
||||
@apply mr-5 inline-block w-4 text-right select-none;
|
||||
color: var(--color-code-gutter);
|
||||
color: oklch(0.30 0 0);
|
||||
@apply text-[11px] font-mono;
|
||||
}
|
||||
.dark [data-rehype-pretty-code-figure] code[data-line-numbers] > [data-line]::before {
|
||||
color: var(--color-code-gutter);
|
||||
color: oklch(0.60 0 0);
|
||||
}
|
||||
|
||||
[data-rehype-pretty-code-figure] [data-line] {
|
||||
|
||||
Reference in New Issue
Block a user