-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
[system] Support CSS grey
color in sx
#34548
Conversation
🤔 I am opposed to displaying warnings. It should work first with native For me, showing warnings might not be a good experience since using |
@siriwatknp Adjusted to just use |
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.
The changes look good to me. Could you add a test to verify?
"grey"
is used for color prop in sx
grey
color in sx
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 your contribution! cc @mnajdova for another review because my suggestion changes the initial solution.
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.
Looks better than what I proposed in the issue. Good job!
grey
color in sx
grey
color in sx
This introduces an unpleasant performance cost, all colors that go through |
Issues
grey
is no more recognized as color with the sx prop #31203Changes
When
"grey"
is used as the value for a color prop insx
, a warning will now be printed to the console explaining the issue and a number of potential remedies.Resolves #31203