fix(font): rename font constants
This commit is contained in:
parent
58d893bc24
commit
a307ac8851
|
@ -1,7 +1,7 @@
|
|||
code {
|
||||
font-size: .85rem;
|
||||
font-weight: 600;
|
||||
font-family: var(--xm-font-mono);
|
||||
font-family: var(--xm-font-code);
|
||||
color: var(--xm-c-dark);
|
||||
&::before,
|
||||
&::after {
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
$font-sans: 'Open Sans', 'Inter', 'Roboto', 'Helvetica', 'Arial', 'Sarasa Gothic TC', 'Sarasa Gothic SC', 'Noto Sans TC', 'Noto Sans SC', 'Microsoft JhengHei', 'Microsoft YaHei', -apple-system, sans-serif;
|
||||
$font-mono: 'DM Mono', 'Fira Code', 'Jetbrains Mono', 'Input Mono', 'Menlo', 'MesloLGS NF', 'Ubuntu', monospace;
|
||||
$font-regular: 'Open Sans', 'Inter', 'Roboto', 'Helvetica', 'Arial', 'Sarasa Gothic TC', 'Sarasa Gothic SC', 'Noto Sans TC', 'Noto Sans SC', 'Microsoft JhengHei', 'Microsoft YaHei', -apple-system, sans-serif;
|
||||
$font-code: 'DM Mono', 'Fira Code', 'Jetbrains Mono', 'Input Mono', 'Menlo', 'MesloLGS NF', 'Ubuntu', monospace;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
.markdown-body {
|
||||
font-family: var(--xm-font-sans) !important;
|
||||
font-family: var(--xm-font-regular) !important;
|
||||
color: var(--xm-c-general);
|
||||
pre {
|
||||
&:not(.shiki, .highlight) {
|
||||
|
@ -12,7 +12,7 @@
|
|||
.highlight {
|
||||
margin: .5rem 0;
|
||||
font-size: 1.05rem;
|
||||
font-family: var(--xm-font-mono) !important;
|
||||
font-family: var(--xm-font-code) !important;
|
||||
line-height: 1.4;
|
||||
&.shiki-light {
|
||||
background: var(--xm-c-shiki-light) !important;
|
||||
|
|
Loading…
Reference in New Issue