-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
V5 style refinements #5562
V5 style refinements #5562
Conversation
…from body @ndelangen this messes with the grid plugin but setting body background and color is a common pattern to support. e.g., when theming a dark mode ;)
…storybook into v5-style-refinements
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.
Code looks fine and I'm merging for the sake of expediting the release. However I have some concerns about theming:
Most (all?) of the components now have a light-grey background, e.g.
https://www.chromaticqa.com/snapshot?appId=5a375b97f4b14f0020b0cda3&id=5c636b7e8b2da10024880e55
https://www.chromaticqa.com/snapshot?appId=5a375b97f4b14f0020b0cda3&id=5c636b7e8b2da10024880df1
I'm pretty sure this is a mistake but can you please verify and fix in a subsequent PR if it's indeed a problem?
@ndelangen @domyen cc @tmeasday
Not specifically related to this PR, but why are we exposing ThemeVars
to the user and then transforming them, e.g. colorPrimary
=> color.primary
? If we're using the same schema up and down the stack doesn't make it easier to write new components and debug themes?
Various style fixes for v5
Note I had to pass
--no-verify
to commit, the error was:this is not related to this branch but perhaps a problem with current
next
?