diff --git a/design-tokens/tokens/component/component.default.json b/design-tokens/tokens/component/component.default.json index 1bc4874f0..af9f32072 100644 --- a/design-tokens/tokens/component/component.default.json +++ b/design-tokens/tokens/component/component.default.json @@ -1040,6 +1040,815 @@ } } }, + "xsmall": { + "primary": { + "paddingX": { + "$type": "number", + "$value": "{button.xsmall.default.paddingX}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["GAP"], + "codeSyntax": {} + } + } + }, + "paddingY": { + "$type": "number", + "$value": "{button.xsmall.default.paddingY}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["GAP"], + "codeSyntax": {} + } + } + }, + "borderRadius": { + "$type": "number", + "$value": "{button.xsmall.default.borderRadius}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["CORNER_RADIUS"], + "codeSyntax": {} + } + } + }, + "borderWidth": { + "$type": "number", + "$value": "{button.xsmall.default.borderWidth}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["STROKE_FLOAT", "EFFECT_FLOAT"], + "codeSyntax": {} + } + } + }, + "minHeight": { + "$type": "number", + "$value": "{button.xsmall.default.minHeight}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["WIDTH_HEIGHT"], + "codeSyntax": {} + } + } + }, + "fontSize": { + "$type": "number", + "$value": "{button.xsmall.default.fontSize}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["FONT_SIZE"], + "codeSyntax": {} + } + } + }, + "lineHeight": { + "$type": "number", + "$value": "{button.xsmall.default.lineHeight}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["LINE_HEIGHT"], + "codeSyntax": {} + } + } + }, + "gapX": { + "$type": "number", + "$value": "{button.xsmall.default.gapX}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["GAP"], + "codeSyntax": {} + } + } + }, + "iconOnly": { + "paddingX": { + "$type": "number", + "$value": "{button.xsmall.default.iconOnly.paddingX}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["GAP"], + "codeSyntax": {} + } + } + }, + "paddingY": { + "$type": "number", + "$value": "{button.xsmall.default.iconOnly.paddingY}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["GAP"], + "codeSyntax": {} + } + } + }, + "borderRadius": { + "$type": "number", + "$value": "{button.xsmall.primary.borderRadius}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["CORNER_RADIUS"], + "codeSyntax": {} + } + } + }, + "borderWidth": { + "$type": "number", + "$value": "{button.xsmall.primary.borderWidth}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["STROKE_FLOAT", "EFFECT_FLOAT"], + "codeSyntax": {} + } + } + }, + "minHeight": { + "$type": "number", + "$value": "{button.xsmall.primary.minHeight}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["WIDTH_HEIGHT"], + "codeSyntax": {} + } + } + }, + "fontSize": { + "$type": "number", + "$value": "{button.xsmall.primary.fontSize}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["FONT_SIZE"], + "codeSyntax": {} + } + } + }, + "lineHeight": { + "$type": "number", + "$value": "{button.xsmall.primary.lineHeight}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["LINE_HEIGHT"], + "codeSyntax": {} + } + } + }, + "gapX": { + "$type": "number", + "$value": "{button.xsmall.primary.gapX}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["GAP"], + "codeSyntax": {} + } + } + } + } + }, + "secondary": { + "paddingX": { + "$type": "number", + "$value": "{button.xsmall.default.paddingX}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["GAP"], + "codeSyntax": {} + } + } + }, + "paddingY": { + "$type": "number", + "$value": "{button.xsmall.default.paddingY}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["GAP"], + "codeSyntax": {} + } + } + }, + "borderRadius": { + "$type": "number", + "$value": "{button.xsmall.default.borderRadius}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["CORNER_RADIUS"], + "codeSyntax": {} + } + } + }, + "borderWidth": { + "$type": "number", + "$value": "{button.xsmall.default.borderWidth}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["STROKE_FLOAT", "EFFECT_FLOAT"], + "codeSyntax": {} + } + } + }, + "minHeight": { + "$type": "number", + "$value": "{button.xsmall.default.minHeight}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["WIDTH_HEIGHT"], + "codeSyntax": {} + } + } + }, + "fontSize": { + "$type": "number", + "$value": "{button.xsmall.default.fontSize}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["FONT_SIZE"], + "codeSyntax": {} + } + } + }, + "lineHeight": { + "$type": "number", + "$value": "{button.xsmall.default.lineHeight}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["LINE_HEIGHT"], + "codeSyntax": {} + } + } + }, + "gapX": { + "$type": "number", + "$value": "{button.xsmall.default.gapX}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["GAP"], + "codeSyntax": {} + } + } + }, + "iconOnly": { + "paddingX": { + "$type": "number", + "$value": "{button.xsmall.default.iconOnly.paddingX}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["GAP"], + "codeSyntax": {} + } + } + }, + "paddingY": { + "$type": "number", + "$value": "{button.xsmall.default.iconOnly.paddingY}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["GAP"], + "codeSyntax": {} + } + } + }, + "borderRadius": { + "$type": "number", + "$value": "{button.xsmall.secondary.borderRadius}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["CORNER_RADIUS"], + "codeSyntax": {} + } + } + }, + "borderWidth": { + "$type": "number", + "$value": "{button.xsmall.secondary.borderWidth}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["STROKE_FLOAT", "EFFECT_FLOAT"], + "codeSyntax": {} + } + } + }, + "minHeight": { + "$type": "number", + "$value": "{button.xsmall.secondary.minHeight}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["WIDTH_HEIGHT"], + "codeSyntax": {} + } + } + }, + "fontSize": { + "$type": "number", + "$value": "{button.xsmall.secondary.fontSize}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["FONT_SIZE"], + "codeSyntax": {} + } + } + }, + "lineHeight": { + "$type": "number", + "$value": "{button.xsmall.secondary.lineHeight}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["LINE_HEIGHT"], + "codeSyntax": {} + } + } + }, + "gapX": { + "$type": "number", + "$value": "{button.xsmall.secondary.gapX}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["GAP"], + "codeSyntax": {} + } + } + } + }, + "hover": { + "boxShadow": { + "$type": "shadow", + "$value": [ + { + "offsetX": "{base.static.spacing.none}", + "offsetY": "{base.static.spacing.none}", + "blur": "{base.static.spacing.none}", + "spread": "{base.dimension.25}", + "color": "{button.secondary.hover.borderColor}", + "inset": true + } + ], + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["ALL_SCOPES"], + "codeSyntax": {} + } + } + } + } + }, + "default": { + "paddingX": { + "$type": "number", + "$value": 12, + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["GAP"], + "codeSyntax": {} + } + } + }, + "paddingY": { + "$type": "number", + "$value": 3, + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["GAP"], + "codeSyntax": {} + } + } + }, + "borderRadius": { + "$type": "number", + "$value": "{radius.full}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["CORNER_RADIUS"], + "codeSyntax": {} + } + } + }, + "borderWidth": { + "$type": "number", + "$value": "{component.xsmall.borderWidth}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["STROKE_FLOAT", "EFFECT_FLOAT"], + "codeSyntax": {} + } + } + }, + "minHeight": { + "$type": "number", + "$value": "{component.xsmall.minHeight}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["WIDTH_HEIGHT"], + "codeSyntax": {} + } + } + }, + "fontSize": { + "$type": "number", + "$value": "{component.xsmall.fontSize}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["FONT_SIZE"], + "codeSyntax": {} + } + } + }, + "lineHeight": { + "$type": "number", + "$value": "{component.xsmall.lineHeight}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["LINE_HEIGHT"], + "codeSyntax": {} + } + } + }, + "gapX": { + "$type": "number", + "$value": "{component.xsmall.textToIconX}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["GAP"], + "codeSyntax": {} + } + } + }, + "iconOnly": { + "paddingX": { + "$type": "number", + "$value": "{button.xsmall.default.iconOnly.paddingY}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["GAP"], + "codeSyntax": {} + } + } + }, + "paddingY": { + "$type": "number", + "$value": 4, + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["GAP"], + "codeSyntax": {} + } + } + }, + "borderRadius": { + "$type": "number", + "$value": "{button.xsmall.default.borderRadius}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["CORNER_RADIUS"], + "codeSyntax": {} + } + } + }, + "borderWidth": { + "$type": "number", + "$value": "{button.xsmall.default.borderWidth}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["STROKE_FLOAT", "EFFECT_FLOAT"], + "codeSyntax": {} + } + } + }, + "minHeight": { + "$type": "number", + "$value": "{button.xsmall.default.minHeight}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["WIDTH_HEIGHT"], + "codeSyntax": {} + } + } + }, + "fontSize": { + "$type": "number", + "$value": "{button.xsmall.default.fontSize}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["FONT_SIZE"], + "codeSyntax": {} + } + } + }, + "lineHeight": { + "$type": "number", + "$value": "{button.xsmall.default.lineHeight}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["LINE_HEIGHT"], + "codeSyntax": {} + } + } + }, + "gapX": { + "$type": "number", + "$value": "{button.xsmall.default.gapX}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["GAP"], + "codeSyntax": {} + } + } + } + } + }, + "toolbar": { + "paddingX": { + "$type": "number", + "$value": "{component.xsmall.paddingX.default}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["GAP"], + "codeSyntax": {} + } + } + }, + "paddingY": { + "$type": "number", + "$value": 3, + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["GAP"], + "codeSyntax": {} + } + } + }, + "borderRadius": { + "$type": "number", + "$value": "{base.static.radius.xsmall}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["CORNER_RADIUS"], + "codeSyntax": {} + } + } + }, + "borderWidth": { + "$type": "number", + "$value": "{base.static.borderWidth.default}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["STROKE_FLOAT", "EFFECT_FLOAT"], + "codeSyntax": {} + } + } + }, + "minHeight": { + "$type": "number", + "$value": "{component.xsmall.minHeight}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["WIDTH_HEIGHT"], + "codeSyntax": {} + } + } + }, + "fontSize": { + "$type": "number", + "$value": "{component.xsmall.fontSize}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["FONT_SIZE"], + "codeSyntax": {} + } + } + }, + "lineHeight": { + "$type": "number", + "$value": "{component.xsmall.lineHeight}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["LINE_HEIGHT"], + "codeSyntax": {} + } + } + }, + "gapX": { + "$type": "number", + "$value": "{component.xsmall.textToIconX}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["GAP"], + "codeSyntax": {} + } + } + }, + "iconOnly": { + "paddingX": { + "$type": "number", + "$value": 5, + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["GAP"], + "codeSyntax": {} + } + } + }, + "paddingY": { + "$type": "number", + "$value": 4, + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["GAP"], + "codeSyntax": {} + } + } + }, + "borderRadius": { + "$type": "number", + "$value": "{button.xsmall.toolbar.borderRadius}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["CORNER_RADIUS"], + "codeSyntax": {} + } + } + }, + "borderWidth": { + "$type": "number", + "$value": "{button.xsmall.toolbar.borderWidth}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["STROKE_FLOAT", "EFFECT_FLOAT"], + "codeSyntax": {} + } + } + }, + "minHeight": { + "$type": "number", + "$value": "{button.xsmall.toolbar.minHeight}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["WIDTH_HEIGHT"], + "codeSyntax": {} + } + } + }, + "fontSize": { + "$type": "number", + "$value": "{button.xsmall.toolbar.fontSize}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["FONT_SIZE"], + "codeSyntax": {} + } + } + }, + "lineHeight": { + "$type": "number", + "$value": "{button.xsmall.toolbar.lineHeight}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["LINE_HEIGHT"], + "codeSyntax": {} + } + } + }, + "gapX": { + "$type": "number", + "$value": "{button.xsmall.toolbar.gapX}", + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["GAP"], + "codeSyntax": {} + } + } + } + } + } + }, "small": { "default": { "paddingX": { diff --git a/design-tokens/tokens/primitive/primitives.base.json b/design-tokens/tokens/primitive/primitives.base.json index 182ab6183..555ff7bd8 100644 --- a/design-tokens/tokens/primitive/primitives.base.json +++ b/design-tokens/tokens/primitive/primitives.base.json @@ -133,6 +133,18 @@ } } }, + "350": { + "$type": "number", + "$value": 14, + "$description": "", + "$extensions": { + "com.figma": { + "hiddenFromPublishing": false, + "scopes": ["ALL_SCOPES"], + "codeSyntax": {} + } + } + }, "400": { "$type": "number", "$value": 16, diff --git a/design-tokens/tokens/semantic/dimension.large.json b/design-tokens/tokens/semantic/dimension.large.json index 85950189c..9e57a46eb 100644 --- a/design-tokens/tokens/semantic/dimension.large.json +++ b/design-tokens/tokens/semantic/dimension.large.json @@ -407,7 +407,7 @@ "icon": { "xsmall": { "$type": "number", - "$value": "{base.dimension.400}", + "$value": "{base.dimension.350}", "$description": "", "$extensions": { "com.figma": { diff --git a/design-tokens/tokens/semantic/dimension.small.json b/design-tokens/tokens/semantic/dimension.small.json index c03c6969c..9cdc3af0b 100644 --- a/design-tokens/tokens/semantic/dimension.small.json +++ b/design-tokens/tokens/semantic/dimension.small.json @@ -407,7 +407,7 @@ "icon": { "xsmall": { "$type": "number", - "$value": "{base.dimension.400}", + "$value": "{base.dimension.350}", "$description": "", "$extensions": { "com.figma": {