Skip to content

Self-improving AI Employees for everyone

fix(theme): make execution glow visible — wider keyframe range + theme-controlled --node-pulse-color (Wave 30)

trohitg7f3f3cf39333
diff --git a/client/src/themes/atomic.css b/client/src/themes/atomic.css
index aba417d4..187fd50d 100644
--- a/client/src/themes/atomic.css
+++ b/client/src/themes/atomic.css
@@ -52,6 +52,10 @@
--motion-style: bouncy;
--sound-pack: vibraphone;
+ /* Wave 30: turquoise pulse — matches the atomic accent + the
+ * boomerang selection halo. Reads against cardstock backgrounds. */
+ --node-pulse-color: hsl(var(--accent));
+
--cursor-default: auto;
--cursor-pointer: pointer;
--scrollbar-track: #f0e6d2;
diff --git a/client/src/themes/base.css b/client/src/themes/base.css
index 91b09007..6798f18e 100644
--- a/client/src/themes/base.css
+++ b/client/src/themes/base.css
@@ -47,6 +47,14 @@
* gradient or SVG data-url. Default: no pattern. */
--canvas-grid: none;
--canvas-grid-opacity: 0.4;
+
+ /* Node execution pulse colour (Wave 30). Independent of `--node-color`
+ * (the plugin accent) so the executing-node glow stays high-contrast
+ * against the canvas background regardless of which plugin is running.
+ * Each theme overrides this to its most visible accent (Cyber neon
+ * cyan, Renaissance gold, Surveillance REC red, etc.). The default
+ * `hsl(var(--info))` resolves to a theme-tinted blue under shadcn. */
+ --node-pulse-color: hsl(var(--info));
}
/* ============================================================================
@@ -131,18 +139,30 @@
}
/* Pulse during execution — react-flow toggles `.executing` on the wrapper
- via canvasAnimations.ts (`.react-flow__node.executing`). */
+ via canvasAnimations.ts (`.react-flow__node.executing`). The keyframe
+ uses --node-pulse-color (theme-controlled high-contrast accent) NOT
+ --node-color (plugin accent), so the glow stays visible against any
+ theme background — Cyber's near-black, Renaissance's vellum,
+ Surveillance's grey, etc. */
.react-flow__node.executing .node {
- animation: node-pulse 1.5s ease-in-out infinite;
+ animation: node-pulse 1.4s ease-in-out infinite;
}
+/* Two-layer pulse: a soft far-halo (drop shadow) for visibility at
+ * canvas zoom + a hard ring that breathes outward. Range is 0→14px
+ * ring + 8→22px halo so the executing signal reads from at least
+ * 50% canvas zoom. References the pre-W21 inline glow pattern. */
@keyframes node-pulse {
0%,
100% {
- box-shadow: 0 0 0 0 color-mix(in srgb, var(--node-color, hsl(var(--ring))) 60%, transparent);
+ box-shadow:
+ 0 0 0 0 color-mix(in srgb, var(--node-pulse-color) 75%, transparent),
+ 0 0 8px 0 color-mix(in srgb, var(--node-pulse-color) 50%, transparent);
}
50% {
- box-shadow: 0 0 0 6px color-mix(in srgb, var(--node-color, hsl(var(--ring))) 0%, transparent);
+ box-shadow:
+ 0 0 0 6px color-mix(in srgb, var(--node-pulse-color) 35%, transparent),
+ 0 0 22px 6px color-mix(in srgb, var(--node-pulse-color) 60%, transparent);
}
}
diff --git a/client/src/themes/cyber.css b/client/src/themes/cyber.css
index 28b424c0..c7300696 100644
--- a/client/src/themes/cyber.css
+++ b/client/src/themes/cyber.css
@@ -71,6 +71,10 @@
--motion-style: glitch;
--sound-pack: terminal;
+ /* Wave 30: high-contrast executing-node pulse colour. Neon cyan
+ * reads vividly against the near-black canvas backplane. */
+ --node-pulse-color: var(--neon-cyan);
+
/* Cursor — crosshair targeting reticle (upstream design handoff) */
--cursor-default: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><g stroke='%23f51eb6' stroke-width='1.2' fill='none'><path d='M12 2 L12 8 M12 16 L12 22 M2 12 L8 12 M16 12 L22 12'/><circle cx='12' cy='12' r='3'/><circle cx='12' cy='12' r='1' fill='%231dd9e5'/></g></svg>") 12 12, crosshair;
--cursor-pointer: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><g stroke='%23f51eb6' stroke-width='1.5' fill='none'><rect x='3' y='3' width='18' height='18'/><rect x='8' y='8' width='8' height='8' fill='%231dd9e5'/></g></svg>") 12 12, pointer;
diff --git a/client/src/themes/edo.css b/client/src/themes/edo.css
index 9b8111f8..051368ec 100644
--- a/client/src/themes/edo.css
+++ b/client/src/themes/edo.css
@@ -54,6 +54,10 @@
--motion-style: organic;
--sound-pack: ink;
+ /* Wave 30: vermillion pulse — matches hanko seal + reads against
+ * washi paper background. */
+ --node-pulse-color: hsl(var(--accent));
+
--cursor-default: auto;
--cursor-pointer: pointer;
--scrollbar-track: #f4ecd8;
diff --git a/client/src/themes/greek.css b/client/src/themes/greek.css
index adbcffb9..bc00da48 100644
--- a/client/src/themes/greek.css
+++ b/client/src/themes/greek.css
@@ -62,6 +62,10 @@
--motion-style: smooth;
--sound-pack: marble;
+ /* Wave 30: lapis-accent pulse — high-contrast against marble +
+ * matches the temple-floor selection halo. */
+ --node-pulse-color: hsl(var(--accent));
+
--cursor-default: auto;
--cursor-pointer: pointer;
--scrollbar-track: #ede5d0;
diff --git a/client/src/themes/plague.css b/client/src/themes/plague.css
index 1f4abd79..eed97729 100644
--- a/client/src/themes/plague.css
+++ b/client/src/themes/plague.css
@@ -54,6 +54,10 @@
--motion-style: stiff;
--sound-pack: bell;
+ /* Wave 30: bile-red pulse — matches the broadsheet warning palette
+ * + reads against parchment. */
+ --node-pulse-color: hsl(var(--destructive));
+
--cursor-default: auto;
--cursor-pointer: pointer;
--scrollbar-track: #d8d4c0;
diff --git a/client/src/themes/renaissance.css b/client/src/themes/renaissance.css
index 47485fae..ae22d9fb 100644
--- a/client/src/themes/renaissance.css
+++ b/client/src/themes/renaissance.css
@@ -75,6 +75,10 @@
--motion-style: organic;
--sound-pack: parchment;
+ /* Wave 30: gold candlelight pulse — high-contrast against vellum +
+ * matches the ren-flicker keyframe's warm-glow language. */
+ --node-pulse-color: var(--gold);
+
/* Cursor — quill pen with gold-leaf nib (upstream design handoff) */
--cursor-default: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'><path d='M3 25 L10 17 L13 20 L6 27 Z' fill='%235a3a14'/><path d='M10 17 L20 5 L24 9 L13 20 Z' fill='%23d4a030' stroke='%235a3a14' stroke-width='1'/><path d='M14 9 L18 13 M12 11 L16 15 M10 13 L14 17' stroke='%235a3a14' stroke-width='0.5' fill='none'/></svg>") 3 25, auto;
--cursor-pointer: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'><path d='M5 5 L20 12 L13 14 L11 22 Z' fill='%23d4a030' stroke='%235a3a14' stroke-width='1.5'/></svg>") 5 5, pointer;
diff --git a/client/src/themes/rot.css b/client/src/themes/rot.css
index 0f7946e4..5ba6cd63 100644
--- a/client/src/themes/rot.css
+++ b/client/src/themes/rot.css
@@ -53,6 +53,10 @@
--motion-style: drift;
--sound-pack: crypt;
+ /* Wave 30: phosphor-green pulse — high-contrast against the moss
+ * + crypt-brown canvas backplane. */
+ --node-pulse-color: hsl(var(--accent));
+
--cursor-default: auto;
--cursor-pointer: pointer;
--scrollbar-track: #14181a;
diff --git a/client/src/themes/steampunk.css b/client/src/themes/steampunk.css
index 6f13aee4..f5d37314 100644
--- a/client/src/themes/steampunk.css
+++ b/client/src/themes/steampunk.css
@@ -53,6 +53,10 @@
--motion-style: mechanical;
--sound-pack: clockwork;
+ /* Wave 30: copper-accent pulse — high-contrast against leather +
+ * brass canvas, matches the rivet decorations. */
+ --node-pulse-color: hsl(var(--accent));
+
--cursor-default: auto;
--cursor-pointer: pointer;
--scrollbar-track: #2a1f12;
diff --git a/client/src/themes/surveillance.css b/client/src/themes/surveillance.css
index ca0a0da5..640b6b92 100644
--- a/client/src/themes/surveillance.css
+++ b/client/src/themes/surveillance.css
@@ -54,6 +54,10 @@
--motion-style: scanline;
--sound-pack: telex;
+ /* Wave 30: REC-red executing pulse — matches the surv-blink LED
+ * rhythm and reads against the grey CCTV canvas. */
+ --node-pulse-color: hsl(var(--destructive));
+
/* Cursor — CCTV snooper reticle (REC-red crosshair with center dot) */
--cursor-default: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><g stroke='%23e82626' stroke-width='1' fill='none'><circle cx='12' cy='12' r='8'/><path d='M12 1 L12 6 M12 18 L12 23 M1 12 L6 12 M18 12 L23 12'/><circle cx='12' cy='12' r='1.5' fill='%23e82626'/></g></svg>") 12 12, crosshair;
--cursor-pointer: pointer;
diff --git a/client/src/themes/wasteland.css b/client/src/themes/wasteland.css
index 6bf5b91e..d8b4bbed 100644
--- a/client/src/themes/wasteland.css
+++ b/client/src/themes/wasteland.css
@@ -52,6 +52,10 @@
--motion-style: jittery;
--sound-pack: scrap;
+ /* Wave 30: radioactive-yellow pulse — high-contrast against ochre
+ * dust + matches the rust-belt accent palette. */
+ --node-pulse-color: hsl(var(--accent));
+
--cursor-default: auto;
--cursor-pointer: pointer;
--scrollbar-track: #2a2018;