Skip to content

Commit

Permalink
feat(tokens):Added tokens for Input
Browse files Browse the repository at this point in the history
refactor(tokens): cleaned up some dimension tokens on core level
  • Loading branch information
Vandapanda committed Nov 11, 2024
1 parent f6511d5 commit 591791b
Showing 1 changed file with 170 additions and 70 deletions.
240 changes: 170 additions & 70 deletions packages/tokens/tokensstudio-generated/tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@
},
"17": {
"$type": "dimension",
"$value": "17px"
"$value": "17"
},
"18": {
"$type": "dimension",
Expand All @@ -293,7 +293,7 @@
},
"23": {
"$type": "dimension",
"$value": "23px"
"$value": "23"
},
"24": {
"$type": "dimension",
Expand Down Expand Up @@ -397,7 +397,7 @@
},
"n2": {
"$type": "dimension",
"$value": "-2px"
"$value": "-2"
},
"15-5": {
"$type": "dimension",
Expand All @@ -413,7 +413,15 @@
},
"26-5": {
"$type": "dimension",
"$value": "26.5px"
"$value": "26.5"
},
"25-5": {
"$type": "dimension",
"$value": "25.5"
},
"24-5": {
"$type": "dimension",
"$value": "24.5"
}
},
"font-weight": {
Expand Down Expand Up @@ -2641,6 +2649,14 @@
"27": {
"$type": "spacing",
"$value": "{post.core.dimension.17}"
},
"28": {
"$type": "spacing",
"$value": "{post.core.dimension.17}"
},
"29": {
"$type": "spacing",
"$value": "{post.core.dimension.25-5}"
}
}
},
Expand Down Expand Up @@ -2939,6 +2955,10 @@
"1": {
"$type": "dimension",
"$value": "{post.core.dimension.32}"
},
"2": {
"$type": "dimension",
"$value": "{post.core.dimension.18}"
}
}
}
Expand Down Expand Up @@ -3233,6 +3253,14 @@
"27": {
"$type": "spacing",
"$value": "{post.core.dimension.12}"
},
"28": {
"$type": "spacing",
"$value": "{post.core.dimension.16}"
},
"29": {
"$type": "spacing",
"$value": "{post.core.dimension.23}"
}
},
"inline": {
Expand Down Expand Up @@ -3817,6 +3845,14 @@
"27": {
"$type": "spacing",
"$value": "{post.core.dimension.17-5}"
},
"28": {
"$type": "spacing",
"$value": "{post.core.dimension.17-5}"
},
"29": {
"$type": "spacing",
"$value": "{post.core.dimension.24-5}"
}
}
},
Expand Down Expand Up @@ -4935,6 +4971,66 @@
}
}
},
"Components/Blockquote": {
"post": {
"blockquote": {
"border-width": {
"left": {
"$type": "borderWidth",
"$value": "{post.device.border-width.quote}"
}
},
"border": {
"left": {
"color": {
"$type": "color",
"$value": "{post.scheme.color.surface.default.stroke}"
},
"style": {
"$type": "other",
"$value": "{post.core.border-style.solid}"
}
}
},
"margin": {
"block": {
"$type": "spacing",
"$value": "{post.device.spacing.margin.5}"
},
"inline": {
"$type": "spacing",
"$value": "{post.device.spacing.margin.6}"
}
},
"padding": {
"inline": {
"start": {
"$type": "spacing",
"$value": "{post.core.dimension.20}"
},
"end": {
"$type": "spacing",
"$value": "{post.core.dimension.24}"
}
}
},
"gap": {
"inline": {
"$type": "spacing",
"$value": "{post.core.dimension.16}"
}
},
"font-weight": {
"$type": "fontWeights",
"$value": "{post.device.font-weight.bold}"
},
"font-size": {
"$type": "fontSizes",
"$value": "{post.device.font-size.5}"
}
}
}
},
"Components/Breadcrumb": {
"post": {
"breadcrumb": {
Expand Down Expand Up @@ -6638,66 +6734,6 @@
}
}
},
"Components/Blockquote": {
"post": {
"blockquote": {
"border-width": {
"left": {
"$type": "borderWidth",
"$value": "{post.device.border-width.quote}"
}
},
"border": {
"left": {
"color": {
"$type": "color",
"$value": "{post.scheme.color.surface.default.stroke}"
},
"style": {
"$type": "other",
"$value": "{post.core.border-style.solid}"
}
}
},
"margin": {
"block": {
"$type": "spacing",
"$value": "{post.device.spacing.margin.5}"
},
"inline": {
"$type": "spacing",
"$value": "{post.device.spacing.margin.6}"
}
},
"padding": {
"inline": {
"start": {
"$type": "spacing",
"$value": "{post.core.dimension.20}"
},
"end": {
"$type": "spacing",
"$value": "{post.core.dimension.24}"
}
}
},
"gap": {
"inline": {
"$type": "spacing",
"$value": "{post.core.dimension.16}"
}
},
"font-weight": {
"$type": "fontWeights",
"$value": "{post.device.font-weight.bold}"
},
"font-size": {
"$type": "fontSizes",
"$value": "{post.device.font-size.5}"
}
}
}
},
"Components/Radio button": {
"post": {
"radio-button": {
Expand Down Expand Up @@ -7723,11 +7759,11 @@
}
},
"inline": {
"text-start": {
"start": {
"$type": "spacing",
"$value": "{post.device.spacing.padding.inline.1}"
},
"text-end": {
"end": {
"$type": "spacing",
"$value": "{post.device.spacing.padding.3}"
},
Expand Down Expand Up @@ -7762,6 +7798,70 @@
"$type": "other",
"$value": "{post.core.border-style.dash}"
}
},
"empty": {
"padding": {
"block": {
"$type": "spacing",
"$value": "{post.device.spacing.padding.block.1}"
}
}
},
"label": {
"empty": {
"padding": {
"block": {
"start": {
"$type": "spacing",
"$value": "{post.device.spacing.padding.block.28}"
}
},
"inline": {
"start": {
"$type": "spacing",
"$value": "{post.device.spacing.padding.5}"
},
"end": {
"$type": "spacing",
"$value": "{post.device.spacing.padding.inline.4}"
}
}
}
},
"validated": {
"padding": {
"inline": {
"end": {
"$type": "spacing",
"$value": "{post.core.dimension.48}"
}
}
}
}
},
"filled": {
"padding": {
"block": {
"start": {
"$type": "spacing",
"$value": "{post.device.spacing.padding.block.29}"
}
}
}
}
}
},
"input": {
"validation": {
"icon": {
"position": {
"inline": {
"end": {
"$type": "dimension",
"$value": "{post.device.position.2}"
}
}
}
}
}
}
Expand Down Expand Up @@ -10881,9 +10981,9 @@
"post.input.padding.block.text2": "16e43ccd63e09b43f7078bfdc6bee6432ea4fe9a",
"post.input.padding.block.text-assist": "74fa0091e635d194f2726e8a49d63029f797d7b1",
"post.input.padding.block.text5": "be118ff83da708f6758b8dda877fadaea5a24e3d",
"post.input.padding.inline.text-start": "95d346d8cf0d15d92cbb0d838ad1d21e2196d909",
"post.input.padding.inline.text-end": "251080d245b6ce91ef6947cedb9d8710871c1e45",
"post.input.padding.inline.text-assist": "e265e8a8f1e63ac91a7c044560f1c84736e1167f"
"post.input.padding.inline.text-assist": "e265e8a8f1e63ac91a7c044560f1c84736e1167f",
"post.input.padding.inline.start": "95d346d8cf0d15d92cbb0d838ad1d21e2196d909",
"post.input.padding.inline.end": "251080d245b6ce91ef6947cedb9d8710871c1e45"
}
},
{
Expand Down Expand Up @@ -11088,6 +11188,7 @@
"Components/Avatar",
"Components/Badge",
"Components/Banner",
"Components/Blockquote",
"Components/Breadcrumb",
"Components/Button",
"Components/Checkbox",
Expand All @@ -11103,7 +11204,6 @@
"Components/List simple",
"Components/Notifications",
"Components/Popover",
"Components/Blockquote",
"Components/Radio button",
"Components/Segmented button",
"Components/Select",
Expand Down

0 comments on commit 591791b

Please sign in to comment.