forked from drone/command-center-dashboard

罗广辉
2025-03-29 1824a76e7132e3af4d14b538fc2e0578535f9a42
fix: scss路径调整
1 files modified
8 ■■■■ changed files
src/styles/font.scss 8 ●●●● patch | view | raw | blame | history
src/styles/font.scss
@@ -1,20 +1,20 @@
@font-face {
  font-family: "Source Han Sans CN";
  src: url("@/assets/fonts/SourceHanSansCN-Regular.otf") format("opentype");
  src: url("~@/assets/fonts/SourceHanSansCN-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Source Han Sans CN";
  src: url("@/assets/fonts/SourceHanSansCN-Medium.otf") format("opentype");
  src: url("~@/assets/fonts/SourceHanSansCN-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: "Source Han Sans CN";
  src: url("@/assets/fonts/SourceHanSansCN-Bold.otf") format("opentype");
  src: url("~@/assets/fonts/SourceHanSansCN-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
}
@@ -22,7 +22,7 @@
/* 额外的标题字体 */
@font-face {
  font-family: "YouSheBiaoTiHei";
  src: url("@/assets/fonts/YouSheBiaoTiHei.ttf") format("truetype");
  src: url("~@/assets/fonts/YouSheBiaoTiHei.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}