Skip to content

Commit 7f91452

Browse files
authored
Merge pull request #181 from DaleStudy/176-pretendard-variable-font-change
์Šคํฌํฌ ํ•œ ์‚ฐ์Šค ๋„ค์˜ค์—์„œ ํ”„๋ฆฌํ…๋‹ค๋“œ ํฐํŠธ๋กœ ๋ณ€๊ฒฝ
2 parents dbb8770 + 3200514 commit 7f91452

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

โ€Žpanda.config.tsโ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export default defineConfig({
2424
globalCss,
2525

2626
globalVars: {
27-
"--font-spoqa": "Spoqa Han Sans Neo",
27+
"--font-pretendard": "Pretendard Variable",
2828
},
2929

3030
staticCss: {

โ€Žsrc/index.cssโ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
@layer reset, base, tokens, recipes, utilities;
2-
@import url(https://spoqa.github.io/spoqa-han-sans/css/SpoqaHanSansNeo.css);
2+
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/variable/pretendardvariable.min.css");

โ€Žsrc/styles/globalCss.tsโ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { defineGlobalStyles } from "@pandacss/dev";
22

33
export const globalCss = defineGlobalStyles({
44
":root": {
5-
"--global-font-body": "var(--fonts-sans)",
5+
"--global-font-body": "var(--fonts-pretendard)",
66
backgroundColor: "var(--colors-base)",
77
},
88
h1: {

โ€Žsrc/tokens/typography.mdxโ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { fonts, fontWeights, fontSizes } from "./typography";
33

44
# Typography
55

6-
> ๋‹ฌ๋ ˆ UI๋Š” [์Šคํฌ์นด ํ•œ ์‚ฐ์Šค ๋„ค์˜ค(Spoqa Han Sans Neo)](https://spoqa.github.io/spoqa-han-sans/) ์›นํฐํŠธ๋ฅผ ์‚ฌ์šฉํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค.
6+
> ๋‹ฌ๋ ˆ UI๋Š” [ํ”„๋ฆฌํ…๋‹ค๋“œ(Pretendard Variable)](https://github.com/orioncactus/pretendard) ์›นํฐํŠธ๋ฅผ ์‚ฌ์šฉํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค.
77
88
## ๊ธ€๊ผด ํฌ๊ธฐ
99

โ€Žsrc/tokens/typography.tsโ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export const textStyles = {
8080
};
8181

8282
export const fonts = {
83-
sans: { value: '"Spoqa Han Sans Neo", "Noto Sans KR", sans-serif' },
83+
sans: { value: '"Pretendard Variable", "Noto Sans KR", sans-serif' },
8484
// TODO customize serif and mono font styles when needed
8585
};
8686

0 commit comments

Comments
ย (0)