{
  "about": "Parastrate design tokens, from src/components/theme.css. Use them as var(--name); light is the default, dark applies under data-theme=\"dark\" (or \"auto\" on a dark device). See https://parastrate.com/style",
  "groups": {
    "color": "Color",
    "type": "Type",
    "space": "Space",
    "shape": "Shape",
    "elevation": "Elevation and layers",
    "motion": "Motion",
    "scroll": "Scroll bars"
  },
  "tokens": [
    {
      "name": "--wb-canvas",
      "group": "color",
      "light": "#f5f7fa",
      "dark": "#0d1520",
      "use": "The faint gray behind: wells, the tab strip, insets. Not for the page itself."
    },
    {
      "name": "--wb-surface",
      "group": "color",
      "light": "#ffffff",
      "dark": "#151f2c",
      "use": "The page, panels, cards and tables: one white surface (S2)."
    },
    {
      "name": "--wb-surface-raised",
      "group": "color",
      "light": "#ffffff",
      "dark": "#1b2736",
      "use": "Something lifted off the page: a dialog, a menu, an open accordion. The same white in light; a step lighter in dark."
    },
    {
      "name": "--wb-surface-inset",
      "group": "color",
      "light": "#eef1f5",
      "dark": "#1f2b3a",
      "use": "An inset area, and the hover of a row."
    },
    {
      "name": "--wb-text",
      "group": "color",
      "light": "#0d1520",
      "dark": "#e6ebf2",
      "use": "Text (S2). 4.5:1 or better on every ground, in both themes."
    },
    {
      "name": "--wb-text-muted",
      "group": "color",
      "light": "#566374",
      "dark": "#9aa8b8",
      "use": "Secondary text: leads, captions, labels. Also 4.5:1 or better."
    },
    {
      "name": "--wb-border",
      "group": "color",
      "light": "#d6dde5",
      "dark": "#2a3747",
      "use": "1 px hairlines: between rows, around cards and tables."
    },
    {
      "name": "--wb-border-strong",
      "group": "color",
      "light": "#9aa8b8",
      "dark": "#4a5a6e",
      "use": "The edge between major regions only."
    },
    {
      "name": "--wb-accent",
      "group": "color",
      "light": "#473089",
      "dark": "#a98bff",
      "use": "Royal Purple, shared with Home: links, the current item, the one primary button, selection. Sparingly. A lighter purple in dark mode."
    },
    {
      "name": "--wb-accent-hover",
      "group": "color",
      "light": "#3a2672",
      "dark": "#bda6ff",
      "use": "Hover and pressed state of accent links and buttons."
    },
    {
      "name": "--wb-on-accent",
      "group": "color",
      "light": "#ffffff",
      "dark": "#0d1520",
      "use": "Text or an icon on an accent fill."
    },
    {
      "name": "--wb-focus",
      "group": "color",
      "light": "#473089",
      "dark": "#a98bff",
      "use": "The focus ring: 2 px, offset 2 px, on every focusable thing."
    },
    {
      "name": "--wb-danger",
      "group": "color",
      "light": "#b42318",
      "dark": "#f97066",
      "use": "Failed, destructive, wrong. With a word, never color alone."
    },
    {
      "name": "--wb-on-danger",
      "group": "color",
      "light": "#ffffff",
      "dark": "#0d1520",
      "use": "Text on a danger fill."
    },
    {
      "name": "--wb-success",
      "group": "color",
      "light": "#147a42",
      "dark": "#4ade80",
      "use": "Done, passed, right."
    },
    {
      "name": "--wb-on-success",
      "group": "color",
      "light": "#ffffff",
      "dark": "#0d1520",
      "use": "Text on a success fill."
    },
    {
      "name": "--wb-warning",
      "group": "color",
      "light": "#a15c00",
      "dark": "#fbbf24",
      "use": "Needs a look; a wrong answer that is not an error."
    },
    {
      "name": "--wb-on-warning",
      "group": "color",
      "light": "#ffffff",
      "dark": "#0d1520",
      "use": "Text on a warning fill."
    },
    {
      "name": "--wb-info",
      "group": "color",
      "light": "#0566b3",
      "dark": "#60a5fa",
      "use": "Information, neutral news."
    },
    {
      "name": "--wb-on-info",
      "group": "color",
      "light": "#ffffff",
      "dark": "#0d1520",
      "use": "Text on an info fill."
    },
    {
      "name": "--wb-neutral",
      "group": "color",
      "light": "#566374",
      "dark": "#9aa8b8",
      "use": "A status with no judgement in it (a count, \"draft\")."
    },
    {
      "name": "--wb-on-neutral",
      "group": "color",
      "light": "#ffffff",
      "dark": "#0d1520",
      "use": "Text on a neutral fill."
    },
    {
      "name": "--wb-font-family",
      "group": "type",
      "light": "'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif",
      "dark": null,
      "use": "Outfit, then the system sans-serif. Everything people read."
    },
    {
      "name": "--wb-font-mono",
      "group": "type",
      "light": "'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, Menlo, monospace",
      "dark": null,
      "use": "JetBrains Mono, then the system monospace. Labels, data and code, at most a third of a page (S1)."
    },
    {
      "name": "--wb-font-size",
      "group": "type",
      "light": "0.875rem",
      "dark": null,
      "use": "Text inside components: buttons, fields, cards. (A page sets 15 px itself, below.)"
    },
    {
      "name": "--wb-font-size-sm",
      "group": "type",
      "light": "0.75rem",
      "dark": null,
      "use": "Small text inside components: captions, badges."
    },
    {
      "name": "--wb-font-size-lg",
      "group": "type",
      "light": "1rem",
      "dark": null,
      "use": "Larger text inside components."
    },
    {
      "name": "--wb-font-weight-semibold",
      "group": "type",
      "light": "500",
      "dark": null,
      "use": "Titles: 500. Never 700 or more."
    },
    {
      "name": "--wb-line-height",
      "group": "type",
      "light": "1.45",
      "dark": null,
      "use": "Line height inside components. A page sets 1.55 itself."
    },
    {
      "name": "--wb-space-1",
      "group": "space",
      "light": "0.25rem",
      "dark": null,
      "use": "4 px."
    },
    {
      "name": "--wb-space-2",
      "group": "space",
      "light": "0.5rem",
      "dark": null,
      "use": "8 px."
    },
    {
      "name": "--wb-space-3",
      "group": "space",
      "light": "0.75rem",
      "dark": null,
      "use": "12 px."
    },
    {
      "name": "--wb-space-xs",
      "group": "space",
      "light": "0.25rem",
      "dark": null,
      "use": "4 px: the same as --wb-space-1."
    },
    {
      "name": "--wb-space-sm",
      "group": "space",
      "light": "0.5rem",
      "dark": null,
      "use": "8 px."
    },
    {
      "name": "--wb-space-md",
      "group": "space",
      "light": "0.75rem",
      "dark": null,
      "use": "12 px."
    },
    {
      "name": "--wb-space-lg",
      "group": "space",
      "light": "1rem",
      "dark": null,
      "use": "16 px: between related things."
    },
    {
      "name": "--wb-space-xl",
      "group": "space",
      "light": "1.5rem",
      "dark": null,
      "use": "24 px. (32 px between sections is written out.)"
    },
    {
      "name": "--wb-control-block-size",
      "group": "space",
      "light": "2rem",
      "dark": null,
      "use": "Height of a control inside a component (32 px). A control you place yourself is at least 36 px tall on a desktop and 44 px on a phone."
    },
    {
      "name": "--wb-control-padding-inline",
      "group": "space",
      "light": "0.75rem",
      "dark": null,
      "use": "Side padding of a control."
    },
    {
      "name": "--wb-border-width",
      "group": "shape",
      "light": "1px",
      "dark": null,
      "use": "The hairline: 1 px."
    },
    {
      "name": "--wb-radius-xs",
      "group": "shape",
      "light": "0.125rem",
      "dark": null,
      "use": "The small corner of a component part: 2 px."
    },
    {
      "name": "--wb-radius-sm",
      "group": "shape",
      "light": "0.125rem",
      "dark": null,
      "use": "2 px."
    },
    {
      "name": "--wb-radius-md",
      "group": "shape",
      "light": "0.125rem",
      "dark": null,
      "use": "2 px."
    },
    {
      "name": "--wb-radius-lg",
      "group": "shape",
      "light": "0.125rem",
      "dark": null,
      "use": "2 px. (Panels and cards use 8 px, written out; there is no token for it yet.)"
    },
    {
      "name": "--wb-radius-control",
      "group": "shape",
      "light": "4px",
      "dark": null,
      "use": "A control, a list row and its hover: 4 px."
    },
    {
      "name": "--wb-shadow-sm",
      "group": "elevation",
      "light": "0 0.0625rem 0.1875rem rgb(13 21 32 / 0.10)",
      "dark": "0 0.0625rem 0.1875rem rgb(0 0 0 / 0.4)",
      "use": "The most a raised thing gets. No heavy shadows."
    },
    {
      "name": "--wb-shadow-md",
      "group": "elevation",
      "light": "0 0.25rem 1rem rgb(13 21 32 / 0.12)",
      "dark": "0 0.25rem 1rem rgb(0 0 0 / 0.45)",
      "use": "A card or popover in a component."
    },
    {
      "name": "--wb-shadow-lg",
      "group": "elevation",
      "light": "0 0.75rem 2rem rgb(13 21 32 / 0.16)",
      "dark": "0 0.75rem 2rem rgb(0 0 0 / 0.5)",
      "use": "A dialog."
    },
    {
      "name": "--wb-elevation",
      "group": "elevation",
      "light": "var(--wb-shadow-md)",
      "dark": null,
      "use": "The default elevation of cards and dialogs: --wb-shadow-md."
    },
    {
      "name": "--wb-z-dropdown",
      "group": "elevation",
      "light": "1000",
      "dark": null,
      "use": "Stacking order for menus and popovers: 1000."
    },
    {
      "name": "--wb-duration-fast",
      "group": "motion",
      "light": "120ms",
      "dark": null,
      "use": "Hover, press, a chevron turning: 120 ms."
    },
    {
      "name": "--wb-duration-normal",
      "group": "motion",
      "light": "180ms",
      "dark": null,
      "use": "A panel opening, a dialog appearing: 180 ms."
    },
    {
      "name": "--wb-easing",
      "group": "motion",
      "light": "cubic-bezier(0.2, 0, 0, 1)",
      "dark": null,
      "use": "The easing for all of it. Turn motion off under prefers-reduced-motion."
    },
    {
      "name": "--wb-scrollbar-thumb",
      "group": "scroll",
      "light": "#473089",
      "dark": "#8466dc",
      "use": "The thumb of every scroll bar, thin: Royal Purple, a lighter tint in dark. Never restyle it."
    },
    {
      "name": "--wb-scrollbar-track",
      "group": "scroll",
      "light": "transparent",
      "dark": null,
      "use": "The track: transparent, out of the way."
    }
  ]
}
