Skip to content

Docs: the frontend design system, and UI rules for agents - #8

Merged
bflatastic merged 1 commit into
mainfrom
docs/frontend-design-system
Dec 3, 2026
Merged

bflatastic merged 1 commit into
mainfrom
docs/frontend-design-system

Conversation

@bflatastic

Copy link
Copy Markdown
Member

What

Documentation only.

  • frontend/design-system.md: the colour, type, spacing, shape and motion tokens, interaction states, the component kit and button variants, layout, and accessibility rules, written from src/index.css and src/components/ui.tsx.
  • AGENTS.md: a "Build the UI from the design system" section, and a link in "Where to work".
  • frontend/README.md: a link to the doc.

The doc sits under frontend/ because it is a contributor guide; files under docs/ are package and Docker inputs.

Checked

  • git diff --check: passed
  • python -B -m unittest discover -s scripts -p test_design_contract.py: passed
  • test_native_package.py: 7 of 8 pass on Windows; the one error (WinError 193) is the same without this change
  • Frontend build: not run (Markdown only)

frontend/design-system.md describes the tokens, the component kit and the layout and accessibility rules. AGENTS.md points to it and lists the rules a UI change must follow.
@bflatastic
bflatastic merged commit ef6fa88 into main Dec 3, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant