From 7675065dd0be6ed2b8690c9907aaadd6b1ebaef8 Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Thu, 2 Nov 2023 11:52:13 -0400 Subject: [PATCH] Padding for tables and grids. --- tokens/themes/component.json | 98 ++++++++++++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) diff --git a/tokens/themes/component.json b/tokens/themes/component.json index 219c7b40..725835f9 100644 --- a/tokens/themes/component.json +++ b/tokens/themes/component.json @@ -2059,6 +2059,30 @@ "value": "{typography.styles.product.text.medium.sm}", "type": "typography" } + }, + "cell": { + "space": { + "md": { + "y": { + "value": "{spaces.3}", + "type": "spacing" + }, + "x": { + "value": "{spaces.4}", + "type": "spacing" + } + }, + "sm": { + "y": { + "value": "{spaces.2}", + "type": "spacing" + }, + "x": { + "value": "{spaces.4}", + "type": "spacing" + } + } + } } }, "cell": { @@ -2080,6 +2104,50 @@ "value": "{border.radii.1}", "type": "borderRadius" } + }, + "body": { + "cell": { + "space": { + "md": { + "y": { + "value": "{spaces.4}", + "type": "spacing" + }, + "x": { + "value": "{spaces.4}", + "type": "spacing" + } + }, + "sm": { + "y": { + "value": "{spaces.2}", + "type": "spacing" + }, + "x": { + "value": "{spaces.4}", + "type": "spacing" + } + } + } + } + }, + "mobile": { + "cell": { + "space": { + "y": { + "value": "{spaces.4}", + "type": "spacing" + }, + "x": { + "value": "{spaces.4}", + "type": "spacing" + }, + "gap": { + "value": "{spaces.2}", + "type": "spacing" + } + } + } } }, "tabs": { @@ -2441,6 +2509,36 @@ } } } + }, + "grid": { + "header": { + "cell": { + "space": { + "y": { + "value": "0.4375rem", + "type": "spacing" + }, + "x": { + "value": "{spaces.2}", + "type": "spacing" + } + } + } + }, + "body": { + "cell": { + "space": { + "y": { + "value": "{spaces.1}", + "type": "spacing" + }, + "x": { + "value": "{spaces.2}", + "type": "spacing" + } + } + } + } } }, "transition": {