Repository navigation
USWDS - Identifier: Set font weight fallbacks for Identifier. - #3740
Merged
Merged
Conversation
Contributor
Author
|
@thisisdano maybe we should have a notice in the guidance for each component that has special requirements like this? (For dark themes & disabled font-weights) |
thisisdano
approved these changes
Oct 9, 2020
I think it's reasonable to require normal and bold, and we should make a note of that in the docs
Contributor
|
I reverted these to "normal" and "bold" without fallbacks. We should avoid using weights outside those two in the future, unless it's critical to the visual output. I think it's reasonable to require normal and bold weights for fonts in the design system, and we should add this requirement to the documentation |
Contributor
Author
|
@jAigret-Bix we should create an issue to figure out where and what to update on USWDS-Site. |
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #3653
Description
Sets identifier thin and bold font-weights to "normal" if either are disabled.
Additional information
You have to set the following variables to false and then go see the identifier.
Before you hit Submit, make sure you’ve done whichever of these applies to you:
npm testand make sure the tests for the files you have changed have passed.