From f73464943d6f2d74721508664d7410a6c10ad61b Mon Sep 17 00:00:00 2001 From: Luke Emmerson-Finch Date: Wed, 5 Jun 2024 16:07:06 +0100 Subject: [PATCH] feat(data): adding chip tokens --- data/tokens/components/button.json | 10 ++++++++++ data/tokens/components/form.json | 26 ++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/data/tokens/components/button.json b/data/tokens/components/button.json index 342bb8b7..fbc99605 100644 --- a/data/tokens/components/button.json +++ b/data/tokens/components/button.json @@ -871,6 +871,11 @@ "value": "{global.radius.interactive.M}", "type": "borderRadius", "description": "Buttons subtle" + }, + "chip": { + "value": "{global.radius.interactive.M}", + "type": "borderRadius", + "description": "Buttons chip" } }, "borderwidth": { @@ -879,6 +884,11 @@ "type": "borderWidth", "description": "Override on tertiary buttons within Button-toggle.\n" }, + "chip": { + "value": "{global.borderwidth.XS}", + "type": "borderWidth", + "description": "chip button border width" + }, "secondary": { "value": "{global.borderwidth.S}", "type": "borderWidth", diff --git a/data/tokens/components/form.json b/data/tokens/components/form.json index 36507f74..e0791386 100644 --- a/data/tokens/components/form.json +++ b/data/tokens/components/form.json @@ -26,6 +26,32 @@ } } }, + "chip": { + "xg": { + "M": { + "value": "{global.space.micro.L}", + "type": "spacing", + "description": "gap between medium chip buttons" + }, + "L": { + "value": "{global.space.micro.XXL}", + "type": "spacing", + "description": "gap between large chip buttons" + } + }, + "yg": { + "M": { + "value": "{global.space.micro.L}", + "type": "spacing", + "description": "gap between medium chip buttons" + }, + "L": { + "value": "{global.space.micro.XXL}", + "type": "spacing", + "description": "gap between large chip buttons" + } + } + }, "checkradio": { "y": { "S": {