跳转到内容

UI / UX

Product design system for FreeAnima Portal UI: visual foundations, component taxonomy, and interaction patterns. All three adapt through the same orthogonal axes — shell, layout, and interaction — defined in dimensions.

This directory is the UI/UX specification SSOT. Agent hard bans, import rules, and API entry paths live in .agent/rules/ and link here. Token values live in code (src/ui-kit/styles/globals.css). When code and docs disagree, code wins.

  1. dimensions.md — shell / layout / interaction; Shell vs app frame
  2. foundations.md — color, type, space, radius, elevation, motion, focus, …
  3. components.md — primitive / structure / composite / domain; placement rules
  4. patterns.md — reusable interaction patterns (e.g. DataListRow)
LayerOwnsDoes not own
docs/ui/Product-facing norms, pattern contracts, dimension adaptationIDE checklists, weekly tool lists
.agent/rules/ui-dimensions.mdHard bans + API quick referenceLong product essays
.agent/rules/frontend-ui.mdStack bans, import boundaries, composite import listFull visual essays
src/ui-kit/Components + CSS tokens (implementation SSOT)Product architecture
docs/aspects/Cross-cutting data planes (sync, refresh, offline)Visual taxonomy

Feature archetypes and package touch lists → .agent/rules/frontend-features.md.

  • New UI must follow this corpus (and the linked agent rules).
  • Existing UI may diverge; gaps are marked pending alignment in the topic docs. Fix them in follow-up tasks — do not weaken the spec to match forks.