Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Icon] Add "Magic" colour to the Icon component (#8546)
### WHY are these changes introduced? Fixes [#629](Shopify/storefront-setup#629) The Icon component doesn't have the "Magic" colour yet, whereas the tokens are already available for use. We should add "magic" to the colour prop and the CSS. ### WHAT is this pull request doing? <img src="https://shopify.click/03-54-46fx7-wqvbe.png" width="300" /> - Added `magic` entry to the Icon color prop type. - Added corresponding CSS rule. - Added Storybook variant. ### 🎩 checklist - [ ] Tested on [mobile](https://github.com/Shopify/polaris/blob/main/documentation/Tophatting.md#cross-browser-testing) N/A - [x] Tested on [multiple browsers](https://help.shopify.com/en/manual/shopify-admin/supported-browsers) - [ ] Tested for [accessibility](https://github.com/Shopify/polaris/blob/main/documentation/Accessibility%20testing.md) N/A - [ ] Updated the component's `README.md` with documentation changes N/A - [ ] [Tophatted documentation](https://github.com/Shopify/polaris/blob/main/documentation/Tophatting%20documentation.md) changes in the style guide N/A
- Loading branch information