Skip to content

Commit

Permalink
fix(theme/regression): custom font not applying in Chinese docs becau…
Browse files Browse the repository at this point in the history
…se of specificity

closes #3864
  • Loading branch information
brc-dd committed May 4, 2024
1 parent 0cbb469 commit fa2f38a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/theme-default/styles/vars.css
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@
font-optical-sizing: auto;
}

:root:lang(zh) {
:root:where(:lang(zh)) {
--vp-font-family-base: 'Punctuation SC', 'Inter', ui-sans-serif, system-ui,
'PingFang SC', 'Noto Sans CJK SC', 'Noto Sans SC', 'Heiti SC', 'DengXian',
'Microsoft YaHei', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
Expand Down

0 comments on commit fa2f38a

Please sign in to comment.