Design system: atomic levels enforced by lint, today page rebuilt #6
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/design-system"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Stacked on #5.
@habitea/platform/frontend/ui, the design system, over Ionic:hab-button,hab-badge(the reviewed rewrite: tone, variant, size; no base class, no wrapper element),hab-message,hab-stat,hab-text-fieldhab-inline-form,hab-list-itemhab-list,hab-stat-grouphab-page-layoutstyles/tokens.css), which the app importsLint rules:
uiprojects can't import@ionic/*.Tested with deliberately wrong imports at each level: every one was caught, and the allowed ones pass.
Today page: rebuilt as
hab-page-layoutfilled with two feature organisms,hab-habit-rowandhab-rewards-summary, plus design-system parts. The page is still the only component connected to the store.Docs: CONVENTIONS §6.5 (atomic design, levels table, lint and review rules), §6.4 (where tokens live, literal class names), and the ARCHITECTURE 12.2 table.
Checked in the browser: same look; check-in, undo and starting a habit work; the earnings prediction updates (+10 nectar, pollen back to +0 once a new habit is due).
🤖 Generated with Claude Code