Skip to content

Commit

Permalink
feat(data): adding page level overrides for small screen
Browse files Browse the repository at this point in the history
  • Loading branch information
ljemmo committed Aug 15, 2024
1 parent f534285 commit 64e62e3
Showing 1 changed file with 12 additions and 84 deletions.
96 changes: 12 additions & 84 deletions data/tokens/devicesize/small.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,96 +2,24 @@
"global": {
"space": {
"macroScale": {
"value": "0.75",
"value": "0.8",
"type": "spacing",
"description": "Spacing scale for small screens."
}
}
},
"nav TO DELETE MAYBE": {
"page": {
"space": {
"horizontal": {
"menu": {
"item": {
"x": {
"M": {
"value": "{global.space.micro.L}",
"type": "spacing",
"description": "Horizontal padding on menu item"
}
},
"y": {
"M": {
"value": "{global.space.micro.S}",
"type": "spacing",
"description": "Vertical padding on menu item"
}
}
},
"content": {
"x": {
"M": {
"value": "{global.space.micro.L}",
"type": "spacing",
"description": "Horizontal padding on content within menu item"
}
},
"xg": {
"M": {
"value": "{global.space.micro.L}",
"type": "spacing",
"description": "Space between content elements within menu item"
}
},
"y": {
"M": {
"value": "{global.space.micro.S}",
"type": "spacing",
"description": "Vertical padding on content elements within menu item"
}
}
}
},
"navbar": {
"item": {
"x": {
"M": {
"value": "{global.space.micro.L}",
"type": "spacing",
"description": "Horizontal padding on nav bar item"
}
},
"y": {
"M": {
"value": "{global.space.micro.S}",
"type": "spacing",
"description": "Vertical padding on nav bar item"
}
}
},
"content": {
"x": {
"M": {
"value": "{global.space.micro.L}",
"type": "spacing",
"description": "Horizontal padding on content within nav bar item"
}
},
"xg": {
"M": {
"value": "{global.space.micro.L}",
"type": "spacing",
"description": "Spacing between content elements within nav bar item"
}
},
"y": {
"M": {
"value": "{global.space.micro.S}",
"type": "spacing",
"description": "Vertical padding on content within nav bar item"
}
}
}
"x": {
"L": {
"value": "{global.space.macro.S}",
"type": "spacing"
}
},
"y": {
"L": {
"value": "{global.space.macro.S}",
"type": "spacing"
}
}
}
Expand Down

0 comments on commit 64e62e3

Please sign in to comment.