Skip to content

Self-improving AI Employees for everyone

fix(theme): the editor's text reads in Light and Atomic

trohitg965b72121ae4
diff --git a/client/src/components/parameterPanel/InputSection.tsx b/client/src/components/parameterPanel/InputSection.tsx
index b704ef0a..cfed9fad 100644
--- a/client/src/components/parameterPanel/InputSection.tsx
+++ b/client/src/components/parameterPanel/InputSection.tsx
@@ -457,7 +457,7 @@ const InputSection: React.FC<InputSectionProps> = ({ nodeId, visible = true }) =
<div key={currentPath} className={cn('mb-2', indentClass)}>
<div className="mb-1 flex items-center gap-1.5 text-xs font-medium text-muted-foreground">
{key}
- <Badge variant="secondary" className="bg-node-agent-soft px-1.5 text-[10px] text-node-agent">
+ <Badge variant="secondary" className="bg-node-agent-soft px-1.5 text-[10px] text-node-agent-ink">
[{value.length} items]
</Badge>
</div>
diff --git a/client/src/components/parameterPanel/TaskManagerPanel.tsx b/client/src/components/parameterPanel/TaskManagerPanel.tsx
index ffaf1fc9..2aa7ee29 100644
--- a/client/src/components/parameterPanel/TaskManagerPanel.tsx
+++ b/client/src/components/parameterPanel/TaskManagerPanel.tsx
@@ -89,7 +89,7 @@ const STATUS_STYLES: Record<string, string> = {
blocked: 'border-fg-muted/30 bg-bg-panel text-fg-muted',
queued: 'border-warning/30 bg-warning/10 text-warning',
running: 'border-info/30 bg-info/10 text-info',
- submitted: 'border-node-agent/30 bg-node-agent/10 text-node-agent',
+ submitted: 'border-node-agent/30 bg-node-agent/10 text-node-agent-ink',
accepted: 'border-success/30 bg-success/10 text-success',
failed: 'border-destructive/30 bg-destructive/10 text-destructive',
cancelled: 'border-fg-muted/30 bg-bg-panel text-fg-muted',
diff --git a/client/src/components/parameterPanel/TeamMonitorPanel.tsx b/client/src/components/parameterPanel/TeamMonitorPanel.tsx
index f6e5c132..ad3f73b4 100644
--- a/client/src/components/parameterPanel/TeamMonitorPanel.tsx
+++ b/client/src/components/parameterPanel/TeamMonitorPanel.tsx
@@ -11,7 +11,7 @@ import { cn } from '@/lib/utils';
const LEAD_TYPES = new Set(['orchestrator_agent', 'ai_employee']);
const STATUS_STYLE: Record<string, string> = {
blocked: 'text-fg-muted', queued: 'text-warning', running: 'text-info',
- submitted: 'text-node-agent', accepted: 'text-success', failed: 'text-destructive',
+ submitted: 'text-node-agent-ink', accepted: 'text-success', failed: 'text-destructive',
cancelled: 'text-fg-muted', working: 'text-info', idle: 'text-success', connected: 'text-success',
};
diff --git a/client/src/components/ui/ConsolePanel.tsx b/client/src/components/ui/ConsolePanel.tsx
index ccd77163..5aa7d6ee 100644
--- a/client/src/components/ui/ConsolePanel.tsx
+++ b/client/src/components/ui/ConsolePanel.tsx
@@ -412,7 +412,7 @@ const ConsolePanel: React.FC<ConsolePanelProps> = ({
className={cn(
'flex items-center gap-1 rounded-sm px-2 py-0.5 text-xs transition-colors',
activeTab === 'chat'
- ? 'bg-node-trigger-soft font-semibold text-node-trigger'
+ ? 'bg-node-trigger-soft font-semibold text-node-trigger-ink'
: 'text-muted-foreground hover:bg-muted'
)}
>
@@ -427,7 +427,7 @@ const ConsolePanel: React.FC<ConsolePanelProps> = ({
className={cn(
'flex items-center gap-1 rounded-sm px-2 py-0.5 text-xs transition-colors',
activeTab === 'console'
- ? 'bg-node-agent-soft font-semibold text-node-agent'
+ ? 'bg-node-agent-soft font-semibold text-node-agent-ink'
: 'text-muted-foreground hover:bg-muted'
)}
>
@@ -441,7 +441,7 @@ const ConsolePanel: React.FC<ConsolePanelProps> = ({
className={cn(
'flex items-center gap-1 rounded-sm px-2 py-0.5 text-xs transition-colors',
activeTab === 'terminal'
- ? 'bg-node-model-soft font-semibold text-node-model'
+ ? 'bg-node-model-soft font-semibold text-node-model-ink'
: 'text-muted-foreground hover:bg-muted'
)}
>
@@ -457,7 +457,7 @@ const ConsolePanel: React.FC<ConsolePanelProps> = ({
className={cn(
'ml-1 flex items-center rounded-sm px-1.5 py-0.5 text-xs transition-colors',
splitView
- ? 'bg-node-tool-soft text-node-tool'
+ ? 'bg-node-tool-soft text-node-tool-ink'
: 'text-muted-foreground hover:bg-muted'
)}
>
@@ -528,7 +528,7 @@ const ConsolePanel: React.FC<ConsolePanelProps> = ({
<label
className={cn(
'flex cursor-pointer items-center gap-1 rounded-sm px-1.5 py-0.5 text-xs text-muted-foreground transition-colors',
- prettyPrint && 'bg-node-model-soft text-node-model'
+ prettyPrint && 'bg-node-model-soft text-node-model-ink'
)}
title="Format JSON and convert escaped newlines"
>
@@ -600,7 +600,7 @@ const ConsolePanel: React.FC<ConsolePanelProps> = ({
</span>
{log.source_node_label && (
<span
- className="min-w-[80px] max-w-[120px] truncate font-mono text-xs text-node-trigger opacity-85"
+ className="min-w-[80px] max-w-[120px] truncate font-mono text-xs text-node-trigger-ink opacity-85"
title={`Source: ${log.source_node_type} (${log.source_node_id})`}
>
{log.source_node_label}
diff --git a/client/src/components/ui/SettingsPanel.tsx b/client/src/components/ui/SettingsPanel.tsx
index a94361c0..504ca154 100644
--- a/client/src/components/ui/SettingsPanel.tsx
+++ b/client/src/components/ui/SettingsPanel.tsx
@@ -48,10 +48,10 @@ interface SettingsPanelProps {
type SectionTone = 'agent' | 'model' | 'workflow' | 'tool';
const TONE_CLASSES: Record<SectionTone, string> = {
- agent: 'bg-node-agent-soft text-node-agent',
- model: 'bg-node-model-soft text-node-model',
- workflow: 'bg-node-workflow-soft text-node-workflow',
- tool: 'bg-node-tool-soft text-node-tool',
+ agent: 'bg-node-agent-soft text-node-agent-ink',
+ model: 'bg-node-model-soft text-node-model-ink',
+ workflow: 'bg-node-workflow-soft text-node-workflow-ink',
+ tool: 'bg-node-tool-soft text-node-tool-ink',
};
/** The Tool Result Limit slider shows and edits characters in thousands. */
@@ -327,7 +327,7 @@ const SettingsPanel: React.FC<SettingsPanelProps> = ({
Fraction of context window that triggers memory compaction
</div>
</div>
- <span className="min-w-[42px] text-right text-sm font-semibold text-node-model">
+ <span className="min-w-[42px] text-right text-sm font-semibold text-node-model-ink">
{Math.round(settings.compactionRatio * 100)}%
</span>
</div>
@@ -360,7 +360,7 @@ const SettingsPanel: React.FC<SettingsPanelProps> = ({
Most characters one tool call can add to an agent's conversation
</div>
</div>
- <span className="min-w-[42px] text-right text-sm font-semibold text-node-model">
+ <span className="min-w-[42px] text-right text-sm font-semibold text-node-model-ink">
{toThousands(settings.toolResultMaxChars)}K
</span>
</div>
diff --git a/client/src/components/ui/TopToolbar.tsx b/client/src/components/ui/TopToolbar.tsx
index f33bba2d..724fb871 100644
--- a/client/src/components/ui/TopToolbar.tsx
+++ b/client/src/components/ui/TopToolbar.tsx
@@ -298,7 +298,7 @@ const TopToolbar: React.FC<TopToolbarProps> = ({
{/* ---------- Global Model Selector (pinned) ---------- */}
{globalModelState.providers.length > 0 && (
<div className="flex shrink-0 items-center gap-2">
- <span className="text-sm font-semibold whitespace-nowrap text-node-model">
+ <span className="text-sm font-semibold whitespace-nowrap text-node-model-ink">
Set Global Model
</span>
<Select value={globalSelectValue} onValueChange={handleSelectGlobalModel}>
@@ -358,7 +358,7 @@ const TopToolbar: React.FC<TopToolbarProps> = ({
{/* Mode Toggle - segmented control. With Normal mode on it switches
screens (Home / this editor); otherwise it filters the palette. */}
<div className="flex items-center gap-2">
- <span className="text-sm font-semibold text-node-model">Mode:</span>
+ <span className="text-sm font-semibold text-node-model-ink">Mode:</span>
{featureFlags.normalMode ? <ModeToggle /> : <div
className="flex items-center rounded-md border border-border bg-card p-0.5"
title={proMode ? 'Dev mode: All components visible' : 'Normal mode: Only AI components'}
@@ -368,8 +368,8 @@ const TopToolbar: React.FC<TopToolbarProps> = ({
className={cn(
'flex items-center gap-1 rounded-sm border px-2.5 py-1 text-xs font-semibold transition-all',
!proMode
- ? 'border-node-skill-border bg-node-skill-soft text-node-skill cursor-default'
- : 'cursor-pointer border-transparent text-node-workflow hover:bg-muted'
+ ? 'border-node-skill-border bg-node-skill-soft text-node-skill-ink cursor-default'
+ : 'cursor-pointer border-transparent text-node-workflow-ink hover:bg-muted'
)}
>
<Clock className="h-3 w-3" />
@@ -380,8 +380,8 @@ const TopToolbar: React.FC<TopToolbarProps> = ({
className={cn(
'flex items-center gap-1 rounded-sm border px-2.5 py-1 text-xs font-semibold transition-all',
proMode
- ? 'border-node-agent-border bg-node-agent-soft text-node-agent cursor-default'
- : 'cursor-pointer border-transparent text-node-workflow hover:bg-muted'
+ ? 'border-node-agent-border bg-node-agent-soft text-node-agent-ink cursor-default'
+ : 'cursor-pointer border-transparent text-node-workflow-ink hover:bg-muted'
)}
>
<Zap className="h-3 w-3" />
diff --git a/client/src/themes/atomic.css b/client/src/themes/atomic.css
index 5836e248..4aaa1349 100644
--- a/client/src/themes/atomic.css
+++ b/client/src/themes/atomic.css
@@ -244,9 +244,11 @@
:root[data-theme="atomic"] .chat-msg-bot { padding: 8px 12px; background: var(--turquoise); color: var(--bg-elevated); border-color: var(--slate); }
/* Status bar */
+/* The bar is dark here, so its values (text-fg-default) take its light text. */
:root[data-theme="atomic"] .statusbar {
background: var(--slate); color: var(--bg-elevated); border-top: 4px solid var(--accent);
font-family: var(--font-mono); letter-spacing: 0.06em;
+ --fg-default: var(--bg-elevated);
}
:root[data-theme="atomic"] .statusbar .pip { background: var(--success); }