-
Notifications
You must be signed in to change notification settings - Fork 29
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
Scrollable small container: support for special palettes #12580
Conversation
Hello 👋! When you're ready to run Chromatic, please apply the You will need to reapply the label each time you want to run Chromatic. |
Size Change: +51 B (+0.01%) Total Size: 905 kB ℹ️ View Unchanged
|
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.
LGTM 👍
Seen on PROD (merged by @jamesmockett 9 minutes and 57 seconds ago) Please check your changes! |
What does this change?
Passes container palette through to scrollable small container and adds palette overrides for navigation buttons.
This will require some further refinement to update the button hover state and possibly bring the default colour scheme into line with the special palettes which would reduce the number of custom properties required. (The default colour scheme defines specific colours for the icon, border and disabled states. For special palettes these are all based on the container title colour with opacity applied.)
Why?
So the carousel is styled correctly when a special palette is used.
Screenshots
Light
Dark