style: color override for code spans in callouts

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
David Karlsson 2023-12-28 20:20:56 +01:00
parent ce6563475b
commit 0a007cf09d
1 changed files with 8 additions and 0 deletions

View File

@ -9,6 +9,14 @@
}
}
:not(pre) > code {
/* !important because of specificity issue with blockquote typography */
color: theme(colors.black) !important;
.dark blockquote & {
color: theme(colors.white) !important;
}
}
.highlight {
@apply p-3 my-4 overflow-x-auto;
background: theme("colors.white");