-
Notifications
You must be signed in to change notification settings - Fork 79
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
grey doesn't match the documentation #39
Comments
Note that the spec now has an expanded grey palette with 13 values:
https://ant.design/docs/spec/colors#Neutral-Color-Palette This was discussed in the 4.0 announcement here: https://zhuanlan.zhihu.com/p/112470365 There's a lot of talk about how the dark colors have to be considered differently (versus simply flipping the order of the light colors), but it's only shown applied to the primary colors, so it's not clear what the |
Is there any workaround on this issue? The greys colors are completely off. |
Also having the issue |
Same, any updates ? |
I, too, would like this to have a neater solution. |
Seems like should be fixed in scope of #82. But for some reason it's ignored |
I wanted to use the Layout Background and found this solution: const t = useTranslations();
const { useToken } = theme;
<div
style={{
background: token.colorBgLayout,
}} /> |
When I try to use
grey
from this library, it outputs:However, the spec / documentation (https://ant.design/docs/spec/colors) indicates that grey should be:
This issue is easy enough to workaround, but I thought a fix might help out a lot of folks. Thanks!
The text was updated successfully, but these errors were encountered: