feat!: Replace renamed colours for Avatar, Badge and Spotlight #1758
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Describe the pull request
Thank you for contributing to the project!
Please use this template to help us handle your PR smoothly.
What
This updates some changed colour names as options for the
color
prop of Avatar, Badge and Spotlight.Why
To reflect the changes in underlying colour names.
How
Find, replace, sort, test.
I’ve committed the renames separately from the sorting – reviewing the renaming commits separately may be more insightful than checking the full diff.
Additional notes
neutral-xx
names may not be the best API. Should we find colour names that match the others here? This could be done in this PR, as it is just a different rename.