mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-11 12:11:45 +00:00
fix(style): prevent inheriting italic from Chroma in dark mode
See https://discord.com/channels/722225264733716590/1414174968052187328/1414174968052187328
This commit is contained in:
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;
|
||||
}
|
||||
Reference in new issue
Block a user