The stylesheets

What each one holds, the accent, the two window steps, tune.css

1 min readWritten for your agentMarkdown

The six imports in README.md, "The stylesheet", in their order; the other two only for a choice of yours.

  • goop/contract.css maps Tailwind's names onto the theme's variables (bg-primary is var(--primary); the control heights, icon boxes and pane widths too: h-control-md is var(--spacing-control-md)), and goop/base.css holds the base layer every component assumes: a bare border draws in the theme's border colour, the body takes the theme's background, text and face, and every control gets its cursor.
  • goop/trail/theme.css is the theme's values, light on :root and dark under .dark; extensions.css maps the theme's own tokens beyond the shared set; base.css loads the two font families.
  • The accent is one token, --primary. The accent's hover (--primary-hover), the link colour (--link) and a row checkbox's hover edge (--hue-blue-edge) are derived from it, light and dark, so a brand colour in tune.css carries to all of them. A browser without CSS relative colours keeps the theme's own values.
  • The window has two steps, both tokens: breakpoint.narrow (the phone look at 640 px and below, max-narrow:) and breakpoint.wide (1,023 px and below, max-wide:; from 1,024 px, not-max-wide:, the frame's rail stands in the row). AppFrame, Banner and SettingsPage (sections) share wide, so a banner's words stay on the top bar's title at every width; a rule of yours that follows the frame writes max-wide: / not-max-wide: too.
  • goop/trail/tune.css, imported last, holds the brand colour, the corners and the density. As installed it changes nothing; a tuned theme from Goop fills it. Your agent never edits it.
  • The components are your own source, so Tailwind finds their class names with the rest of your app.
  • The other two are for a choice of yours, each imported after the six, and neither changes anything until you make it: goop/conventions.css turns a small convention on (a 2 px focus ring, say) by its word in data-goop-conventions="<words>" on the theme's root element; goop/trail/theme.scoped.css is for several themes on one page (EXAMPLES.md).

Where would you like to start?

Free · now

The Goop plugin

A design system for your AI coding agent, so screen ten matches screen one.

/plugin marketplace add goop-so/skillsthen /plugin install goop@goopCodex, Cursor, ChatGPT, the Claude app and more: Connect Goop
FreePro

The components

Every part live, with its props, its keys and what an agent sees. Whole page and app templates, working with sample data.