Do not set colour for code with syntax highlighting.
This commit is contained in:
parent
0459743880
commit
79ad438b19
2 changed files with 9 additions and 1 deletions
|
|
@ -80,7 +80,6 @@ label {
|
|||
code,
|
||||
kbd,
|
||||
samp {
|
||||
color: var(--color-code);
|
||||
font-family: var(--ff-monospace);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue