From f2cf3704819a45b7308f2ba03ce59756cf591171 Mon Sep 17 00:00:00 2001 From: clairedenning Date: Fri, 5 Apr 2024 09:27:39 +0100 Subject: [PATCH] feat(data): Add global size token. Add container.size.scrollbar token. --- data/tokens/components/container.json | 9 +++++++++ data/tokens/global/space.json | 4 ++++ 2 files changed, 13 insertions(+) diff --git a/data/tokens/components/container.json b/data/tokens/components/container.json index 125ded86..bd7abfc4 100644 --- a/data/tokens/components/container.json +++ b/data/tokens/components/container.json @@ -622,6 +622,15 @@ } } }, + "scrollbar": { + "y": { + "M": { + "value": "{global.space.micro.XXS}", + "type": "spacing", + "description": "top and bottom padding inside scrollbar" + } + } + }, "stepflow": { "header": { "yg": { diff --git a/data/tokens/global/space.json b/data/tokens/global/space.json index f6d8918f..1014effa 100644 --- a/data/tokens/global/space.json +++ b/data/tokens/global/space.json @@ -14,6 +14,10 @@ "type": "spacing" }, "micro": { + "XXS": { + "value": "{origin.dimension.12} * {global.space.microScale}", + "type": "spacing" + }, "XS": { "value": "{origin.dimension.25} * {global.space.microScale}", "type": "spacing"