🐛 Fix: codeblock highlight in .prose-invert

This commit is contained in:
ZhenShuo Leo
2025-05-06 20:03:13 +08:00
parent c941b70c60
commit adc828128d
2 changed files with 7 additions and 0 deletions

View File

@@ -3635,6 +3635,9 @@ a {
color: rgba(var(--color-neutral-200), 1);
}
}
.prose-invert .highlight pre > code {
background-color: unset;
}
.chroma .lntd, .chroma .lntd pre {
margin: calc(var(--spacing) * 0);
--tw-border-style: none;

View File

@@ -132,6 +132,10 @@ a {
@apply static rounded-md text-neutral-700 bg-neutral-50 dark:bg-neutral-700 dark:text-neutral-200;
}
.prose-invert .highlight pre > code {
background-color: unset;
}
/* LineTableTD */
.chroma .lntd,
.chroma .lntd pre {