Skip to content

Design system and install

Turn a kept direction into a design system you can install with one command - shadcn theme, fonts and hand-off files - with a system sheet to look at first. Free on every plan.

When you keep a draft, GoBanana turns its direction into a design system: the colours, fonts, radius, shadows and motion of the hero reference, solved in light and dark. You get a system sheet to look at and one install command that puts the theme and the hand-off files in your project. All of it is Free on every plan.

Part What it is
System sheet One HTML page that shows the system at work: swatches with their contrast results, the type scale, buttons, fields, cards and states, with a light and dark switch. Your agent publishes it as an Artifact when the host can
Install command npx shadcn@latest add https://gobanana.fun/r/<token>/system.json. It writes the theme variables, adds the fonts and puts DESIGN.md, DIRECTION.md and BUILD-PROMPT.md in design/explorations/<slug>/
Theme files The same values as files: system.json (a shadcn registry item), system.css (plain CSS with a Tailwind v4 theme map), and when your package.json uses them, heroui-theme.css and daisyui-theme.css
  • Directorydesign/explorations/frosted-sleeve/
    • DESIGN.md
    • DIRECTION.md
    • BUILD-PROMPT.md
    • Directorykit/
      • system.json shadcn theme (Free)
      • system.css CSS variables and a Tailwind v4 theme (Free)
      • heroui-theme.css HeroUI theme, only when you use HeroUI (Free)
      • daisyui-theme.css daisyUI theme, only when you use daisyUI (Free)
      • system-sheet.html the system sheet (Free)

The system starts from the hero reference’s own look, as reconcile_direction read it. Roles the hero does not show (borders, the focus ring, chart colours, an error red) are filled in from the colours it does show. Dark mode keeps the same hues and flips their lightness. If the hero itself is dark, its look is the dark mode.

Then every pair is checked in both modes: text on its ground at 4.5:1 or more, and field borders, the focus ring and chart marks at 3:1 or more (WCAG 2.2 AA). Where the brand colour is too light for text, primary is the brand moved just far enough to pass, and --brand keeps the brand as it is for big fills. The corner radius stops at 32px. No AI is involved: it is arithmetic on the hero’s colours.

GoBanana asks nothing here. At the intake your agent notes whether your product already has a design system (a components.json, a Tailwind theme with its own colours, a tokens file, or you say so).

Your product What the system writes
Has its own design system Page overrides only: the values sit on a wrapper, <div data-wild-page="<slug>">, around the wild page. Your theme stays as it is everywhere else. The install adds no fonts
Has none The full system: light and dark on :root and .dark, and the fonts

If you ask for a scope in so many words (“make this our design system”, or “only this page”), that wins.

  1. In your project folder, if it has no components.json yet, run npx shadcn@latest init.

  2. Run the install command your agent gave you, exactly as given:

    Terminal window
    npx shadcn@latest add https://gobanana.fun/r/<token>/system.json
  3. Build the page: “GoBanana, build it properly”, or paste BUILD-PROMPT.md into any coding tool.

No project yet? Get the starter, a Next.js app with shadcn and the GoBanana plugin turned on, then run the install command inside it:

Terminal window
npx degit MaherFayad/gobanana-plugin/starter my-app && cd my-app && npm install

If that does not work for you, start a plain Next.js app with shadcn instead:

Terminal window
npx create-next-app@latest my-app --yes && cd my-app && npx shadcn@latest init --yes --base-color neutral

Your agent places a system tile in the direction’s section: the system’s name, a few swatches, the install command with a Copy button, and the link to the system sheet. One tile per direction; a newer one replaces it. The next steps page shows the same command with Copy buttons.

Related: export_kit, Exports, Hand off to your coding agent.