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

[v4] Add font-stretch utilities #13153

Merged
merged 3 commits into from
Mar 8, 2024
Merged

[v4] Add font-stretch utilities #13153

merged 3 commits into from
Mar 8, 2024

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
@KrisBraun KrisBraun merged commit 7132875 into next Mar 8, 2024
1 check passed
@KrisBraun KrisBraun deleted the feat/font-stretch branch March 8, 2024 17:10
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