Do not set colour for code with syntax highlighting.

This commit is contained in:
Fredrik Jonsson 2023-05-07 15:44:11 +02:00
commit 79ad438b19
2 changed files with 9 additions and 1 deletions

View file

@ -80,7 +80,6 @@ label {
code,
kbd,
samp {
color: var(--color-code);
font-family: var(--ff-monospace);
}

View file

@ -89,3 +89,12 @@ pre {
@include margin-block(.75);
font-family: var(--ff-monospace);
}
// Code
// Do not set colour for code with syntax highlighting.
code:not([data-lang]),
kbd,
samp {
color: var(--color-code);
}