feat: add fonts for Traditional Chinese (#2)
* feat: update code style * feat: add fonts for Traditional Chinese
This commit is contained in:
parent
fd5e303b2c
commit
a187986823
13 changed files with 224 additions and 76 deletions
|
@ -2,56 +2,6 @@
|
|||
* Author: Sivan [sun.sivan@gmail.com]
|
||||
* Description: define font-face.
|
||||
*/
|
||||
@import "variables";
|
||||
|
||||
// 黑体
|
||||
@font-face {
|
||||
font-family: "Heti-Hei";
|
||||
src: local("PingFang SC Light"), local("Heiti SC Light"), local("STXihei");
|
||||
font-weight: 200;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Heti-Hei";
|
||||
src: local("Pingfang SC Regular"), local("Heiti SC Medium"), local(STHeiti);
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Heti-Hei";
|
||||
src: local("PingFang SC Medium"), local("Heiti SC Light");
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Heti-Hei";
|
||||
src: local("Pingfang SC Semibold"), local("Heiti SC Light");
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
// 宋体
|
||||
|
||||
// 楷体
|
||||
@font-face {
|
||||
font-family: "Heti-Kai";
|
||||
src: local("Kaiti SC Regular"), local("Heiti SC Light");
|
||||
font-weight: 200;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Heti-Kai";
|
||||
src: local("Kaiti SC Regular"), local(STKaiti);
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Heti-Kai";
|
||||
src: local("Kaiti SC Bold"), local(STKaiti);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Heti-Kai";
|
||||
src: local("Kaiti SC Black"), local(STKaiti);
|
||||
font-weight: 800;
|
||||
}
|
||||
@import "fonts/hei";
|
||||
@import "fonts/song";
|
||||
@import "fonts/kai";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue