-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Button] Bump icon fill specificity (#11429)
### WHY are these changes introduced? |vite|webpack| |-|-| |<img width="840" alt="Screenshot 2024-01-09 at 4 37 01 PM" src="https://github.com/Shopify/web/assets/20652326/cb4b71a2-f730-4d30-9562-7e07caf8ca9b">|<img width="842" alt="Screenshot 2024-01-09 at 4 37 16 PM" src="https://github.com/Shopify/web/assets/20652326/3943bc4b-8060-41de-8adb-323af4443c15">| The `Button` icon fill specificity was the same as `Icon`'s fill specificity `(0, 1, 1)` which were causing inconsistent results locally vs. production. This PR bumps `Button`'s icon fill to `(0, 2, 1)` so that it is always greater than `Icon`'s fill ### How to 🎩 - Make sure storybook's icon buttons still look the same (no UI regressions) - check on staging
- Loading branch information
1 parent
1908a3a
commit b1ecec1
Showing
2 changed files
with
52 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@shopify/polaris': patch | ||
--- | ||
|
||
Bumped `Button` icon fill specificity to always be greater than `Icon` fill |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters