Skip to content

Commit

Permalink
πŸ› fix: typograpy μŠ€νƒ€μΌ μˆ˜μ •μ‚¬ν•­ λ°˜μ˜ν•˜κΈ° #9
Browse files Browse the repository at this point in the history
  • Loading branch information
naarang committed Oct 20, 2024
1 parent af1582e commit c7dfd08
Showing 1 changed file with 33 additions and 17 deletions.
50 changes: 33 additions & 17 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,66 +14,82 @@ body {

@layer components {
/* 폰트 μ„€μ •ν•˜κΈ° */
.title-1 {
font-weight: 600;
font-size: 1.75rem;
line-height: 2.25rem;
}

.title-2 {
font-weight: 600;
font-size: 1.625rem;
line-height: 2rem;
}

.head-1 {
font-weight: 600;
font-size: 1.5rem;
line-height: 2rem;
letter-spacing: -0.0625rem;
}

.head-2 {
font-weight: 600;
font-size: 1.25rem;
line-height: 1.5rem;
letter-spacing: -0.5%;
}

.head-3 {
font-weight: 600;
font-size: 1rem;
line-height: 1.25rem;
letter-spacing: -1%;
}

.body-1 {
font-weight: 500;
font-weight: 400;
font-size: 1rem;
line-height: 1.5rem;
letter-spacing: -0.015625rem;
}

.body-2 {
font-weight: 500;
font-weight: 400;
font-size: 0.875rem;
line-height: 1.25rem;
letter-spacing: -0.015625rem;
}

.body-3 {
font-weight: 500;
font-weight: 400;
font-size: 0.75rem;
line-height: 1rem;
letter-spacing: 0rem;
}

.button {
font-weight: 700;
.button-1 {
font-weight: 600;
font-size: 1rem;
line-height: 1.25rem;
letter-spacing: -0.0125rem;
}

.chips {
font-weight: 700;
.button-2 {
font-weight: 600;
font-size: 0.75rem;
line-height: 1rem;
letter-spacing: -0.03125rem;
}

.caption {
font-weight: 500;
.caption-1 {
font-weight: 400;
font-size: 0.625rem;
line-height: 0.75rem;
}

.caption-1-sb {
font-weight: 600;
font-size: 0.625rem;
line-height: 0.75rem;
letter-spacing: 2%;
}

.caption-2 {
font-weight: 400;
font-size: 0.5rem;
line-height: 0.625rem;
}
}

0 comments on commit c7dfd08

Please sign in to comment.