@primer/primitives
Version:
Typography, spacing, and color primitives for Primer design system
293 lines (292 loc) • 8.19 kB
JSON
{
"borderRadius-default": {
"$value": ["0.0234375rem", "0.375px"],
"$type": "dimension",
"$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}"
},
"borderRadius-full": {
"$value": ["624.9375rem", "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 */"
}
}
},
"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}"
},
"borderRadius-large": {
"$value": ["0.75rem", "12px"],
"$type": "dimension",
"$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}"
},
"borderRadius-medium": {
"$value": ["0.375rem", "6px"],
"$type": "dimension",
"$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}"
},
"borderRadius-small": {
"$value": ["0.1875rem", "3px"],
"$type": "dimension",
"$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}"
},
"borderWidth-default": {
"$value": ["0.00390625rem", "0.0625px"],
"$type": "dimension",
"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}"
},
"borderWidth-thick": {
"$value": ["0.125rem", "2px"],
"$type": "dimension",
"filePath": "src/tokens/functional/size/border.json5",
"isSource": true,
"original": {
"$value": "2px",
"$type": "dimension"
},
"name": "borderWidth-thick",
"attributes": {},
"path": ["borderWidth", "thick"],
"key": "{borderWidth.thick}"
},
"borderWidth-thicker": {
"$value": ["0.25rem", "4px"],
"$type": "dimension",
"filePath": "src/tokens/functional/size/border.json5",
"isSource": true,
"original": {
"$value": "4px",
"$type": "dimension"
},
"name": "borderWidth-thicker",
"attributes": {},
"path": ["borderWidth", "thicker"],
"key": "{borderWidth.thicker}"
},
"borderWidth-thin": {
"$value": ["0.0625rem", "1px"],
"$type": "dimension",
"filePath": "src/tokens/functional/size/border.json5",
"isSource": true,
"original": {
"$value": "1px",
"$type": "dimension"
},
"name": "borderWidth-thin",
"attributes": {},
"path": ["borderWidth", "thin"],
"key": "{borderWidth.thin}"
},
"boxShadow-thick": {
"$value": ["0.125rem", "2px"],
"$type": "string",
"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}"
},
"boxShadow-thicker": {
"$value": ["0.25rem", "4px"],
"$type": "string",
"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}"
},
"boxShadow-thin": {
"$value": ["0.0625rem", "1px"],
"$description": "Thin shadow for borders",
"$type": "string",
"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}"
},
"outline-focus-offset": {
"$value": ["-0.125rem", "-2px"],
"$type": "dimension",
"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}"
},
"outline-focus-width": {
"$value": ["0.125rem", "2px"],
"$type": "dimension",
"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}"
}
}