feat: 添加 HarmonyOS Sans SC 字体

This commit is contained in:
2024-08-31 14:05:10 +08:00
parent 2aefb3d75b
commit 0518905615
5 changed files with 12 additions and 0 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,11 @@
@font-face {
font-family: "HarmonyOS Sans SC";
font-weight: normal;
src: url("./HarmonyOS_Sans_SC_Regular.ttf");
}
@font-face {
font-family: "HarmonyOS Sans SC";
font-weight: bold;
src: url("./HarmonyOS_Sans_SC_Bold.ttf");
}

View File

@@ -2,6 +2,7 @@ import { createApp } from 'vue';
import { router } from './router';
import '@mdi/font/css/materialdesignicons.css';
import '@/assets/fonts/index.css';
import lunisolar from 'lunisolar';
import lunisolarLang1 from 'lunisolar/locale/en';