AI media harness for planning, generating, and editing locally
TypeScript
Refine generator actions
Bitti3154181b4d9b
diff --git a/src/components/workspace/SceneBoard.tsx b/src/components/workspace/SceneBoard.tsxindex 8fab18f..c4fcafa 100644--- a/src/components/workspace/SceneBoard.tsx+++ b/src/components/workspace/SceneBoard.tsx@@ -158,7 +158,7 @@ export function SceneBoard({aria-pressed={sceneOpen}aria-label={`Settings for ${job.title}`}onClick={() => onSelect({ jobId: job.id, shotId: null })}- ><SlidersHorizontal size={15} aria-hidden="true" /> Settings</button>+ ><SlidersHorizontal size={15} aria-hidden="true" /></button><buttontype="button"@@ -170,7 +170,7 @@ export function SceneBoard({<buttontype="button"- className={`${cancellable ? "danger-button" : "primary-button"} scene-rule__generate`}+ className={`${cancellable ? "danger-button" : "fill-button"} scene-rule__generate`}disabled={!cancellable && Boolean(blocker)}title={cancellable ? `Cancel ${job.title}` : blocker ?? `Generate ${job.title}`}onClick={() => onGenerate(job)}diff --git a/src/styles/controls.css b/src/styles/controls.cssindex 401b1aa..7c51c27 100644--- a/src/styles/controls.css+++ b/src/styles/controls.css@@ -63,6 +63,32 @@cursor: not-allowed;}+.fill-button {+ min-height: var(--control-sm);+ display: inline-flex;+ align-items: center;+ justify-content: center;+ gap: var(--space-2);+ padding: 0 var(--space-3);+ border: 1px solid var(--line);+ border-radius: var(--radius-md);+ color: var(--text-primary);+ background: var(--button-fill-bg);+ font-size: var(--text-sm);+ font-weight: var(--weight-semibold);+ line-height: var(--leading-snug);+ transition: background-color var(--motion-fast) ease;+}++.fill-button:hover:not(:disabled) { background: var(--button-fill-hover); }++.fill-button:disabled {+ opacity: 1;+ color: var(--text-faint);+ background: var(--wash-2);+ cursor: not-allowed;+}+.danger-button {width: 100%;min-height: var(--control-md);diff --git a/src/styles/generator.css b/src/styles/generator.cssindex 0a0a558..7624f08 100644--- a/src/styles/generator.css+++ b/src/styles/generator.css@@ -247,8 +247,12 @@.scene-rule__settings-button {flex: 0 0 auto;+ width: var(--control-sm);+ height: var(--control-sm);min-height: var(--control-sm);- white-space: nowrap;+ padding: 0;+ display: grid;+ place-items: center;}.scene-rule__length {@@ -296,7 +300,6 @@.scene-rule__generate {width: auto;flex: 0 0 auto;- min-height: var(--control-sm);white-space: nowrap;}diff --git a/src/styles/tokens.css b/src/styles/tokens.cssindex bfdbeb8..0b8c537 100644--- a/src/styles/tokens.css+++ b/src/styles/tokens.css@@ -218,6 +218,13 @@--segment-active-bg: #1b2130;--segment-active-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);+ /* --- Filled neutral -------------------------------------------------------+ A row's own verb: louder than a ghost control, quieter than the one blue+ action on the surface. Without this level a demoted Generate is+ indistinguishable from the Settings button beside it. */+ --button-fill-bg: #252b36; /* --text-primary on it is 12.6:1 */+ --button-fill-hover: #2d3442;+/* --- Progress ----------------------------------------------------------- */--track: #20252e;--progress-fill: #9aa2b1; /* 6.0:1 on --track */@@ -351,6 +358,9 @@--segment-active-bg: #ffffff;--segment-active-shadow: 0 1px 2px rgba(15, 23, 42, 0.10);+ --button-fill-bg: #e2e6ee; /* --text-primary on it is 14.7:1 */+ --button-fill-hover: #d6dbe6;+--track: #dfe3ec;--progress-fill: #4a5365; /* 6.0:1 on --track */@@ -456,6 +466,9 @@--segment-active-bg: #ffffff;--segment-active-shadow: 0 1px 2px rgba(15, 23, 42, 0.10);+ --button-fill-bg: #e2e6ee;+ --button-fill-hover: #d6dbe6;+--track: #dfe3ec;--progress-fill: #4a5365;