Skip to content

Commit

Permalink
feat: 폰트 사이즈 최적화
Browse files Browse the repository at this point in the history
  • Loading branch information
flareseek committed Sep 23, 2024
1 parent a2b0cbd commit 12fdb9b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Binary file not shown.
Binary file not shown.
6 changes: 4 additions & 2 deletions src/shared/styles/vars.css.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
import { createGlobalTheme, fontFace } from "@vanilla-extract/css";
import boldFont from "../../assets/fonts/subset-PyeongChangPeace-Bold.woff2";
import lightFont from "../../assets/fonts/subset-PyeongChangPeace-Light.woff2";

const pyeongChangBold = fontFace({
src: "url('https://fastly.jsdelivr.net/gh/projectnoonnu/[email protected]/PyeongChangPeace-Bold.woff2') format('woff2');",
src: `url('${boldFont}') format('woff2');`,
fontWeight: 700,
fontStyle: "nomal",
});
const pyeongChangLight = fontFace({
src: "url('https://fastly.jsdelivr.net/gh/projectnoonnu/[email protected]/PyeongChangPeace-Light.woff2') format('woff2');",
src: `url('${lightFont}') format('woff2');`,
fontWeight: 300,
fontStyle: "nomal",
});
Expand Down

0 comments on commit 12fdb9b

Please sign in to comment.