feat(font): 添加字体,不过好像变卡了(

This commit is contained in:
BTMuli
2023-03-12 18:30:59 +08:00
parent 367b1f3d6b
commit 1297a932ba
3 changed files with 11 additions and 0 deletions

Binary file not shown.

View File

@@ -0,0 +1,9 @@
/* 设置全局字体 */
@font-face {
font-family: "Genshin";
src: url("./Genshin.ttf") format("truetype");
}
* {
font-family: "Genshin", sans-serif;
}

View File

@@ -7,5 +7,7 @@ import store from "./store";
import "@mdi/font/css/materialdesignicons.css";
import "vuetify/styles";
import { createVuetify } from "vuetify";
// 全局样式
import "./assets/fonts/index.css";
createApp(App).use(router).use(store).use(createVuetify()).mount("#app");