Skip to content

Commit 1226d3a

Browse files
[Icon] update sizes to use Polaris' tokens
1 parent 90a3cb1 commit 1226d3a

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.scss

+2-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22

33
.Icon {
44
display: block;
5-
height: 20px;
6-
width: 20px;
7-
5+
height: var(--p-height-500);
6+
width: var(--p-width-500);
87
max-height: 100%;
98
max-width: 100%;
109
margin: auto;

0 commit comments

Comments
 (0)