|
| 1 | +vars: { |
| 2 | + d2-config: { |
| 3 | + theme-id: 0 |
| 4 | + dark-theme-overrides: { |
| 5 | + # Canvas background |
| 6 | + N7: "#121a19" |
| 7 | + |
| 8 | + # Neutrals - desaturated grays for default nodes |
| 9 | + N1: "#e8eced" |
| 10 | + N2: "#c5cacc" |
| 11 | + N3: "#95a0a3" |
| 12 | + N4: "#4a5759" |
| 13 | + N5: "#2d3739" |
| 14 | + N6: "#1a2324" |
| 15 | + |
| 16 | + # Borders - neutral grays |
| 17 | + B1: "#3a4547" |
| 18 | + B2: "#4a5759" |
| 19 | + B3: "#5a6769" |
| 20 | + B4: "#1a2324" |
| 21 | + B5: "#2d3739" |
| 22 | + B6: "#4a5759" |
| 23 | + |
| 24 | + # Semantic colors - intentional states |
| 25 | + AA2: "#a87c45" |
| 26 | + AA4: "#a33636" |
| 27 | + AA5: "#4d3d2b" |
| 28 | + AB4: "#247056" |
| 29 | + AB5: "#34578f" |
| 30 | + } |
| 31 | + } |
| 32 | +} |
| 33 | + |
| 34 | +# Semantic color classes for workflow states |
| 35 | +classes: { |
| 36 | + # Generic semantic classes (for general use) |
| 37 | + neutral: { |
| 38 | + style.fill: "#95a0a3" |
| 39 | + style.stroke: "#4a5759" |
| 40 | + } |
| 41 | + info: { |
| 42 | + style.fill: "#34578f" |
| 43 | + style.stroke: "#5c8dd6" |
| 44 | + } |
| 45 | + warning: { |
| 46 | + style.fill: "#a87c45" |
| 47 | + style.stroke: "#d9a66e" |
| 48 | + } |
| 49 | + error: { |
| 50 | + style.fill: "#a33636" |
| 51 | + style.stroke: "#e85c5c" |
| 52 | + } |
| 53 | + success: { |
| 54 | + style.fill: "#247056" |
| 55 | + style.stroke: "#33cc7f" |
| 56 | + } |
| 57 | + |
| 58 | + # Run state classes (started, completed, failed) |
| 59 | + run_started: { |
| 60 | + style.fill: "#34578f" |
| 61 | + style.stroke: "#5c8dd6" |
| 62 | + } |
| 63 | + run_completed: { |
| 64 | + style.fill: "#247056" |
| 65 | + style.stroke: "#33cc7f" |
| 66 | + } |
| 67 | + run_failed: { |
| 68 | + style.fill: "#a33636" |
| 69 | + style.stroke: "#e85c5c" |
| 70 | + } |
| 71 | + |
| 72 | + # Step state classes (created, started, completed, failed) |
| 73 | + step_created: { |
| 74 | + style.fill: "#95a0a3" |
| 75 | + style.stroke: "#4a5759" |
| 76 | + } |
| 77 | + step_started: { |
| 78 | + style.fill: "#34578f" |
| 79 | + style.stroke: "#5c8dd6" |
| 80 | + } |
| 81 | + step_completed: { |
| 82 | + style.fill: "#247056" |
| 83 | + style.stroke: "#33cc7f" |
| 84 | + } |
| 85 | + step_failed: { |
| 86 | + style.fill: "#a33636" |
| 87 | + style.stroke: "#e85c5c" |
| 88 | + } |
| 89 | + |
| 90 | + # Task state classes (queued, completed, failed) |
| 91 | + task_queued: { |
| 92 | + style.fill: "#95a0a3" |
| 93 | + style.stroke: "#4a5759" |
| 94 | + } |
| 95 | + task_completed: { |
| 96 | + style.fill: "#247056" |
| 97 | + style.stroke: "#33cc7f" |
| 98 | + } |
| 99 | + task_failed: { |
| 100 | + style.fill: "#a33636" |
| 101 | + style.stroke: "#e85c5c" |
| 102 | + } |
| 103 | +} |
0 commit comments