Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weโ€™ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(theme): ๐Ÿ’กRemove sizes.ts and fix text-styles.ts #129

Open
wants to merge 1 commit into
base: beta
Choose a base branch
from

Conversation

keemtj
Copy link
Contributor

@keemtj keemtj commented Feb 7, 2024

ํ˜„์žฌ ๋ณด์ผ๋Ÿฌํ”Œ๋ ˆ์ดํŠธ์˜ theme > foundations > sizes.ts ํŒŒ์ผ์€ ์ฐจํฌ๋ผ ์ปจํ…Œ์ด๋„ˆ์˜ maxW๊ฐ’์„ ์ •์˜ํ•˜๊ธฐ ์œ„ํ•ด ์ƒ์„ฑ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.
๊ทธ๋Ÿฐ๋ฐ theme > components > single > container.ts์—์„œ container ์ปดํฌ๋„ŒํŠธ์˜ maxW๋ฅผ ์ •์˜ํ•˜๊ณ  ์žˆ์–ด์„œ ๋ถˆํ•„์š”ํ•œ ํŒŒ์ผ์ด๋ผ๊ณ  ์ƒ๊ฐํ•ฉ๋‹ˆ๋‹ค.

๋ฌผ๋ก  sizes.ts์˜ ์—ญํ• ์ด containers์˜ maxW๋งŒ ์ •์˜ํ•˜๋Š” ๊ฒƒ์€ ์•„๋‹ˆ๊ธฐ ๋•Œ๋ฌธ์— ์œ ์ง€ํ•˜๋Š” ๊ฒƒ์„ ์ƒ๊ฐํ–ˆ์œผ๋‚˜, ํ”„๋กœ์ ํŠธ ๊ฒฝํ—˜์ƒ ๊ฑฐ์˜ ์‚ฌ์šฉํ•˜์ง€ ์•Š๋Š” ํŒŒ์ผ์ด๋ผ๊ณ  ์ƒ๊ฐ๋˜์–ด ์‚ญ์ œํ–ˆ์Šต๋‹ˆ๋‹ค.


๋ณด์ผ๋Ÿฌํ”Œ๋ ˆ์ดํŠธ๋Š” ํ˜„์žฌ pretendardํฐํŠธ๋ฅผ ๊ธฐ์ค€์œผ๋กœ ๋””์ž์ด๋„ˆ๊ฐ€ ์žก์•„๋‘” typograghy ์‹œ์Šคํ…œ์„ text-styles์— ์ ์šฉํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค. ์‹œ์Šคํ…œ ์ ์šฉ์— ํ—ท๊ฐˆ๋ฆฌ์ง€ ์•Š๋„๋ก ์—ฌ๋Ÿฌ ํฐํŠธ๊ฐ€ ์‚ฌ์šฉ๋  ๊ฒฝ์šฐ๋ฅผ ๋Œ€๋น„ํ•ด์„œ font๋ณ„๋กœ textStyles ๊ฐ์ฒด๋ฅผ ๋ถ„๋ฆฌํ–ˆ์Šต๋‹ˆ๋‹ค.

Copy link

vercel bot commented Feb 7, 2024

The latest updates on your projects. Learn more about Vercel for Git โ†—๏ธŽ

Name Status Preview Comments Updated (UTC)
next-init-2 โœ… Ready (Inspect) Visit Preview ๐Ÿ’ฌ Add feedback Mar 8, 2024 5:04am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants