feat: 添加 HarmonyOS Sans SC 字体
This commit is contained in:
BIN
src/assets/fonts/HarmonyOS_Sans_SC_Bold.ttf
Normal file
BIN
src/assets/fonts/HarmonyOS_Sans_SC_Bold.ttf
Normal file
Binary file not shown.
BIN
src/assets/fonts/HarmonyOS_Sans_SC_LICENSE.txt
Normal file
BIN
src/assets/fonts/HarmonyOS_Sans_SC_LICENSE.txt
Normal file
Binary file not shown.
BIN
src/assets/fonts/HarmonyOS_Sans_SC_Regular.ttf
Normal file
BIN
src/assets/fonts/HarmonyOS_Sans_SC_Regular.ttf
Normal file
Binary file not shown.
11
src/assets/fonts/index.css
Normal file
11
src/assets/fonts/index.css
Normal 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");
|
||||||
|
}
|
@@ -2,6 +2,7 @@ import { createApp } from 'vue';
|
|||||||
import { router } from './router';
|
import { router } from './router';
|
||||||
|
|
||||||
import '@mdi/font/css/materialdesignicons.css';
|
import '@mdi/font/css/materialdesignicons.css';
|
||||||
|
import '@/assets/fonts/index.css';
|
||||||
|
|
||||||
import lunisolar from 'lunisolar';
|
import lunisolar from 'lunisolar';
|
||||||
import lunisolarLang1 from 'lunisolar/locale/en';
|
import lunisolarLang1 from 'lunisolar/locale/en';
|
||||||
|
Reference in New Issue
Block a user