-
Notifications
You must be signed in to change notification settings - Fork 198
USWDS - Docs: Remove font smoothing #2066
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
Conversation
Seen in light text examples in `utilities/color/#background-color`
Example: `/templates/docs`
Example: `/documentation/settings` (The text inside the tags)
Example: `/utilities/border` (Buttons that show states)
5bc434a to
67e4c19
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is-inverse is a site style that contained font smoothing mixin.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the fix on this, @mejiaj. It is nice to see those warnings go away.
- Confirmed that
is-inversewas used only for font smoothing and can be safely removed - Confirmed that all instances of
is-inverseandadd-knockout-font-smoothinghave been removed from the code base - Confirmed that this change removes all font-smoothing warnings when running
gulp compile - Confirmed there is no need for a changelog entry here
- Confirmed no visual regressions on affected pages
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
- No references to
is-inverseclass throughout the site - No references to any
font-smoothingclasses- It's included in the migration guide from
v1tov2but I'm assuming that is still relevant to the migration
- It's included in the migration guide from
- No build errors
- No visual regression
👍
Summary
Remove font smoothing feature from site. Removes font-smoothing from guidance. Font smoothing mixins also removed to avoid deprecation warning.
Related issue
Closes #2195. Related to uswds/uswds#5180.
Preview link
Preview link:
Changelog entry. This was added in PR Add font-face update documentation #2022.Problem statement
Font smoothing was being used in site styles.
Solution
Major changes
Font smoothing removed from site styles.
Testing and review
Verify changelog entry