Skip to content

Commit

Permalink
feat(data): adding screensize dependant breakpoint-min-width token
Browse files Browse the repository at this point in the history
  • Loading branch information
druhill authored and adrianbruntonsagecom committed Sep 19, 2024
1 parent b988be7 commit 4b280c3
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 30 deletions.
30 changes: 0 additions & 30 deletions data/tokens/global/size.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,36 +9,6 @@
"value": "{primitives.dimension.0}",
"type": "sizing"
},
"breakpoint": {
"none": {
"value": "{primitives.size.breakpoint.0}",
"type": "sizing"
},
"XXS": {
"value": "{primitives.size.breakpoint.320}",
"type": "sizing"
},
"XS": {
"value": "{primitives.size.breakpoint.480}",
"type": "sizing"
},
"S": {
"value": "{primitives.size.breakpoint.768}",
"type": "sizing"
},
"M": {
"value": "{primitives.size.breakpoint.1024}",
"type": "sizing"
},
"L": {
"value": "{primitives.size.breakpoint.1200}",
"type": "sizing"
},
"XL": {
"value": "{primitives.size.breakpoint.1920}",
"type": "sizing"
}
},
"container": {
"M": {
"value": "{primitives.dimension.3600}",
Expand Down
6 changes: 6 additions & 0 deletions data/tokens/screensize/large.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
{
"global": {
"size": {
"breakpoint-min-width": {
"value": "{primitives.size.breakpoint.1200}",
"type": "sizing"
}
},
"space": {
"macroScale": {
"value": "1",
Expand Down
6 changes: 6 additions & 0 deletions data/tokens/screensize/small.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
{
"global": {
"size": {
"breakpoint-min-width": {
"value": "{primitives.size.breakpoint.0}",
"type": "sizing"
}
},
"space": {
"macroScale": {
"value": "0.8",
Expand Down

0 comments on commit 4b280c3

Please sign in to comment.