fix(style): prevent inheriting italic from Chroma in dark mode

See https://discord.com/channels/722225264733716590/1414174968052187328/1414174968052187328
This commit is contained in:
George Cushen committed 2025-09-07 18:49:33 +01:00
1 parent 34e5c4d87b
commit 9fa165c6c3
1 file changed
+8
@@ -16,3 +16,11 @@
color: white;
background-color: rgb(71 85 105); /* slate-700 equivalent */
}
/* Fix LaTeX/TeX math rendering in code blocks - prevent inheriting italic from Chroma in dark mode */
.chroma .language-latex,
.chroma .language-latex *,
.chroma .language-tex,
.chroma .language-tex * {
font-style: normal !important;
}