Skip to content

Commit fc65c47

Browse files
fix: update Icon's sizes to Polaris' tokens
1 parent ac004fc commit fc65c47

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
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-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
.Icon {
44
display: block;
5-
height: 20px;
6-
width: 20px;
5+
height: var(--p-height-500);
6+
width: var(--p-width-500);
77
max-height: 100%;
88
max-width: 100%;
99
margin: auto;

0 commit comments

Comments
 (0)