Skip to content

Commit e3ec28a

Browse files
authored
fix(typography): update line-height for Size16 and Size17 from Lh22 t… (#2703)
…o Lh24 <!-- How to write a good PR title: - Follow [the Conventional Commits specification](https://www.conventionalcommits.org/en/v1.0.0/). - Give as much context as necessary and as little as possible - Prefix it with [WIP] while it’s a work in progress --> ## Self Checklist - [x] I wrote a PR title in **English** and added an appropriate **label** to the PR. - [x] I wrote the commit message in **English** and to follow [**the Conventional Commits specification**](https://www.conventionalcommits.org/en/v1.0.0/). - [x] I [added the **changeset**](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md) about the changes that needed to be released. (or didn't have to) - [x] I wrote or updated **documentation** related to the changes. (or didn't have to) - [x] I wrote or updated **tests** related to the changes. (or didn't have to) - [x] I tested the changes in various browsers. (or didn't have to) - Windows: Chrome, Edge, (Optional) Firefox - macOS: Chrome, Edge, Safari, (Optional) Firefox ## Related Issue <!-- Please link to issue if one exists --> <!-- Fixes #0000 --> ## Summary - Update Size16 line-height from Lh22 to Lh24 - Update Size17 line-height from Lh22 to Lh24 - This change improves text readability and spacing consistency <!-- Please brief explanation of the changes made --> ## Details <!-- Please elaborate description of the changes --> ### Breaking change? (Yes/No) <!-- If Yes, please describe the impact and migration path for users --> ## References <!-- Please list any other resources or points the reviewer should be aware of -->
1 parent 6d3e11c commit e3ec28a

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
"@channel.io/bezier-react": patch
3+
---
4+
5+
fix(typography): update line-height for Size16 and Size17 from Lh22 to Lh24
6+
7+
- Update Size16 line-height from Lh22 to Lh24
8+
- Update Size17 line-height from Lh22 to Lh24
9+
- This change improves text readability and spacing consistency

packages/bezier-react/src/foundation/Typography.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,13 @@ const Size15 = css`
5555

5656
const Size16 = css`
5757
font-size: ${TypoAbsoluteNumber.Typo16}rem;
58-
line-height: ${LineHeightAbsoluteNumber.Lh22}rem;
58+
line-height: ${LineHeightAbsoluteNumber.Lh24}rem;
5959
letter-spacing: -0.1px;
6060
`
6161

6262
const Size17 = css`
6363
font-size: ${TypoAbsoluteNumber.Typo17}rem;
64-
line-height: ${LineHeightAbsoluteNumber.Lh22}rem;
64+
line-height: ${LineHeightAbsoluteNumber.Lh24}rem;
6565
letter-spacing: -0.1px;
6666
`
6767

0 commit comments

Comments
 (0)