diff --git a/.changeset/sixty-bananas-drop.md b/.changeset/sixty-bananas-drop.md new file mode 100644 index 000000000..007a438d2 --- /dev/null +++ b/.changeset/sixty-bananas-drop.md @@ -0,0 +1,5 @@ +--- +"@hopper-ui/tokens": patch +--- + +Fix typo in size tokens diff --git a/apps/docs/datas/tokens-dark.json b/apps/docs/datas/tokens-dark.json index c70f10ab4..d901250eb 100644 --- a/apps/docs/datas/tokens-dark.json +++ b/apps/docs/datas/tokens-dark.json @@ -739,6 +739,10 @@ "name": "hop-space-480", "value": "3rem" }, + { + "name": "hop-space-640", + "value": "4rem" + }, { "name": "hop-space-800", "value": "5rem" @@ -751,12 +755,6 @@ "name": "hop-space-1280", "value": "8rem" } - ], - "number": [ - { - "name": "hop-space-640", - "value": 64 - } ] }, "semantic": { @@ -1720,7 +1718,6 @@ "fontWeight": [], "lineHeight": [], "borderRadius": [], - "size": [], - "number": [] + "size": [] } } \ No newline at end of file diff --git a/apps/docs/datas/tokens.json b/apps/docs/datas/tokens.json index a23ca9af9..2675885b1 100644 --- a/apps/docs/datas/tokens.json +++ b/apps/docs/datas/tokens.json @@ -739,6 +739,10 @@ "name": "hop-space-480", "value": "3rem" }, + { + "name": "hop-space-640", + "value": "4rem" + }, { "name": "hop-space-800", "value": "5rem" @@ -751,12 +755,6 @@ "name": "hop-space-1280", "value": "8rem" } - ], - "number": [ - { - "name": "hop-space-640", - "value": 64 - } ] }, "semantic": { @@ -2383,7 +2381,6 @@ "name": "hop-space-inline-xl", "value": "2rem" } - ], - "number": [] + ] } } \ No newline at end of file diff --git a/packages/tokens/src/tokens/core/space.tokens.json b/packages/tokens/src/tokens/core/space.tokens.json index 95954e058..5ea1cab84 100644 --- a/packages/tokens/src/tokens/core/space.tokens.json +++ b/packages/tokens/src/tokens/core/space.tokens.json @@ -37,7 +37,7 @@ "$value": 48 }, "640": { - "$type": "number", + "$type": "size", "$value": 64 }, "800": {