-
Notifications
You must be signed in to change notification settings - Fork 843
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
Updating components to use success over secondary color option #4888
Conversation
Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually? |
💚 CLA has been signed |
@babs20 Don't forget to mention your changes in changelog.md |
🎉 Thanks @babs20 !!! I'll get our CI (Jenkins) started for you which will run our tests and get a preview built so we can review. Jenkins, test this |
Preview documentation changes for this PR: https://eui.elastic.co/pr_4888/ |
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.
There are a couple of components (i.e. Stat and NotificationEvent) that don't use the prop color, but use or reference the euiColorSecondary color in a similar fashion to the updated components. Not sure if these should also be changed over to euiColorSuccess.
Yeah, I think no matter what the prop name is, if it's doing some sort of coloring based on those variables and doesn't have a success
option, we should add success
. You can add that to this PR or comment/create a new issue about addressing those.
All the changes look great to me. All additive, no breaking changes. Just a few small suggestions.
Co-authored-by: Caroline Horn <[email protected]>
Co-authored-by: Caroline Horn <[email protected]>
I can go ahead and add them to this PR since they are similar to the other changes. |
Preview documentation changes for this PR: https://eui.elastic.co/pr_4888/ |
Jenkins, test this |
Preview documentation changes for this PR: https://eui.elastic.co/pr_4888/ |
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 great! Thanks for your work on this one! Looks like we might just need a quick rebase from master and then I can merge when CI passes.
Jenkins, test this |
Preview documentation changes for this PR: https://eui.elastic.co/pr_4888/ |
Summary
Fixes #4882
Updating components to use
euiColorSuccess
overeuiColorSecondary
.Badge
Added
'success'
color
optionBefore
After
Expression
Added
'success'
color
option and changed'success'
to defaultcolor
option.Before
After
Progress
Change default
color
option to'success'
.Before
After
Suggest Input Icon
Change default
Icon
color
to'success'
for'saved'
and'unchanged'
states.Text Color
Add
'success'
color
option.Before
After
Tour Step Indicator
Change the indicator
Icon
color
option to'success'
.To-Do
color
, but use or reference theeuiColorSecondary
color in a similar fashion to the updated components. Not sure if these should also be changed over toeuiColorSuccess
.- Need to do a final check over all the changes, and add before and after photos.Checklist