49 lines
1.1 KiB
SCSS
49 lines
1.1 KiB
SCSS
/* 鸿蒙字体定义 */
|
|
@font-face {
|
|
font-family: 'HarmonyOS Sans';
|
|
src: url('../fonts/HarmonyOS_Sans_Black.ttf') format('truetype');
|
|
font-weight: 900;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'HarmonyOS Sans';
|
|
src: url('../fonts/HarmonyOS_Sans_Bold.ttf') format('truetype');
|
|
font-weight: bold;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'HarmonyOS Sans';
|
|
src: url('../fonts/HarmonyOS_Sans_Light.ttf') format('truetype');
|
|
font-weight: 300;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'HarmonyOS Sans';
|
|
src: url('../fonts/HarmonyOS_Sans_Medium.ttf') format('truetype');
|
|
font-weight: 500;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'HarmonyOS Sans';
|
|
src: url('../fonts/HarmonyOS_Sans_Thin.ttf') format('truetype');
|
|
font-weight: 100;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'HarmonyOS Sans';
|
|
src: url('../fonts/HarmonyOS_Sans_Regular.ttf') format('truetype');
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|