The fork's colors.css was still Hanzo monochrome with renamed comments. Rewrite it as Zoo's actual brand: the six colors from brand.json as CSS vars, --primary = yellow, --accent = magenta, focus ring + state colors brand-true, near-black ground. Fix the docs/prompts that still described a monochrome/opacity-ladder aesthetic — Zoo is loud, color is the point.
2.4 KiB
Page prompts
Drop-in prompts for whole sections. Each already carries the brand constraints,
so you can hand one to a model with only the specifics filled in. They assume the
system prompt (system.md) is already loaded and styles.css is imported.
Hero
Build a hero section for {product}. Dark,
--background. Centered column,--container-prose, vertical rhythm--hero-y/--hero-y-lg. One--type-heroh1(≤ 7 words, scaling to--text-7xlon lg), one--type-leadsubline (≤ 140 chars), one primary<Button pill>plus oneoutlinesecondary. Behind the column, a single--glow-heroradial — nothing else. Entry:zoo-fade-up,--duration-slow,--staggerbetween the three elements.
Feature grid
Build a 3-column feature grid (1 column on mobile). Each cell: a
lucide-reacticon at h-6 in--foregroundat 80%, a--type-h3title, a--type-body--text-secondarydescription. Cells use--surface-card,--radius-lg,--border-card. No shadows. Constrain to--container-max, gutters--gutter*. Stagger the cells in on scroll withzoo-slide-up-fade.
Pricing
Build a 3-tier pricing row. six-color cards,
--surface-card; emphasize the recommended tier with--surface-card-emphasisand a--brandhairline — not a colored fill. Price in--type-h2, cadence in--text-helper. "Free" and "Save N%" are the only colored text,--state-success. One primary CTA per card, the restoutline.
CTA / resources block (every product page ends with this)
Build the closing section: a top hairline (
--border-hairline), centered--container-prose, a--type-h2"Get started", and a row of two or three links — "Read the docs", "View on GitHub", "Talk to us" — as--text-primarywith underline-on-hover. No new color, no new component.
Navigation + footer
Build a fixed header:
--surface-headerwith backdrop blur,--header-heighttall,--z-header. Left: the H mark fromassets/logo.svg. Right: text nav links at--text-secondary, hover--text-primary, and one primary<Button pill size="sm">. Footer:--container-max, columns of quiet--text-tertiarylinks over--background, a hairline on top.
Rules that still apply
- One primary action per view.
- No hue outside the reserved semantics.
- Everything Tab-reachable, focus visible, reduced-motion honored.
After generating, run prompts/rules.md against the output.