Initial commit: FA Design System source files
Copy of the Funeral Arranger design system components, theme, tokens, and Storybook config from the original Parsons project. Pre-upgrade baseline with React 18, MUI v5, Storybook 8. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
17
tokens/component/switch.json
Normal file
17
tokens/component/switch.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"switch": {
|
||||
"$description": "Switch component tokens — toggle control for enabling/disabling options. Used in arrangement forms for add-on services.",
|
||||
"track": {
|
||||
"$type": "dimension",
|
||||
"$description": "Switch track dimensions.",
|
||||
"width": { "$value": "44px", "$description": "Track width — slightly narrower than Figma 52px for better proportion with 44px touch target" },
|
||||
"height": { "$value": "24px", "$description": "Track height" },
|
||||
"borderRadius": { "$value": "{borderRadius.full}", "$description": "Pill shape" }
|
||||
},
|
||||
"thumb": {
|
||||
"$type": "dimension",
|
||||
"$description": "Switch thumb (knob) dimensions.",
|
||||
"size": { "$value": "18px", "$description": "Thumb diameter — sits inside the track with 3px inset" }
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user