Updating components to use success over secondary color option#4888
Updating components to use success over secondary color option#4888cchaos merged 27 commits intoelastic:masterfrom
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/ |
cchaos
left a comment
There was a problem hiding this comment.
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 <549577+cchaos@users.noreply.github.com>
Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
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/ |
cchaos
left a comment
There was a problem hiding this comment.
🎉 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
euiColorSuccessovereuiColorSecondary.Badge
Added
'success'coloroptionBefore
After
Expression
Added
'success'coloroption and changed'success'to defaultcoloroption.Before
After
Progress
Change default
coloroption to'success'.Before
After
Suggest Input Icon
Change default
Iconcolorto'success'for'saved'and'unchanged'states.Text Color
Add
'success'coloroption.Before
After
Tour Step Indicator
Change the indicator
Iconcoloroption to'success'.To-Do
color, but use or reference theeuiColorSecondarycolor 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