Skip to content

Commit

Permalink
fix for token that is was not a size
Browse files Browse the repository at this point in the history
  • Loading branch information
Francis Thibault committed Oct 5, 2023
1 parent 18b2c36 commit b092a18
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 17 deletions.
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 b092a18

Please sign in to comment.