-
Notifications
You must be signed in to change notification settings - Fork 76
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
feat(stepper-item): update component's active state background color #10487
feat(stepper-item): update component's active state background color #10487
Conversation
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 changes, LGTM! @SkyeSeitz can you help review the visual diff? 👀
Changes look great. Chromatic approved ✅ |
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.
Can you add this as a token?
@@ -73,6 +73,10 @@ | |||
// .stepper-item-header / content | |||
:host .stepper-item-header { | |||
@apply flex cursor-pointer items-start; | |||
|
|||
&:active { | |||
@apply bg-foreground-3; |
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.
We haven't done stepper item yet but since you're here, I think this should be background-color: var(--calcite-stepper-item-header-background-color-active, var(--calcite-color-foreground-3);
Then add the jsdocs
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.
@alisonailea Kitty and me discussed this, the tokens work is out of scope for this PR. We'll merge this as is and take care of the token in its own issue.
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 summarizing @aPreciado88. @alisonailea Can you make a note in the #7180 epic so we can consider the token when working with the stepper-item
component tokens? cc @brittneytewks
This change is out of scope for this PR.
Related Issue: #10000
Summary
Add
bg-foreground-3
to the component'sactive
state.