Skip to content

Commit

Permalink
feat(data): Add global size token. Add container.size.scrollbar token.
Browse files Browse the repository at this point in the history
  • Loading branch information
clairedenning committed Apr 5, 2024
1 parent f99258c commit f2cf370
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
9 changes: 9 additions & 0 deletions data/tokens/components/container.json
Original file line number Diff line number Diff line change
Expand Up @@ -622,6 +622,15 @@
}
}
},
"scrollbar": {
"y": {
"M": {
"value": "{global.space.micro.XXS}",
"type": "spacing",
"description": "top and bottom padding inside scrollbar"
}
}
},
"stepflow": {
"header": {
"yg": {
Expand Down
4 changes: 4 additions & 0 deletions data/tokens/global/space.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
"type": "spacing"
},
"micro": {
"XXS": {
"value": "{origin.dimension.12} * {global.space.microScale}",
"type": "spacing"
},
"XS": {
"value": "{origin.dimension.25} * {global.space.microScale}",
"type": "spacing"
Expand Down

0 comments on commit f2cf370

Please sign in to comment.