|
|
eb1099a4d0
|
Add Badge atom component
- Create badge component tokens (height, paddingX, fontSize, iconSize,
iconGap, borderRadius for sm/md sizes) — 10 tokens
- Build Badge component: pill-shaped status indicator label
- 6 colours: default, brand, success, warning, error, info
- 2 variants: soft (tonal, default) and filled (solid)
- 2 sizes: small (22px) and medium (26px)
- Optional leading icon prop
- All colours use CSS variables from token system (no hardcoded hex)
- Create 10 Storybook stories: Default, AllColoursSoft, AllColoursFilled,
WithIcons, WithIconsFilled, Sizes, SmallSizes, InPriceCard,
ServiceStatus, CompleteMatrix
- Regenerate token pipeline outputs
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
2026-03-25 16:05:04 +11:00 |
|
|
|
74ee0b87da
|
Add selected state and hover background to Card
- Add `selected` prop: brand border (warm gold) + warm background tint (brand.50)
- Add hover background fill (neutral.50) for interactive cards
- Add 3 new card tokens: border.selected, background.hover, background.selected
- Add stories: Selected, OptionSelect (single-select), MultiSelect (toggle),
OnDifferentBackgrounds (white vs grey surface comparison)
- Informed by FA 1.0 Figma ListItemPurchaseOption pattern (node 2349:39505)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
2026-03-25 15:45:57 +11:00 |
|
|
|
7169a6559b
|
Add Card atom component
- Create card component tokens (borderRadius, padding, shadow, border, background)
- Build Card component with elevated/outlined variants, interactive hover, padding presets
- Add MUI theme overrides using card tokens (shadow.md resting, border for outlined)
- Create 8 Storybook stories: Default, Variants, Interactive, PaddingPresets,
PriceCardPreview, ServiceOptionPreview, WithImage, RichContent
- Regenerate token pipeline outputs (7 new card tokens)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
2026-03-25 15:31:10 +11:00 |
|
|
|
732c872576
|
Initial commit: FA 2.0 Design System foundation
Token pipeline (Style Dictionary v4, DTCG format):
- Primitive tokens: colour palettes (brand, sage, neutral, feedback),
typography (3 font families, 21-variant type scale), spacing (4px grid),
border radius, shadows, opacity
- Semantic tokens: text, surface, border, interactive, feedback colours;
typography roles; layout spacing
- Component tokens: Button (4 sizes), Input (2 sizes)
- Generated outputs: CSS custom properties, JS ES6 module, flat JSON
Atoms (3 components):
- Button: contained/soft/outlined/text × primary/secondary, 4 sizes,
loading state, underline for text variant
- Typography: 21 variants across display/heading/body/label/caption/overline,
maxLines truncation
- Input: external label, helper text, error/success validation,
start/end icons, required indicator, 2 sizes, multiline support
Infrastructure:
- MUI v5 theme with full token mapping
- Storybook 8 with autodocs
- Claude Code agents and skills for token/component workflows
- Design system documentation and cross-session memory
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
2026-03-25 15:08:15 +11:00 |
|