/* heypcb colours, from heypcb.ai/brand. Light first; the dark page below. */
:root {
  --heypcb-tile: #0a0a0b; /* The mark's tile. It never changes with the theme. */
  --heypcb-die: #f4f4f2; /* The mark's die. It never changes with the theme. */
  --heypcb-paper: #ffffff; /* The page. */
  --heypcb-ink: #09090b; /* Headings, names and anything that must be read. */
  --heypcb-muted: #52525b; /* Body copy and links at rest. */
  --heypcb-dim: #a1a1aa; /* Mono captions and labels. */
  --heypcb-rule: #e4e4e7; /* Every hairline. */
  --heypcb-rule-strong: #d4d4d8; /* Registration ticks and outlined squares. */
  --heypcb-raised: #fafafa; /* One band per Datasheet page at most. */
  --heypcb-elevated: #f4f4f5; /* Chips and the tracks of switches. Datasheet only. */
  --heypcb-inky: #7c3aed; /* The assistant, and only the assistant. */
  --heypcb-challenge: #d4342a; /* The Hardware Challenge, and nothing else. */
  --heypcb-link: #2563eb; /* A link inside a sentence. */
  --heypcb-success: #16a34a; /* A check that passed. */
  --heypcb-warn: #ca8a04; /* A caution. */
  --heypcb-danger: #dc2626; /* A failure. */
  --heypcb-board: #001023; /* Behind copper: the board canvas and the 3D view. */
  --heypcb-sheet: #ffffe8; /* Behind a schematic. */
}
@media (prefers-color-scheme: dark) {
  :root {
    --heypcb-paper: #0a0a0c;
    --heypcb-ink: #f4f4f5;
    --heypcb-muted: #a1a1aa;
    --heypcb-dim: #71717a;
    --heypcb-rule: #27272d;
    --heypcb-rule-strong: #3f3f47;
    --heypcb-raised: #131317;
    --heypcb-elevated: #1a1a1f;
    --heypcb-inky: #a78bfa;
    --heypcb-challenge: #ff5a4d;
    --heypcb-link: #60a5fa;
    --heypcb-success: #4ade80;
    --heypcb-warn: #facc15;
    --heypcb-danger: #f87171;
  }
}
