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

fix: Use color values currently listed in ant-design docs for gray colors #82

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

tonywu6
Copy link
Contributor

@tonywu6 tonywu6 commented Jan 19, 2022

What & why

Calculate the list of neutral (gray) colors using a separate function so that the colors exported in this package reflect the gray colors currently shown in ant-design's documentation (as of v4.18.4).

Previously the shades of gray from this package are:

#a6a6a6 #999999 #8c8c8c #808080 #737373 #666666 #404040 #1a1a1a #000000 #000000

which don't match what's provided in the docs, and are also too dark (notice how the last two are black).

With this change, the package instead exports, for grey:

#ffffff #fafafa #f5f5f5 #f0f0f0 #d9d9d9 #bfbfbf #8c8c8c #595959 #434343 #262626 #1f1f1f #141414 #000000

which makes it possible to use this package for neutral colors while following ant design guidelines.

@donghoon-song
Copy link

any updates? I want to this pr to be merged.

@destimon
Copy link

Guys we need this in our project, please give feedback at least 🙏

@afc163
Copy link
Member

afc163 commented Jul 2, 2024

@tonywu6 Conflicting, could you resolve it? Then I will merge it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants