Skip to content

Commit 861b9c4

Browse files
[Icon] update sizes to use Polaris' tokens
1 parent 26a9f07 commit 861b9c4

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.changeset/tame-carrots-exist.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@shopify/polaris': patch
3+
---
4+
5+
fix: update Icon's sizes to Polaris' tokens

polaris-react/src/components/Icon/Icon.module.css

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
.Icon {
22
display: block;
3-
height: 20px;
4-
width: 20px;
5-
3+
height: var(--p-height-500);
4+
width: var(--p-width-500);
65
max-height: 100%;
76
max-width: 100%;
87
margin: auto;

0 commit comments

Comments
 (0)