/* Source Han Sans CN 字体定义
 * 思源黑体 CN,7 个字重,均存放于 public/fonts 目录
 * 通过 BASE_URL 引用,构建后会自动复制到 dist/fonts 下
 */

@font-face {
  font-family: "Source Han Sans CN";
  font-weight: 200;
  src: url("./SourceHanSansCN-ExtraLight.otf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "Source Han Sans CN";
  font-weight: 300;
  src: url("./SourceHanSansCN-Light.otf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "Source Han Sans CN";
  font-weight: 350;
  src: url("./SourceHanSansCN-Normal.otf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "Source Han Sans CN";
  font-weight: 400;
  src: url("./SourceHanSansCN-Regular.otf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "Source Han Sans CN";
  font-weight: 500;
  src: url("./SourceHanSansCN-Medium.otf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "Source Han Sans CN";
  font-weight: 600;
  src: url("./SourceHanSansCN-Bold.otf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "Source Han Sans CN";
  font-weight: 700;
  src: url("./SourceHanSansCN-Heavy.otf") format("opentype");
  font-display: swap;
}

/* Manrope 字体定义
 * 7 个字重,均存放于 public/fonts 目录
 * 通过 BASE_URL 引用,构建后会自动复制到 dist/fonts 下
 */

@font-face {
  font-family: "Manrope";
  font-weight: 200;
  src: url("./Manrope-ExtraLight.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  font-weight: 300;
  src: url("./Manrope-Light.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  font-weight: 400;
  src: url("./Manrope-Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  font-weight: 500;
  src: url("./Manrope-Medium.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  font-weight: 600;
  src: url("./Manrope-SemiBold.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  font-weight: 700;
  src: url("./Manrope-Bold.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  font-weight: 800;
  src: url("./Manrope-ExtraBold.ttf") format("truetype");
  font-display: swap;
}
