From 0ee9408ca242bf165dc5abb80bb19d6c2bd3472a Mon Sep 17 00:00:00 2001 From: Travaglini Alessio <158268546+Vandapanda@users.noreply.github.com> Date: Thu, 17 Oct 2024 08:24:48 +0200 Subject: [PATCH] refactor(tokens):removed old tokens for buttons as they now all have their own set --- .../tokens/tokensstudio-generated/tokens.json | 227 ------------------ 1 file changed, 227 deletions(-) diff --git a/packages/tokens/tokensstudio-generated/tokens.json b/packages/tokens/tokensstudio-generated/tokens.json index a9d7b2a9be..cdcbe7cc2b 100644 --- a/packages/tokens/tokensstudio-generated/tokens.json +++ b/packages/tokens/tokensstudio-generated/tokens.json @@ -4240,232 +4240,6 @@ } } }, - "Components/Button_old": { - "post": { - "button": { - "color": { - "primary": { - "enabled-bg": { - "$type": "color", - "$value": "{post.mode.color.interactive.primary.enabled.bg1}" - }, - "enabled-fg": { - "$type": "color", - "$value": "{post.mode.color.interactive.primary.enabled.fg1}" - }, - "hover-bg": { - "$type": "color", - "$value": "{post.mode.color.interactive.primary.hover.bg}" - }, - "hover-fg": { - "$type": "color", - "$value": "{post.mode.color.interactive.primary.hover.fg1}" - }, - "disabled-bg": { - "$type": "color", - "$value": "{post.mode.color.interactive.primary.disabled.bg}" - }, - "disabled-fg": { - "$type": "color", - "$value": "{post.mode.color.interactive.primary.disabled.fg1}" - }, - "selected-bg": { - "$type": "color", - "$value": "{post.mode.color.interactive.primary.selected.bg1}" - }, - "selected-fg": { - "$type": "color", - "$value": "{post.mode.color.interactive.primary.selected.fg1}" - }, - "helptext-fg": { - "$type": "color", - "$value": "{post.mode.color.interactive.primary.enabled.fg2}" - }, - "enabled-stroke": { - "$type": "color", - "$value": "{post.mode.color.interactive.primary.enabled.stroke}" - }, - "hover-stroke": { - "$type": "color", - "$value": "{post.mode.color.interactive.primary.hover.stroke}" - }, - "disabled-stroke": { - "$type": "color", - "$value": "{post.mode.color.interactive.primary.disabled.stroke}" - }, - "selected-stroke": { - "$type": "color", - "$value": "{post.mode.color.interactive.primary.selected.stroke1}" - } - }, - "signal": { - "error": { - "$type": "color", - "$value": "{post.mode.color.signal.error-dark}" - }, - "success": { - "$type": "color", - "$value": "{post.mode.color.signal.success-dark}" - } - }, - "focus": { - "stroke": { - "$type": "color", - "$value": "{post.mode.color.interactive.focus.stroke}" - }, - "stroke-inverted": { - "$type": "color", - "$value": "{post.mode.color.interactive.focus.stroke-inverted}" - } - } - }, - "spacing": { - "gap": { - "block": { - "1": { - "$type": "spacing", - "$value": "{post.device.spacing.gap.4}" - }, - "2": { - "$type": "spacing", - "$value": "{post.device.spacing.gap.block.2}" - } - }, - "inline": { - "1": { - "$type": "spacing", - "$value": "{post.device.spacing.gap.inline.1}" - }, - "switch": { - "$type": "spacing", - "$value": "{post.device.spacing.gap.inline.3}" - } - } - }, - "padding": { - "block": { - "icon-inner": { - "$type": "spacing", - "$value": "{post.device.spacing.padding.1}" - } - }, - "inline": { - "icon-inner": { - "$type": "spacing", - "$value": "{post.device.spacing.padding.1}" - } - } - } - }, - "sizing": { - "icon": { - "width-inner": { - "$type": "sizing", - "$value": "{post.device.sizing.interactive.icon.width}" - }, - "height-inner": { - "$type": "sizing", - "$value": "{post.device.sizing.interactive.icon.height}" - } - } - }, - "segmented": { - "sizing": { - "height": { - "$type": "sizing", - "$value": "{post.device.sizing.interactive.button.height.1}" - } - }, - "spacing": { - "padding": { - "inline": { - "$type": "spacing", - "$value": "{post.device.spacing.padding.11}" - } - } - } - }, - "small": { - "sizing": { - "height": { - "$type": "sizing", - "$value": "{post.device.sizing.interactive.button.height.1}" - } - }, - "spacing": { - "gap": { - "$type": "spacing", - "$value": "{post.device.spacing.gap.inline.9}" - }, - "padding": { - "$type": "spacing", - "$value": "{post.device.spacing.padding.14}" - } - } - }, - "large": { - "sizing": { - "height": { - "$type": "sizing", - "$value": "{post.device.sizing.interactive.button.height.2}" - } - }, - "spacing": { - "gap": { - "$type": "spacing", - "$value": "{post.device.spacing.gap.inline.8}" - }, - "padding": { - "$type": "spacing", - "$value": "{post.device.spacing.padding.13}" - } - } - }, - "appstore": { - "sizing": { - "height": { - "$type": "sizing", - "$value": "{post.device.sizing.interactive.button.height.2}" - }, - "width-google": { - "$type": "sizing", - "$value": "{post.device.sizing.interactive.button.appstore.width.google}" - }, - "width-apple": { - "$type": "sizing", - "$value": "{post.device.sizing.interactive.button.appstore.width.apple}" - } - } - }, - "socialmedia": { - "sizing": { - "large": { - "$type": "sizing", - "$value": "{post.device.sizing.interactive.button.height.1}" - }, - "small": { - "$type": "sizing", - "$value": "{post.device.sizing.interactive.button.height.3}" - }, - "icon-large": { - "$type": "sizing", - "$value": "{post.device.sizing.interactive.button.icon.1}" - }, - "icon-small": { - "$type": "sizing", - "$value": "{post.device.sizing.interactive.button.icon.2}" - } - } - }, - "border-radius": { - "round": { - "$type": "borderRadius", - "$value": "{post.device.border-radius.round}" - } - } - } - } - }, "Components/Button": { "post": { "button": { @@ -10227,7 +10001,6 @@ "Components/Badge", "Components/Banner", "Components/Breadcrumb", - "Components/Button_old", "Components/Button", "Components/Checkbox", "Components/Dropdown",