Skip to content

[v4] Add font-stretch utilities#13153

Merged
KrisBraun merged 3 commits intonextfrom
feat/font-stretch
Mar 8, 2024
Merged

[v4] Add font-stretch utilities#13153
KrisBraun merged 3 commits intonextfrom
feat/font-stretch

Conversation

@KrisBraun
Copy link
Contributor

@KrisBraun KrisBraun commented Mar 8, 2024

Based on #12171 by @Gregory-Gerard.

Add font-stretch utilities. Naming with font-stretch rather than stretch since the latter isn't clearly associated with fonts. Named values (e.g. font-stretch-ulta-expanded) and percentages (e.g. font-stretch-50) are supported.

Update: #13158 adds a percent sign to the utilities (e.g. font-stretch-50% rather than font-stretch-50).

Based on #12171.

Add [`font-stretch`](https://developer.mozilla.org/en-US/docs/Web/CSS/font-stretch) utilities. Naming with `font-stretch` rather than `stretch` since the latter isn't clearly associated with fonts. Named values (e.g. `font-stretch-ulta-expanded`) and percentages (e.g. `font-stretch-50`) are supported.

---
Co-authored-by: Gregory Gerard <contact@gregory-gerard.dev>
@KrisBraun KrisBraun added the v4 label Mar 8, 2024
@KrisBraun KrisBraun requested a review from adamwathan March 8, 2024 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant