-
Notifications
You must be signed in to change notification settings - Fork 1
π fix : ν°νΈ μ€λ₯ ν΄κ²° λ° ZEN-SERIF μ μ© #21
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
Changes from all commits
300924c
408a90a
b47888a
c21303f
a2350b9
c170c0b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,11 +1,15 @@ | ||||||
| @import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css"); | ||||||
| @font-face { | ||||||
| font-family: 'ZEN Serif'; | ||||||
| src: url('/fonts/ZEN-SERIF-TTF-Regular.woff2') format('woff2'); | ||||||
| font-style: normal; | ||||||
| font-display: swap; | ||||||
| } | ||||||
|
|
||||||
| @tailwind base; | ||||||
| @tailwind components; | ||||||
| @tailwind utilities; | ||||||
|
|
||||||
| html { | ||||||
| font-size: 62.5%; | ||||||
| } | ||||||
|
|
||||||
| :root { | ||||||
| /* λ©μΈμ»¬λ¬(MAIN) β mint */ | ||||||
| --mint-50: #D9FAFB; | ||||||
|
|
@@ -54,7 +58,13 @@ html { | |||||
|
|
||||||
| /* ν°νΈ */ | ||||||
| --font-sans: 'Pretendard', system-ui, sans-serif; | ||||||
| --font-serif: 'JEN Serif', serif; | ||||||
| --font-serif: 'ZEN Serif', serif; | ||||||
| } | ||||||
|
|
||||||
|
|
||||||
| html,body { | ||||||
| font-size: 62.5%; | ||||||
| font-family: var(--font-sans); | ||||||
| } | ||||||
|
|
||||||
| /* λ€ν¬ λͺ¨λ */ | ||||||
|
|
@@ -65,3 +75,30 @@ html { | |||||
| } | ||||||
| } | ||||||
|
|
||||||
| /* @layer utilities */ | ||||||
| @layer utilities { | ||||||
| /* Pretendard */ | ||||||
| .text-display-lg { font-size:5.7rem; font-weight:300; line-height:6.4rem; letter-spacing:-0.025rem; font-family: var(--font-sans); } | ||||||
| .text-display-md { font-size:5.2rem; font-weight:300; line-height:4.5rem; font-family: var(--font-sans); } | ||||||
| .text-display-sm { font-size:3.6rem; font-weight:300; line-height:4.4rem; font-family: var(--font-sans); } | ||||||
|
|
||||||
| .text-headline-lg { font-size:3.2rem; font-weight:200; line-height:4rem; font-family: var(--font-sans); } | ||||||
| .text-headline-md { font-size:2.8rem; font-weight:200; line-height:3.2rem; font-family: var(--font-sans); } | ||||||
| .text-headline-sm { font-size:2.4rem; font-weight:200; line-height:3.2rem; font-family: var(--font-sans); } | ||||||
|
|
||||||
| .text-title-lg { font-size:2.2rem; font-weight:400; line-height:1.75rem; font-family: var(--font-sans); } | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix line-height smaller than font-size. The - .text-title-lg { font-size:2.2rem; font-weight:400; line-height:1.75rem; font-family: var(--font-sans); }
+ .text-title-lg { font-size:2.2rem; font-weight:400; line-height:2.8rem; font-family: var(--font-sans); }π€ Prompt for AI Agents |
||||||
| .text-title-md { font-size:1.6rem; font-weight:400; line-height:2.4rem; letter-spacing:0.015rem; font-family: var(--font-sans); } | ||||||
| .text-title-sm { font-size:1.4rem; font-weight:400; line-height:2rem; letter-spacing:0.01rem; font-family: var(--font-sans); } | ||||||
|
|
||||||
| .text-label-lg { font-size:1.4rem; font-weight:300; line-height:2rem; font-family: var(--font-sans); } | ||||||
| .text-label-md { font-size:1.2rem; font-weight:300; line-height:1.6rem; font-family: var(--font-sans); } | ||||||
| .text-label-sm { font-size:1.1rem; font-weight:300; line-height:1.6rem; font-family: var(--font-sans); } | ||||||
|
|
||||||
| /* JEN Serif */ | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Update comment to match current font name. The comment still says "JEN Serif" but the font has been renamed to "ZEN Serif" throughout the codebase. Please update for consistency. Apply this diff: - /* JEN Serif */
+ /* ZEN Serif */π Committable suggestion
Suggested change
π€ Prompt for AI Agents |
||||||
| .text-display-serif { font-size:3.6rem; font-weight:200; line-height:4.6rem; letter-spacing:0.6rem; font-family: var(--font-serif); } | ||||||
| .text-headline-lg-serif { font-size:3.2rem; font-weight:200; line-height:4rem; letter-spacing:0.2rem; font-family: var(--font-serif); } | ||||||
| .text-headline-md-serif { font-size:2.4rem; font-weight:200; line-height:3.2rem; letter-spacing:0.2rem; font-family: var(--font-serif); } | ||||||
| .text-headline-sm-serif { font-size:2rem; font-weight:200; line-height:2.4rem; letter-spacing:1.2rem; font-family: var(--font-serif); } | ||||||
| .text-label-serif { font-size:1.4rem; font-weight:200; line-height:2rem; letter-spacing:0.4rem; font-family: var(--font-serif); } | ||||||
| } | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix line-height smaller than font-size.
The
.text-display-mdutility has a line-height (4.5rem) that is smaller than its font-size (5.2rem). This will cause text to overlap on multiple lines.π Committable suggestion
π€ Prompt for AI Agents