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

Split font properties into their own utility module #390

Merged
merged 4 commits into from
Sep 10, 2020

Conversation

sebnitu
Copy link
Owner

@sebnitu sebnitu commented Sep 9, 2020

Problem

The text utility is not consistent with the naming and properties they apply.

Solution

Splits the text utilities so that all properties that change a font property use the new font-[property]-[value] naming convention. This refactor also adds a few new font utilities:

  • font-family-[key] - new
  • font-leading-[key] - new
  • font-kerning-[key] - new
  • font-weight-[key] - adds more variants

Fixes #376

@sebnitu sebnitu marked this pull request as ready for review September 10, 2020 05:18
@sebnitu sebnitu merged commit 8e90338 into master Sep 10, 2020
@sebnitu sebnitu deleted the text-font-utilities branch September 10, 2020 05:22
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.

Split text utilities that are specific to fonts into font utility
1 participant