style: improve code contrast

This commit is contained in:
ZhenShuo Leo
2025-11-23 22:57:27 +08:00
parent 112b22c0d9
commit f29e515147
3 changed files with 18 additions and 12 deletions

View File

@@ -1,8 +1,12 @@
/* -- Chroma Highlight -- */
/* Background */
.prose .chroma {
@apply static rounded-md text-neutral-700 bg-neutral-50 dark:bg-neutral-700 dark:text-neutral-200;
@apply static rounded-md text-neutral-700 bg-zinc-50 dark:bg-zinc-900 dark:text-neutral-200;
}
.prose .highlight:not(:has(table)) .chroma,
.prose .highlight > .chroma {
@apply shadow;
}
/* LineTableTD */