design system token v0.1
This commit is contained in:
35
tokens/radii.json
Normal file
35
tokens/radii.json
Normal file
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"radii": {
|
||||
"$description": "Greyhaven Design System — Border Radius Tokens (tightened, no playful rounding)",
|
||||
"base": {
|
||||
"$type": "dimension",
|
||||
"$value": "0.375rem",
|
||||
"$description": "6px — base radius"
|
||||
},
|
||||
"sm": {
|
||||
"$type": "dimension",
|
||||
"$value": "calc(0.375rem - 2px)",
|
||||
"$description": "4px — small variant"
|
||||
},
|
||||
"md": {
|
||||
"$type": "dimension",
|
||||
"$value": "0.375rem",
|
||||
"$description": "6px — medium (same as base)"
|
||||
},
|
||||
"lg": {
|
||||
"$type": "dimension",
|
||||
"$value": "calc(0.375rem + 2px)",
|
||||
"$description": "8px — large variant"
|
||||
},
|
||||
"xl": {
|
||||
"$type": "dimension",
|
||||
"$value": "calc(0.375rem + 4px)",
|
||||
"$description": "10px — extra large variant (cards)"
|
||||
},
|
||||
"full": {
|
||||
"$type": "dimension",
|
||||
"$value": "9999px",
|
||||
"$description": "Fully round (pills, avatars)"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user