Skip to content

Commit

Permalink
Do not set colour for code with syntax highlighting.
Browse files Browse the repository at this point in the history
  • Loading branch information
frjo committed May 7, 2023
1 parent 0459743 commit 79ad438
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
1 change: 0 additions & 1 deletion assets/sass/_reset.scss
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ label {
code,
kbd,
samp {
color: var(--color-code);
font-family: var(--ff-monospace);
}

Expand Down
9 changes: 9 additions & 0 deletions assets/sass/base/grouping/_grouping.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

0 comments on commit 79ad438

Please sign in to comment.