Commit 9cce45e0 by HoMeTown

feat: 添加字体

parent 1b59b918
......@@ -4,6 +4,16 @@
// 其他全局 CSS 变量...
}
@font-face {
font-family: 'alim';
src: url('../assets/fonts/Alibaba-PuHuiTi-Medium.ttf');
}
@font-face {
font-family: 'alir';
src: url('../assets/fonts/Alibaba-PuHuiTi-Regular.ttf');
}
// 其他全局样式...
html {
height: 100%;
......@@ -12,7 +22,7 @@ html {
body {
height: 100%;
min-width: 375px;
font-family: -apple-system, blinkmacsystemfont, "Helvetica Neue", helvetica, "segoe ui", arial, roboto, "PingFang SC", miui, "Hiragino Sans GB", "Microsoft Yahei", sans-serif;
font-family: alir, -apple-system, blinkmacsystemfont, "Helvetica Neue", helvetica, "segoe ui", arial, roboto, "PingFang SC", miui, "Hiragino Sans GB", "Microsoft Yahei", sans-serif;
color: var(--sdream-text-primary);
}
#root {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment