From d362689a466a078c280d041f43ced0dc501378ba Mon Sep 17 00:00:00 2001 From: Luke Emmerson-Finch Date: Thu, 11 Jul 2024 10:21:28 +0100 Subject: [PATCH] feat(data): addding size tokens for empty state illustrations --- data/tokens/components/container.json | 31 ++++++++++++++++----------- 1 file changed, 19 insertions(+), 12 deletions(-) diff --git a/data/tokens/components/container.json b/data/tokens/components/container.json index 8aa4849a..90db7323 100644 --- a/data/tokens/components/container.json +++ b/data/tokens/components/container.json @@ -290,20 +290,27 @@ "generic": { "emptystate": { "illustration": { - "S": { - "value": "{global.size.macro.M} * 5", - "type": "sizing", - "description": "Illustration size for small error and empty states" - }, - "M": { - "value": "{global.size.macro.M} * 6", - "type": "sizing", - "description": "Illustration size for medium error and empty states" + "primary": { + "S": { + "value": "{global.size.macro.M} * 5", + "type": "sizing", + "description": "Illustration size for small error and empty states" + }, + "M": { + "value": "{global.size.macro.M} * 6", + "type": "sizing", + "description": "Illustration size for medium error and empty states" + }, + "L": { + "value": "{global.size.macro.M} * 8", + "type": "sizing", + "description": "Illustration size for large error and empty states" + } }, - "L": { - "value": "{global.size.macro.M} * 8", + "secondary": { + "value": "{global.size.macro.M} + {button.size.icon.M}", "type": "sizing", - "description": "Illustration size for large error and empty states" + "description": "Illustration size for secondary empty states" } } }