Repository navigation
chore(ui-components): simplify color tokens - #45848
Merged
ahmaxed merged 3 commits intoMay 9, 2022
Merged
Conversation
|
👀 Review this PR in a CodeSee Review Map |
ahmaxed
force-pushed
the
chore/color-tokens-naming
branch
from
May 9, 2022 12:23
b40e908 to
dfd1d59
Compare
Member
|
@huyenltnguyen thanks for taking care of this. Would switching the background with foreground or using predefined semantic tokens for hover, etc be plausible? For instance, could we do the following: 'hover:bg-foreground-primary',
'hover:text-background-primary'instead of this: 'hover:bg-gray-900',
'hover:text-gray-0',
'dark:hover:bg-gray-0',
'dark:hover:text-gray-900' |
Member
Author
|
Sigh. I think I did that as an experiment to see if the |
4 tasks done
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.

Checklist:
Update index.md)mainbranch of freeCodeCamp.This PR:
--defaultprefix from color names to simplify them. Ref: feat(ui-components): add info variant and hover state to Button component #45541 (comment)*-hovervariables from the color list to keep our list clean. Those variables are only for the Button component, and shouldn't be added as sharable variables. Ref: feat(ui-components): add info variant and hover state to Button component #45541 (comment)The PR can be review by commits.