Skip to content

Commit

Permalink
feat(data): updating progress tokens
Browse files Browse the repository at this point in the history
New tokens: 

SM border radius
global.radius.container.SM using this {origin.dimension.75} * {global.radius.scale} = 6px

progress.space.integral.x for little space between words = 4px


Updated tokens:
progress.space.loader.yg.M from 12 to 8px
progress.space.loader.yg.S from 8 to 6px
progress.space.loader.yg.L from 16 to 
progress.size.bar.S from 6 to 4px
progress.radius.bar.L from 8px to 6px
  • Loading branch information
LaiaSage committed Apr 25, 2024
1 parent 09c87ef commit 156fcfc
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
17 changes: 12 additions & 5 deletions data/tokens/components/progress.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"size": {
"bar": {
"S": {
"value": "{global.size.micro.S}",
"value": "{global.size.micro.XS}",
"type": "sizing",
"description": "S loader bar"
},
Expand Down Expand Up @@ -190,7 +190,7 @@
"description": "File input (bottom corners of integrated status bar), Progress tracker M, "
},
"L": {
"value": "{global.radius.container.M}",
"value": "{global.radius.container.SM}",
"type": "borderRadius",
"description": "Progress tracker L"
}
Expand Down Expand Up @@ -250,6 +250,13 @@
}
}
},
"integral": {
"x": {
"value": "{global.space.micro.S}",
"type": "spacing",
"description": "Little space between words in progress components"
}
},
"stepsequence": {
"xg": {
"M": {
Expand All @@ -269,17 +276,17 @@
"loader": {
"yg": {
"S": {
"value": "{global.space.micro.L}",
"value": "{global.space.micro.M}",
"type": "spacing",
"description": "gap between loader visual and loading text"
},
"M": {
"value": "{global.space.micro.XXL}",
"value": "{global.space.micro.L}",
"type": "spacing",
"description": "gap between loader visual and loading text"
},
"L": {
"value": "{global.space.macro.XS}",
"value": "{global.space.micro.XL}",
"type": "spacing",
"description": "gap between loader visual and loading text"
}
Expand Down
5 changes: 5 additions & 0 deletions data/tokens/global/radius.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@
"value": "{origin.dimension.50} * {global.radius.scale}",
"type": "borderRadius"
},
"SM": {
"value": "{origin.dimension.75} * {global.radius.scale}",
"type": "borderRadius",
"description": "L size loader and tracker corners"
},
"M": {
"value": "{origin.dimension.100} * {global.radius.scale}",
"type": "borderRadius",
Expand Down

0 comments on commit 156fcfc

Please sign in to comment.