mirror of
https://github.com/zooai/design.git
synced 2026-07-27 03:01:07 +00:00
main
Zoo Design System
six-color. Dark by default. One hue rendered through an opacity ladder.
The single source of truth for how every Zoo surface looks — tokens, components, brand assets, and the guidelines that hold them together.
@zooai/design
Use it
One import pulls in the whole token layer (fonts, color, type, spacing, radius, elevation, motion):
@import "@zooai/design/styles.css";
Everything below is expressed as CSS custom properties, so code copies over 1:1 — the semantic names match zoo.ngo's variables exactly.
import { Button } from "@zooai/design/components/core/Button.jsx";
import { ZooLogo } from "@zooai/design/components/core/ZooLogo.jsx";
<Button pill>Try Zoo</Button>
What's inside
| Path | What |
|---|---|
styles.css |
The one entry point — imports every token file below. |
tokens/ |
The palette. colors (bold six-color palette, dark-default), typography, spacing, radius, elevation, motion, z, fonts, base. |
components/ |
core (Button, Card, Badge, Icon, ZooLogo, Avatar, ChromeText…), forms, overlays, navigation — each as .jsx + .d.ts + a .prompt.md usage guide. |
prompts/ |
System-level generation guidance — the "make it look Zoo" system prompt, do/don't rules, page prompts. |
content/ |
The words — brand voice and taglines. |
docs/ |
How to use the system — integrate the tokens, theme, extend. |
guidelines/ |
Specimen cards — color, type, spacing, brand, iconography — the visual reference. |
assets/ |
The mark, wordmark, favicon, provider + partner logos, brand imagery. |
ui_kits/ |
Composed surfaces (e.g. SiteChrome) assembled from the components. |
Principles
- Loud by design — a bold six-color palette (yellow, magenta, cyan, green, red, blue), each accent an equal voice against a near-black ground. Color is the point, not the exception.
- Dark is the default theme — surfaces mount dark-first; light is the override.
- Self-contained components — inline styles, no CSS-framework coupling, so a component drops into any host (Next, Vite, Tamagui, none) and renders identically.
- Every component ships its own
.prompt.md— a one-screen usage guide for humans and AI alike.
Source of truth
Tokens track zoo.ngo (app/globals.css, tailwind.config.ts, DESIGN.md) and the press kit. When the brand moves, it moves here first.
License
BSD-3-Clause. Brand marks (the Zoo logo, partner and provider logos) are the property of their respective owners and are provided for identification.
Languages
HTML
51.4%
JavaScript
36%
CSS
12.6%