Skip to content

Commit 933a9d7

Browse files
authored
Add missing values to borderRadius length map (#7459)
### WHY are these changes introduced? Add `--p-border-radius-base` and `--p-border-radius-large` to the border-radius length map until we finalize our scale.
1 parent 8a05e84 commit 933a9d7

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.changeset/two-hotels-scream.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@shopify/polaris-migrator': patch
3+
---
4+
5+
Add missing values to borderRadius length map

polaris-migrator/src/migrations/replace-border-declarations/replace-border-declarations.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,9 @@ const borderWidthLengthMap = {
303303

304304
const borderRadiusLengthMap = {
305305
'2px': '--p-border-radius-05',
306+
'3px': '--p-border-radius-base',
306307
'4px': '--p-border-radius-1',
308+
'6px': '--p-border-radius-large',
307309
'8px': '--p-border-radius-2',
308310
'12px': '--p-border-radius-3',
309311
'16px': '--p-border-radius-4',

0 commit comments

Comments
 (0)