UNPKG

@primer/primitives

Version:

Typography, spacing, and color primitives for Primer design system

293 lines (292 loc) • 8.05 kB
{ "borderRadius-default": { "$extensions": { "org.primer.figma": { "collection": "functional/size", "scopes": ["radius"], "codeSyntax": { "web": "var(--borderRadius-default) /* utility class: .rounded-2 */" } } }, "filePath": "src/tokens/functional/size/border.json5", "isSource": true, "original": { "$value": "{borderRadius.medium}", "$type": "dimension", "$extensions": { "org.primer.figma": { "collection": "functional/size", "scopes": ["radius"], "codeSyntax": { "web": "var(--borderRadius-default) /* utility class: .rounded-2 */" } } } }, "name": "borderRadius-default", "attributes": {}, "path": ["borderRadius", "default"], "key": "{borderRadius.default}", "value": "0.375rem", "type": "dimension" }, "borderRadius-full": { "$extensions": { "org.primer.figma": { "collection": "functional/size", "scopes": ["radius"], "codeSyntax": { "web": "var(--borderRadius-full) /* utility class: .circle */" } } }, "filePath": "src/tokens/functional/size/border.json5", "isSource": true, "original": { "$value": "9999px", "$type": "dimension", "$description": "Use this border radius for pill shaped elements", "$extensions": { "org.primer.figma": { "collection": "functional/size", "scopes": ["radius"], "codeSyntax": { "web": "var(--borderRadius-full) /* utility class: .circle */" } } } }, "name": "borderRadius-full", "attributes": {}, "path": ["borderRadius", "full"], "key": "{borderRadius.full}", "value": "624.9375rem", "type": "dimension", "description": "Use this border radius for pill shaped elements" }, "borderRadius-large": { "$extensions": { "org.primer.figma": { "collection": "functional/size", "scopes": ["radius"], "codeSyntax": { "web": "var(--borderRadius-large) /* utility class: .rounded-3 */" } } }, "filePath": "src/tokens/functional/size/border.json5", "isSource": true, "original": { "$value": "12px", "$type": "dimension", "$extensions": { "org.primer.figma": { "collection": "functional/size", "scopes": ["radius"], "codeSyntax": { "web": "var(--borderRadius-large) /* utility class: .rounded-3 */" } } } }, "name": "borderRadius-large", "attributes": {}, "path": ["borderRadius", "large"], "key": "{borderRadius.large}", "value": "0.75rem", "type": "dimension" }, "borderRadius-medium": { "$extensions": { "org.primer.figma": { "collection": "functional/size", "scopes": ["radius"], "codeSyntax": { "web": "var(--borderRadius-medium) /* utility class: .rounded-2 */" } } }, "filePath": "src/tokens/functional/size/border.json5", "isSource": true, "original": { "$value": "6px", "$type": "dimension", "$extensions": { "org.primer.figma": { "collection": "functional/size", "scopes": ["radius"], "codeSyntax": { "web": "var(--borderRadius-medium) /* utility class: .rounded-2 */" } } } }, "name": "borderRadius-medium", "attributes": {}, "path": ["borderRadius", "medium"], "key": "{borderRadius.medium}", "value": "0.375rem", "type": "dimension" }, "borderRadius-small": { "$extensions": { "org.primer.figma": { "collection": "functional/size", "scopes": ["radius"], "codeSyntax": { "web": "var(--borderRadius-small) /* utility class: .rounded-1 */" } } }, "filePath": "src/tokens/functional/size/border.json5", "isSource": true, "original": { "$value": "3px", "$type": "dimension", "$extensions": { "org.primer.figma": { "collection": "functional/size", "scopes": ["radius"], "codeSyntax": { "web": "var(--borderRadius-small) /* utility class: .rounded-1 */" } } } }, "name": "borderRadius-small", "attributes": {}, "path": ["borderRadius", "small"], "key": "{borderRadius.small}", "value": "0.1875rem", "type": "dimension" }, "borderWidth-default": { "filePath": "src/tokens/functional/size/border.json5", "isSource": true, "original": { "$value": "{borderWidth.thin}", "$type": "dimension" }, "name": "borderWidth-default", "attributes": {}, "path": ["borderWidth", "default"], "key": "{borderWidth.default}", "value": "0.0625rem", "type": "dimension" }, "borderWidth-thick": { "filePath": "src/tokens/functional/size/border.json5", "isSource": true, "original": { "$value": "2px", "$type": "dimension" }, "name": "borderWidth-thick", "attributes": {}, "path": ["borderWidth", "thick"], "key": "{borderWidth.thick}", "value": "0.125rem", "type": "dimension" }, "borderWidth-thicker": { "filePath": "src/tokens/functional/size/border.json5", "isSource": true, "original": { "$value": "4px", "$type": "dimension" }, "name": "borderWidth-thicker", "attributes": {}, "path": ["borderWidth", "thicker"], "key": "{borderWidth.thicker}", "value": "0.25rem", "type": "dimension" }, "borderWidth-thin": { "filePath": "src/tokens/functional/size/border.json5", "isSource": true, "original": { "$value": "1px", "$type": "dimension" }, "name": "borderWidth-thin", "attributes": {}, "path": ["borderWidth", "thin"], "key": "{borderWidth.thin}", "value": "0.0625rem", "type": "dimension" }, "boxShadow-thick": { "filePath": "src/tokens/functional/size/border.json5", "isSource": true, "original": { "$value": "inset 0 0 0 {borderWidth.thick}", "$type": "string" }, "name": "boxShadow-thick", "attributes": {}, "path": ["boxShadow", "thick"], "key": "{boxShadow.thick}", "value": "inset 0 0 0 0.125rem", "type": "string" }, "boxShadow-thicker": { "filePath": "src/tokens/functional/size/border.json5", "isSource": true, "original": { "$value": "inset 0 0 0 {borderWidth.thicker}", "$type": "string" }, "name": "boxShadow-thicker", "attributes": {}, "path": ["boxShadow", "thicker"], "key": "{boxShadow.thicker}", "value": "inset 0 0 0 0.25rem", "type": "string" }, "boxShadow-thin": { "filePath": "src/tokens/functional/size/border.json5", "isSource": true, "original": { "$value": "inset 0 0 0 {borderWidth.thin}", "$description": "Thin shadow for borders", "$type": "string" }, "name": "boxShadow-thin", "attributes": {}, "path": ["boxShadow", "thin"], "key": "{boxShadow.thin}", "value": "inset 0 0 0 0.0625rem", "type": "string", "description": "Thin shadow for borders" }, "outline-focus-offset": { "filePath": "src/tokens/functional/size/border.json5", "isSource": true, "original": { "$value": "-2px", "$type": "dimension" }, "name": "outline-focus-offset", "attributes": {}, "path": ["outline", "focus", "offset"], "key": "{outline.focus.offset}", "value": "-0.125rem", "type": "dimension" }, "outline-focus-width": { "filePath": "src/tokens/functional/size/border.json5", "isSource": true, "original": { "$value": "2px", "$type": "dimension" }, "name": "outline-focus-width", "attributes": {}, "path": ["outline", "focus", "width"], "key": "{outline.focus.width}", "value": "0.125rem", "type": "dimension" } }