Skip to content

Commit

Permalink
fix for token that was not a size (#65)
Browse files Browse the repository at this point in the history
Co-authored-by: Francis Thibault <[email protected]>
  • Loading branch information
fraincs and Francis Thibault authored Oct 5, 2023
1 parent a08e2a7 commit 01844dd
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 17 deletions.
5 changes: 5 additions & 0 deletions .changeset/sixty-bananas-drop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@hopper-ui/tokens": patch
---

Fix typo in size tokens
13 changes: 5 additions & 8 deletions apps/docs/datas/tokens-dark.json
Original file line number Diff line number Diff line change
Expand Up @@ -739,6 +739,10 @@
"name": "hop-space-480",
"value": "3rem"
},
{
"name": "hop-space-640",
"value": "4rem"
},
{
"name": "hop-space-800",
"value": "5rem"
Expand All @@ -751,12 +755,6 @@
"name": "hop-space-1280",
"value": "8rem"
}
],
"number": [
{
"name": "hop-space-640",
"value": 64
}
]
},
"semantic": {
Expand Down Expand Up @@ -1720,7 +1718,6 @@
"fontWeight": [],
"lineHeight": [],
"borderRadius": [],
"size": [],
"number": []
"size": []
}
}
13 changes: 5 additions & 8 deletions apps/docs/datas/tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -739,6 +739,10 @@
"name": "hop-space-480",
"value": "3rem"
},
{
"name": "hop-space-640",
"value": "4rem"
},
{
"name": "hop-space-800",
"value": "5rem"
Expand All @@ -751,12 +755,6 @@
"name": "hop-space-1280",
"value": "8rem"
}
],
"number": [
{
"name": "hop-space-640",
"value": 64
}
]
},
"semantic": {
Expand Down Expand Up @@ -2383,7 +2381,6 @@
"name": "hop-space-inline-xl",
"value": "2rem"
}
],
"number": []
]
}
}
2 changes: 1 addition & 1 deletion packages/tokens/src/tokens/core/space.tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"$value": 48
},
"640": {
"$type": "number",
"$type": "size",
"$value": 64
},
"800": {
Expand Down

0 comments on commit 01844dd

Please sign in to comment.