refactor(vars): rename `$font-monospace` to `$font-mono`

This commit is contained in:
郭桓桓 2023-02-28 19:52:39 +08:00
parent abca0765ca
commit 945b2facaf
Signed by: kuohuanhuan
GPG Key ID: FD846A0A797B0D75
2 changed files with 2 additions and 2 deletions

View File

@ -1,2 +1,2 @@
$font-sans: 'Open Sans', 'Inter', 'Roboto', 'Helvetica', 'Arial', 'Noto Sans TC', 'Noto Sans SC', 'Sarasa Gothic TC', 'Sarasa Gothic SC', 'Microsoft JhengHei', 'Microsoft YaHei', -apple-system, sans-serif;
$font-monospace: 'DM Mono', 'Fira Code', 'Jetbrains Mono', 'Input Mono', 'Menlo', 'MesloLGS NF', 'Ubuntu', monospace;
$font-mono: 'DM Mono', 'Fira Code', 'Jetbrains Mono', 'Input Mono', 'Menlo', 'MesloLGS NF', 'Ubuntu', monospace;

View File

@ -12,7 +12,7 @@
.highlight {
margin: .5rem 0;
font-size: 1.05rem;
font-family: var(--xm-font-monospace) !important;
font-family: var(--xm-font-mono) !important;
line-height: 1.4;
&.shiki-light {
background: var(--xm-c-shiki-light) !important;