Skip to content
This repository has been archived by the owner on Oct 28, 2022. It is now read-only.

Update spacing preset names to use numbers #221

Merged
merged 1 commit into from
Sep 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions styles/marigold.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,32 +38,32 @@
"spacingSizes": [
{
"size": "clamp(0.625rem, 0.434rem + 0.61vw, 0.938rem)",
"name": "30",
"name": "1",
"slug": "30"
},
{
"size": "clamp(1.25rem, 0.869rem + 1.22vw, 1.875rem)",
"name": "40",
"name": "2",
"slug": "40"
},
{
"size": "clamp(1.875rem, 1.303rem + 1.83vw, 2.813rem)",
"name": "50",
"name": "3",
"slug": "50"
},
{
"size": "clamp(2.5rem, 1.738rem + 2.44vw, 3.75rem)",
"name": "60",
"name": "4",
"slug": "60"
},
{
"size": "clamp(2.813rem, 1.098rem + 5.49vw, 5.625rem)",
"name": "70",
"name": "5",
"slug": "70"
},
{
"size": "clamp(3.75rem, 1.463rem + 7.32vw, 7.5rem)",
"name": "80",
"name": "6",
"slug": "80"
}
]
Expand Down
14 changes: 7 additions & 7 deletions styles/pitch.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,37 +42,37 @@
{
"size": "calc(8px + 1.5625vw)",
"slug": "20",
"name": "Tiny"
"name": "1"
},
{
"size": "calc(12px + 1.5625vw)",
"slug": "30",
"name": "Small"
"name": "2"
},
{
"size": "calc(16px + 1.5625vw)",
"slug": "40",
"name": "Medium"
"name": "3"
},
{
"size": "calc(20px + 1.5625vw)",
"slug": "50",
"name": "Large"
"name": "4"
},
{
"size": "calc(24px + 1.5625vw)",
"slug": "60",
"name": "Extra Large"
"name": "5"
},
{
"size": "calc(28px + 1.5625vw)",
"slug": "70",
"name": "2X Large"
"name": "6"
},
{
"size": "calc(32px + 1.5625vw)",
"slug": "80",
"name": "3X Large"
"name": "7"
}
]
},
Expand Down
12 changes: 6 additions & 6 deletions theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,32 +84,32 @@
{
"size": "clamp(1.5rem, 5vw, 2rem)",
"slug": "30",
"name": "30"
"name": "1"
},
{
"size": "clamp(1.8rem, 1.8rem + ((1vw - 0.48rem) * 2.885), 3rem)",
"slug": "40",
"name": "40"
"name": "2"
},
{
"size": "clamp(2.5rem, 8vw, 6.5rem)",
"slug": "50",
"name": "50"
"name": "3"
},
{
"size": "clamp(3.75rem, 10vw, 7rem)",
"slug": "60",
"name": "60"
"name": "4"
},
{
"size": "clamp(5rem, 5.25rem + ((1vw - 0.48rem) * 9.096), 8rem)",
"slug": "70",
"name": "70"
"name": "5"
},
{
"size": "clamp(7rem, 14vw, 11rem)",
"slug": "80",
"name": "80"
"name": "6"
}
],
"units": [
Expand Down