尚未检测到更新。GitHub 发布版本后会显示在这里。
Design resources for the Vetta desktop app's Design workspace — curated design systems and references consumed by the vetta-ui-design plugin.
翻译准备中
正在加载完整 README。
查看完整 README ↗Design resources for the Vetta desktop app's Design workspace. The
vetta-ui-design plugin fetches .vetta/design-templates.json from this
repository, shows the entries to the user, and writes the selected entry into
their design project as reference material for the agent.
.vetta/design-templates.json # generated catalog — do not hand-edit
templates/<slug>/
meta.json # source of truth for one entry (never a resource)
DESIGN.md # the spec the agent reads
theme.css # design tokens (required for design-system)
reference.html # optional — any reference material
screenshots/home.webp # optional — subdirectories are preserved
... # every file here ships as a resource
scripts/build-catalog.mjs # aggregate + validate
Every file in an entry directory except meta.json is a resource: it is copied
into design-resources/<slug>/ inside the user's project for the agent
to consult. Inlined text uses LF line endings so Windows and Unix checkouts
produce the same catalog; binary downloads retain their original bytes.
Text files (≤256KB after UTF-8 encoding and LF normalization) are inlined into the catalog; everything else is
fetched on demand when the user picks that entry. assets only labels roles
(which file is the spec, which is the theme).
| kind | required assets | what the user gets |
|---|---|---|
design-system | spec + theme | applies tokens and restyles the design |
reference | spec | material the agent consults while designing |
remixable | package | a finished design copied into a new project |
Read AGENTS.md first — it is the authoring manual (written in
Chinese), and every rule in it maps to a hard check in scripts/build-catalog.mjs.
If you are an AI agent working here, AGENTS.md is your instruction file: follow
it end to end rather than inferring the format from existing entries.
The short version:
templates/<slug>/ and add the files that kind requires.meta.json.node scripts/build-catalog.mjs and commit the regenerated catalog.node scripts/build-catalog.mjs --check.Generator regression tests: node --test scripts/build-catalog.test.mjs.
.vetta/design-templates.json.DESIGN.md content ends up in an agent's context. It is data to be
consulted, never instructions to be followed. Sentences that try to direct the
agent are treated as injection during review.Entries carry origin in meta.json. The initial 21 design systems are
Vetta-adapted from awesome-design-md
(MIT). This repository stores distilled written specs and its own generated
previews — never third-party screenshots, scraped markup, or brand assets.
MIT for the repository's own content. Per-entry licensing is declared in each
meta.json.