@primer/brand-primitives
Version:
Color, spacing, and typography primitives for the Primer Brand Design System
462 lines (459 loc) • 11.6 kB
TypeScript
/**
* Do not edit directly
* Generated on Fri, 24 Apr 2026 13:01:08 GMT
*/
declare const tokens: {
"brand": {
"fontStack": {
"system": string,
"sansSerif": string,
"monospace": string,
"sansSerifDisplay": string
},
"text": {
"display": {
"lineBoxHeight": {
"value": 1.4,
"$type": number,
"$extensions": {
"org.primer.data": {
"fontSize": 40
},
"org.primer.figma": {
"collection": "typography",
"scopes": [
"lineHeight"
],
"fontSizeInPx": 40
}
},
"filePath": "tokens/functional/typography/typography.json",
"isSource": true,
"original": {
"value": 1.4,
"$type": number,
"$extensions": {
"org.primer.data": {
"fontSize": 40
},
"org.primer.figma": {
"collection": "typography",
"scopes": [
"lineHeight"
],
"fontSizeInPx": 40
}
}
},
"name": "lineBoxHeight",
"attributes": {},
"path": [
"text",
"display",
"lineBoxHeight"
]
},
"size": string,
"lineHeight": {
"value": 1.4,
"$type": number,
"$extensions": {
"org.primer.data": {
"fontSize": 40
},
"org.primer.figma": {
"collection": "typography",
"scopes": [
"lineHeight"
]
}
},
"filePath": "tokens/functional/typography/typography.json",
"isSource": true,
"original": {
"value": 1.4,
"$type": number,
"$extensions": {
"org.primer.data": {
"fontSize": 40
},
"org.primer.figma": {
"collection": "typography",
"scopes": [
"lineHeight"
]
}
}
},
"name": "lineHeight",
"attributes": {},
"path": [
"text",
"display",
"lineHeight"
]
},
"weight": {
"value": 500,
"$type": "fontWeight",
"$extensions": {
"org.primer.figma": {
"collection": "typography",
"scopes": [
"fontWeight"
]
}
},
"filePath": "tokens/functional/typography/typography.json",
"isSource": true,
"original": string,
"name": "weight",
"attributes": {},
"path": [
"text",
"display",
"weight"
]
},
"shorthand": {
"fontWeight": number,
"fontSize": string,
"lineHeight": number,
"fontFamily": string
}
},
"title": {
"size": {
"large": string,
"medium": string,
"small": string
},
"lineHeight": {
"large": {},
"medium": {},
"small": {}
},
"weight": {
"large": {},
"medium": {},
"small": {}
},
"shorthand": {
"large": {
"fontWeight": number,
"fontSize": string,
"lineHeight": number,
"fontFamily": string
},
"medium": {
"fontWeight": number,
"fontSize": string,
"lineHeight": number,
"fontFamily": string
},
"small": {
"fontWeight": number,
"fontSize": string,
"lineHeight": number,
"fontFamily": string
}
}
},
"subtitle": {
"size": string,
"lineHeight": {
"value": 1.6,
"$type": number,
"$extensions": {
"org.primer.data": {
"fontSize": 20
},
"org.primer.figma": {
"collection": "typography",
"scopes": [
"lineHeight"
]
}
},
"filePath": "tokens/functional/typography/typography.json",
"isSource": true,
"original": {
"value": 1.6,
"$type": number,
"$extensions": {
"org.primer.data": {
"fontSize": 20
},
"org.primer.figma": {
"collection": "typography",
"scopes": [
"lineHeight"
]
}
}
},
"name": "lineHeight",
"attributes": {},
"path": [
"text",
"subtitle",
"lineHeight"
]
},
"weight": {
"value": 400,
"$type": "fontWeight",
"$extensions": {
"org.primer.figma": {
"collection": "typography",
"scopes": [
"fontWeight"
]
}
},
"filePath": "tokens/functional/typography/typography.json",
"isSource": true,
"original": string,
"name": "weight",
"attributes": {},
"path": [
"text",
"subtitle",
"weight"
]
},
"shorthand": {
"fontWeight": number,
"fontSize": string,
"lineHeight": number,
"fontFamily": string
}
},
"body": {
"size": {
"large": string,
"medium": string,
"small": string
},
"lineHeight": {
"large": {},
"medium": {},
"small": {}
},
"weight": {
"value": 400,
"$type": "fontWeight",
"$extensions": {
"org.primer.figma": {
"collection": "typography",
"scopes": [
"fontWeight"
]
}
},
"filePath": "tokens/functional/typography/typography.json",
"isSource": true,
"original": string,
"name": "weight",
"attributes": {},
"path": [
"text",
"body",
"weight"
]
},
"shorthand": {
"large": {
"fontWeight": number,
"fontSize": string,
"lineHeight": number,
"fontFamily": string
},
"medium": {
"fontWeight": number,
"fontSize": string,
"lineHeight": number,
"fontFamily": string
},
"small": {
"fontWeight": number,
"fontSize": string,
"lineHeight": number,
"fontFamily": string
}
}
},
"caption": {
"size": string,
"lineHeight": {
"value": 1.3333,
"$type": number,
"$extensions": {
"org.primer.data": {
"fontSize": 12
},
"org.primer.figma": {
"collection": "typography",
"scopes": [
"lineHeight"
]
}
},
"filePath": "tokens/functional/typography/typography.json",
"isSource": true,
"original": {
"value": 1.3333,
"$type": number,
"$extensions": {
"org.primer.data": {
"fontSize": 12
},
"org.primer.figma": {
"collection": "typography",
"scopes": [
"lineHeight"
]
}
}
},
"name": "lineHeight",
"attributes": {},
"path": [
"text",
"caption",
"lineHeight"
]
},
"weight": {
"value": 400,
"$type": "fontWeight",
"$extensions": {
"org.primer.figma": {
"collection": "typography",
"scopes": [
"fontWeight"
]
}
},
"filePath": "tokens/functional/typography/typography.json",
"isSource": true,
"original": string,
"name": "weight",
"attributes": {},
"path": [
"text",
"caption",
"weight"
]
},
"shorthand": {
"fontWeight": number,
"fontSize": string,
"lineHeight": number,
"fontFamily": string
}
},
"codeBlock": {
"size": string,
"lineHeight": {
"value": 1.5385,
"$type": number,
"$extensions": {
"org.primer.data": {
"fontSize": 13
},
"org.primer.figma": {
"collection": "typography",
"scopes": [
"lineHeight"
]
}
},
"filePath": "tokens/functional/typography/typography.json",
"isSource": true,
"original": {
"value": 1.5385,
"$type": number,
"$extensions": {
"org.primer.data": {
"fontSize": 13
},
"org.primer.figma": {
"collection": "typography",
"scopes": [
"lineHeight"
]
}
}
},
"name": "lineHeight",
"attributes": {},
"path": [
"text",
"codeBlock",
"lineHeight"
]
},
"weight": {
"value": 400,
"$type": "fontWeight",
"$extensions": {
"org.primer.figma": {
"collection": "typography",
"scopes": [
"fontWeight"
]
}
},
"filePath": "tokens/functional/typography/typography.json",
"isSource": true,
"original": string,
"name": "weight",
"attributes": {},
"path": [
"text",
"codeBlock",
"weight"
]
},
"shorthand": {
"fontWeight": number,
"fontSize": string,
"lineHeight": number,
"fontFamily": string
}
},
"codeInline": {
"size": string,
"weight": {
"value": 400,
"$type": "fontWeight",
"$extensions": {
"org.primer.figma": {
"collection": "typography",
"scopes": [
"fontWeight"
]
}
},
"filePath": "tokens/functional/typography/typography.json",
"isSource": true,
"original": string,
"name": "weight",
"attributes": {},
"path": [
"text",
"codeInline",
"weight"
]
},
"shorthand": {
"fontWeight": number,
"fontSize": string,
"fontFamily": string
}
}
}
}
}
export default tokens;