UNPKG

@primer/primitives

Version:

Typography, spacing, and color primitives for Primer design system

379 lines (378 loc) • 10.5 kB
{ "borderRadius-default": { "key": "{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 */" } } }, "key": "{borderRadius.default}" }, "name": "borderRadius-default", "attributes": {}, "path": ["borderRadius", "default"], "value": "0.375rem", "type": "dimension" }, "borderRadius-full": { "key": "{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 */" } } }, "key": "{borderRadius.full}" }, "name": "borderRadius-full", "attributes": {}, "path": ["borderRadius", "full"], "value": "624.9375rem", "type": "dimension", "description": "Use this border radius for pill shaped elements" }, "borderRadius-large": { "key": "{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 */" } } }, "key": "{borderRadius.large}" }, "name": "borderRadius-large", "attributes": {}, "path": ["borderRadius", "large"], "value": "0.75rem", "type": "dimension" }, "borderRadius-medium": { "key": "{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 */" } } }, "key": "{borderRadius.medium}" }, "name": "borderRadius-medium", "attributes": {}, "path": ["borderRadius", "medium"], "value": "0.375rem", "type": "dimension" }, "borderRadius-small": { "key": "{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 */" } } }, "key": "{borderRadius.small}" }, "name": "borderRadius-small", "attributes": {}, "path": ["borderRadius", "small"], "value": "0.1875rem", "type": "dimension" }, "borderWidth-default": { "key": "{borderWidth.default}", "$extensions": { "org.primer.figma": { "collection": "functional/size", "scopes": ["borderWidth", "effectFloat"] } }, "filePath": "src/tokens/functional/size/border.json5", "isSource": true, "original": { "$value": "{borderWidth.thin}", "$type": "dimension", "$extensions": { "org.primer.figma": { "collection": "functional/size", "scopes": ["borderWidth", "effectFloat"] } }, "key": "{borderWidth.default}" }, "name": "borderWidth-default", "attributes": {}, "path": ["borderWidth", "default"], "value": "0.0625rem", "type": "dimension" }, "borderWidth-thick": { "key": "{borderWidth.thick}", "$extensions": { "org.primer.figma": { "collection": "functional/size", "scopes": ["borderWidth", "effectFloat"] } }, "filePath": "src/tokens/functional/size/border.json5", "isSource": true, "original": { "$value": "2px", "$type": "dimension", "$extensions": { "org.primer.figma": { "collection": "functional/size", "scopes": ["borderWidth", "effectFloat"] } }, "key": "{borderWidth.thick}" }, "name": "borderWidth-thick", "attributes": {}, "path": ["borderWidth", "thick"], "value": "0.125rem", "type": "dimension" }, "borderWidth-thicker": { "key": "{borderWidth.thicker}", "$extensions": { "org.primer.figma": { "collection": "functional/size", "scopes": ["borderWidth", "effectFloat"] } }, "filePath": "src/tokens/functional/size/border.json5", "isSource": true, "original": { "$value": "4px", "$type": "dimension", "$extensions": { "org.primer.figma": { "collection": "functional/size", "scopes": ["borderWidth", "effectFloat"] } }, "key": "{borderWidth.thicker}" }, "name": "borderWidth-thicker", "attributes": {}, "path": ["borderWidth", "thicker"], "value": "0.25rem", "type": "dimension" }, "borderWidth-thin": { "key": "{borderWidth.thin}", "$extensions": { "org.primer.figma": { "collection": "functional/size", "scopes": ["borderWidth", "effectFloat"] } }, "filePath": "src/tokens/functional/size/border.json5", "isSource": true, "original": { "$value": "1px", "$type": "dimension", "$extensions": { "org.primer.figma": { "collection": "functional/size", "scopes": ["borderWidth", "effectFloat"] } }, "key": "{borderWidth.thin}" }, "name": "borderWidth-thin", "attributes": {}, "path": ["borderWidth", "thin"], "value": "0.0625rem", "type": "dimension" }, "boxShadow-thick": { "key": "{boxShadow.thick}", "filePath": "src/tokens/functional/size/border.json5", "isSource": true, "original": { "$value": "inset 0 0 0 {borderWidth.thick}", "$type": "string", "key": "{boxShadow.thick}" }, "name": "boxShadow-thick", "attributes": {}, "path": ["boxShadow", "thick"], "value": "inset 0 0 0 0.125rem", "type": "string" }, "boxShadow-thicker": { "key": "{boxShadow.thicker}", "filePath": "src/tokens/functional/size/border.json5", "isSource": true, "original": { "$value": "inset 0 0 0 {borderWidth.thicker}", "$type": "string", "key": "{boxShadow.thicker}" }, "name": "boxShadow-thicker", "attributes": {}, "path": ["boxShadow", "thicker"], "value": "inset 0 0 0 0.25rem", "type": "string" }, "boxShadow-thin": { "key": "{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", "key": "{boxShadow.thin}" }, "name": "boxShadow-thin", "attributes": {}, "path": ["boxShadow", "thin"], "value": "inset 0 0 0 0.0625rem", "type": "string", "description": "Thin shadow for borders" }, "outline-focus-offset": { "key": "{outline.focus.offset}", "$extensions": { "org.primer.figma": { "collection": "functional/size", "scopes": ["borderWidth", "effectFloat"] } }, "filePath": "src/tokens/functional/size/border.json5", "isSource": true, "original": { "$value": "-2px", "$type": "dimension", "$extensions": { "org.primer.figma": { "collection": "functional/size", "scopes": ["borderWidth", "effectFloat"] } }, "key": "{outline.focus.offset}" }, "name": "outline-focus-offset", "attributes": {}, "path": ["outline", "focus", "offset"], "value": "-0.125rem", "type": "dimension" }, "outline-focus-width": { "key": "{outline.focus.width}", "$extensions": { "org.primer.figma": { "collection": "functional/size", "scopes": ["borderWidth", "effectFloat"] } }, "filePath": "src/tokens/functional/size/border.json5", "isSource": true, "original": { "$value": "2px", "$type": "dimension", "$extensions": { "org.primer.figma": { "collection": "functional/size", "scopes": ["borderWidth", "effectFloat"] } }, "key": "{outline.focus.width}" }, "name": "outline-focus-width", "attributes": {}, "path": ["outline", "focus", "width"], "value": "0.125rem", "type": "dimension" } }