design-tokens.css 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /* ==========================================================================
  2. design-tokens.css — shared CSS custom properties for tasplanning.report
  3. Link this file from every page's <head> BEFORE any page-specific <style>:
  4. <link rel="stylesheet" href="/css/design-tokens.css">
  5. Pages that need different values for a specific token (e.g. --radius on
  6. site-report) can override just that token in a subsequent <style> block.
  7. NOTE: dashboard.php uses an abbreviated naming convention (--acc, --t1,
  8. etc.) and is excluded from this file — its tokens live inline.
  9. ========================================================================== */
  10. :root {
  11. /* ── Backgrounds ────────────────────────────────────────────────────── */
  12. --bg: #0b0f0e;
  13. --bg-1: #111614;
  14. --bg-2: #181e1b;
  15. --bg-card: #141a17;
  16. /* ── Borders ────────────────────────────────────────────────────────── */
  17. --border: rgba(255,255,255,0.07);
  18. --border-hover: rgba(255,255,255,0.14);
  19. /* ── Accent (green) ─────────────────────────────────────────────────── */
  20. --accent: #2ddc8a;
  21. --accent-dim: rgba(45,220,138,0.10);
  22. --accent-glow: rgba(45,220,138,0.22);
  23. /* ── Text ───────────────────────────────────────────────────────────── */
  24. --text-primary: #eaf0ec;
  25. --text-secondary: #8fa899;
  26. --text-muted: #4f6459;
  27. /* ── Status ─────────────────────────────────────────────────────────── */
  28. --danger: #f08080;
  29. --warn: #f0c060;
  30. --warn-dim: rgba(240,192,96,0.10);
  31. /* ── Typography ─────────────────────────────────────────────────────── */
  32. --serif: 'DM Serif Display', Georgia, serif;
  33. --sans: 'DM Sans', system-ui, sans-serif;
  34. --mono: ui-monospace, 'Cascadia Code', Menlo, monospace;
  35. /* ── Shape ──────────────────────────────────────────────────────────── */
  36. --radius-sm: 5px;
  37. --radius: 10px;
  38. --radius-lg: 16px;
  39. --radius-xl: 26px;
  40. /* ── Motion ─────────────────────────────────────────────────────────── */
  41. --transition: 0.16s cubic-bezier(0.4,0,0.2,1);
  42. }