/* The four themes of the Figma file (variable collection "Theme": Light, Dark, Homebrew, Gruvbox).
   Values are read from Figma; --s0..--s11 are the line colours by slot (rail, issued, in progress,
   done, blocked, highlight, link, in review, rail secondary, draft, positive, negative). */
:root, :root[data-theme='light'] {
  --bg: #d5d5d5; --primary: #000000cc; --secondary: #00000080; --tertiary: #00000059; --quaternary: #00000021;
  --link: #0077ff; --highlight: #e21dd8; --rail: #2c2c2c;
  --s0: #2c2c2c; --s1: #36beb3; --s2: #6e44e0; --s3: #2caf23; --s4: #c4441d; --s5: #e21dd8; --s6: #0077ff;
  --s7: #adc41c; --s8: #7d7d7d; --s9: #7d7d7d; --s10: #2caf23; --s11: #c4441d;
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Cg fill='%23000000' fill-opacity='.35'%3E%3Crect width='1' height='1'/%3E%3Crect x='2' y='2' width='1' height='1'/%3E%3C/g%3E%3C/svg%3E");
}
:root[data-theme='dark'] {
  --bg: #26282b; --primary: #ffffffcc; --secondary: #ffffff80; --tertiary: #ffffff59; --quaternary: #ffffff21;
  --link: #0077ff; --highlight: #e21dd8; --rail: #d2d2d3;
  --s0: #d2d2d3; --s1: #36beb3; --s2: #7342fa; --s3: #2caf23; --s4: #c4441d; --s5: #e21dd8; --s6: #0077ff;
  --s7: #adc41c; --s8: #7d7d7d; --s9: #7d7d7d; --s10: #2caf23; --s11: #c4441d;
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Cg fill='%23ffffff' fill-opacity='.35'%3E%3Crect width='1' height='1'/%3E%3Crect x='2' y='2' width='1' height='1'/%3E%3C/g%3E%3C/svg%3E");
}
:root[data-theme='homebrew'] {
  --bg: #0d1813; --primary: #22ff00cc; --secondary: #22ff0080; --tertiary: #22ff0059; --quaternary: #22ff0026;
  --link: #2ed2ff; --highlight: #e21dd8; --rail: #1ccf02;
  --s0: #1ccf02; --s1: #24d9ca; --s2: #7f2aff; --s3: #63ffb1; --s4: #ff5100; --s5: #e21dd8; --s6: #2ed2ff;
  --s7: #dcff00; --s8: #128300; --s9: #677f63; --s10: #63ffb1; --s11: #ff004d;
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Cg fill='%2322ff00' fill-opacity='.35'%3E%3Crect width='1' height='1'/%3E%3Crect x='2' y='2' width='1' height='1'/%3E%3C/g%3E%3C/svg%3E");
}
:root[data-theme='gruvbox'] {
  --bg: #282828; --primary: #928374cc; --secondary: #92837480; --tertiary: #92837459; --quaternary: #92837421;
  --link: #458588; --highlight: #b16286; --rail: #7d7165;
  --s0: #7d7165; --s1: #458588; --s2: #b16286; --s3: #98971a; --s4: #cc241d; --s5: #b16286; --s6: #458588;
  --s7: #d79921; --s8: #928374; --s9: #928374; --s10: #689d6a; --s11: #cc241d;
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Cg fill='%23928374' fill-opacity='.35'%3E%3Crect width='1' height='1'/%3E%3Crect x='2' y='2' width='1' height='1'/%3E%3C/g%3E%3C/svg%3E");
}
:root { color-scheme: dark; }
:root[data-theme='light'], :root:not([data-theme]) { color-scheme: light; }
