Skip to content

Commit

Permalink
feat(data): first draft of table spacing tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
ljemmo committed Feb 21, 2024
1 parent b4f05cd commit 5412fe7
Showing 1 changed file with 119 additions and 3 deletions.
122 changes: 119 additions & 3 deletions data/tokens/Components/table.json
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,125 @@
"type": "borderWidth",
"description": "Table border"
}
}
},
"datatable": {
},
"space": {
"none": {
"value": "0",
"type": "spacing"
},
"row": {
"x": {
"XS": {
"value": "{global.space.micro.L}",
"type": "spacing",
"description": "Left and right padding inside XS row cells"
},
"S": {
"value": "{global.space.macro.XS}",
"type": "spacing",
"description": "Left and right padding inside S row cells"
},
"M": {
"value": "{global.space.macro.XS}",
"type": "spacing",
"description": "Left and right padding inside M row cells"
},
"L": {
"value": "{global.space.macro.XS}",
"type": "spacing",
"description": "Left and right padding inside L row cells"
},
"XL": {
"value": "{global.space.macro.XS}",
"type": "spacing",
"description": "Left and right padding inside XL row cells"
}
},
"xg": {
"XS": {
"value": "{global.space.micro.L}",
"type": "spacing",
"description": "internal spacing between text, checkboxes, icons etc"
},
"S": {
"value": "{global.space.micro.L}",
"type": "spacing",
"description": "internal spacing between text, checkboxes, icons etc"
},
"M": {
"value": "{global.space.micro.L}",
"type": "spacing",
"description": "internal spacing between text, checkboxes, icons etc"
},
"L": {
"value": "{global.space.micro.L}",
"type": "spacing",
"description": "internal spacing between text, checkboxes, icons etc"
},
"XL": {
"value": "{global.space.micro.L}",
"type": "spacing",
"description": "internal spacing between text, checkboxes, icons etc"
}
}
},
"header": {
"x": {
"XS": {
"value": "{global.space.micro.L}",
"type": "spacing",
"description": "Left and right padding inside XS row cells"
},
"S": {
"value": "{global.space.macro.XS}",
"type": "spacing",
"description": "Left and right padding inside S row cells"
},
"M": {
"value": "{global.space.macro.XS}",
"type": "spacing",
"description": "Left and right padding inside M row cells"
},
"L": {
"value": "{global.space.macro.XS}",
"type": "spacing",
"description": "Left and right padding inside L row cells"
},
"XL": {
"value": "{global.space.macro.XS}",
"type": "spacing",
"description": "Left and right padding inside XL row cells"
}
},
"xg": {
"XS": {
"value": "{global.space.micro.L}",
"type": "spacing",
"description": "internal spacing between text, checkboxes, icons etc"
},
"S": {
"value": "{global.space.micro.L}",
"type": "spacing",
"description": "internal spacing between text, checkboxes, icons etc"
},
"M": {
"value": "{global.space.micro.L}",
"type": "spacing",
"description": "internal spacing between text, checkboxes, icons etc"
},
"L": {
"value": "{global.space.micro.L}",
"type": "spacing",
"description": "internal spacing between text, checkboxes, icons etc"
},
"XL": {
"value": "{global.space.micro.L}",
"type": "spacing",
"description": "internal spacing between text, checkboxes, icons etc"
}
}
}
},
"size": {
"row": {
"XS": {
Expand Down

0 comments on commit 5412fe7

Please sign in to comment.