The stylesheets
What each one holds, the accent, the two window steps, tune.css
The six imports in README.md, "The stylesheet", in their order; the other two only for a choice of yours.
goop/contract.cssmaps Tailwind's names onto the theme's variables (bg-primaryisvar(--primary); the control heights, icon boxes and pane widths too:h-control-mdisvar(--spacing-control-md)), andgoop/base.cssholds the base layer every component assumes: a bareborderdraws 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.cssis the theme's values, light on:rootand dark under.dark;extensions.cssmaps the theme's own tokens beyond the shared set;base.cssloads 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 intune.csscarries 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:) andbreakpoint.wide(1,023 px and below,max-wide:; from 1,024 px,not-max-wide:, the frame's rail stands in the row).AppFrame,BannerandSettingsPage(sections) sharewide, so a banner's words stay on the top bar's title at every width; a rule of yours that follows the frame writesmax-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.cssturns a small convention on (a 2 px focus ring, say) by its word indata-goop-conventions="<words>"on the theme's root element;goop/trail/theme.scoped.cssis for several themes on one page (EXAMPLES.md).