Skip to content

Commit

Permalink
💄 使用系统字体替换捆绑字体
Browse files Browse the repository at this point in the history
  • Loading branch information
A-kirami committed Feb 26, 2024
1 parent 89c0ba9 commit 315f81d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
Binary file removed public/SourceHanSansCN-VF.otf.woff2
Binary file not shown.
10 changes: 1 addition & 9 deletions src/style.css
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@
@import "styles/contextmenu.css";

@font-face {
font-family: "SourceHanSans";
font-weight: 250 900;
src: url("/SourceHanSansCN-VF.otf.woff2");
font-display: swap;
}

html, body {
@apply p-0 m-0 bg-transparent antialiased text-base font-normal select-none;
font-family: "SourceHanSans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", "Arial", "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
@apply p-0 m-0 bg-transparent font-sans antialiased text-base select-none;
}

::selection {
Expand Down

0 comments on commit 315f81d

Please sign in to comment.