Skip to content

Commit

Permalink
fix(plugin-shiki): correctly fallback code font color, close #248
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed Sep 20, 2024
1 parent ea29e2d commit 65f048a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/markdown/plugin-shiki/src/client/styles/shiki.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
}

.shiki span {
color: var(--shiki-light, inherit);
color: var(--shiki-light, var(--code-c-text));

[data-theme='dark'] & {
color: var(--shiki-dark, inherit);
color: var(--shiki-dark, var(--code-c-text));
}
}

Expand Down

0 comments on commit 65f048a

Please sign in to comment.