Skip to content

Commit e605464

Browse files
committed
优化字体样式
1 parent 8d46674 commit e605464

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

admin/src/assets/css/common.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ html,
629629
body {
630630
font-size: 14px;
631631
font-family: 'Noto Sans SC', 'PingFang SC', 'Source Han Sans SC',
632-
'Microsoft YaHei', system-ui, -apple-system, BlinkMacSystemFont, sans-serif,
632+
'Microsoft YaHei', sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
633633
'Segoe UI Emoji', 'Noto Color Emoji', emoji;
634634
width: 100%;
635635
height: 100%;

blog/assets/css/common.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ body {
629629
font-size: 16px;
630630
font-weight: 400;
631631
font-family: 'Noto Sans SC', 'PingFang SC', 'Source Han Sans SC',
632-
'Microsoft YaHei', system-ui, -apple-system, BlinkMacSystemFont, sans-serif,
632+
'Microsoft YaHei', sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
633633
'Segoe UI Emoji', 'Noto Color Emoji', emoji;
634634
color: #171717;
635635
width: 100%;

blog/tailwind.config.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,10 @@ export default <Partial<Config>>{
2020
},
2121
},
2222
},
23+
fontFamily: {
24+
sans: [],
25+
serif: [],
26+
mono: [],
27+
},
2328
},
2429
}

0 commit comments

Comments
 (0)