Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix([issue-1924-pages-b]): remap off-token colors across Loops/HistoryPage/GitHub/Apps/StoryBuilder/Review/Shell/CyberCity/Ambient/PipelineSeries/AgentsPage pages

[._.]/ Adam Eivy562e5f1c96b5
diff --git a/.changelog/NEXT.md b/.changelog/NEXT.md
index d30a9567e8..bc8df43fc6 100644
--- a/.changelog/NEXT.md
+++ b/.changelog/NEXT.md
@@ -68,6 +68,7 @@
- **[issue-1924-meatspace] MeatSpace health-tracking theme consistency** — remapped off-token colors across the genome tracker and cognitive-training (POST) drills onto the existing `--port-*` theme tokens: genotype beneficial/typical status badges now follow `port-success`/`port-accent`, and ClinVar severity + genetics-flavored icons and the recurring "Training mode" accent across the POST drill runners now follow `port-accent-2`, so these surfaces stay theme-consistent instead of a fixed green/blue/purple. Per-category color palettes that intentionally differentiate unrelated categories (genome-marker-category cards, cognitive-domain badges, periodic-table element groups, life-calendar event types, and the health-overview tile colors) were left as-is. Refs #1924 — the remaining feature areas stay tracked there.
- **[issue-1924-ui] Shared UI primitives theme consistency** — remapped off-token colors in `client/src/components/ui/`: the diff renderers (`diffRuns.jsx`, `InlineDiff.jsx`, `SideBySideDiff.jsx`, `HunkDiff.jsx`) now highlight removed/added text with `--port-error`/`--port-success` instead of fixed red/green, and the shared `Toast.jsx` success/error/warning toast colors move onto `--port-success`/`--port-error`/`--port-warning`. Every site in this slice was a binary or tri-state semantic (removed vs. added, success vs. error vs. warning) rather than a category-color enum, so nothing needed to be left alone. Refs #1924.
- **[issue-1924-goals] Goals theme consistency** — remapped off-token colors across the Goals UI (todo/milestone checkboxes, the plan section's decompose/schedule actions, the list view's urgency dot, the detail panel's urgency text and complete button, and the progress slider's trend icon) onto the existing `--port-*` theme tokens, so completed-state and secondary-action colors now follow the active theme instead of staying a fixed green/purple. The category, goal-type, and check-in-status color enums in `goalConstants.js`, and `GoalsTreeView.jsx`'s apex/sub-apex/edge-type 3D-scene legend, intentionally differentiate categories rather than express theme drift and were left as-is. Refs #1924.
+- **[issue-1924-pages-b] Second half of `client/src/pages/` theme consistency** — remapped off-token colors across `AgentsPage`, `Ambient`, `Apps`, `HistoryPage`, `Loops`, `PipelineSeries`, `Review`, `Shell`, and `StoryBuilder` onto the existing `--port-*` theme tokens: process-list metric accents, PM2/JIRA detail badges, the Shell connected/disconnected indicator and destructive Stop/Ctrl+C/Kill actions, the Loops running/active status badge, and Ambient's inline-styled dashboard stats (which read raw hex matching the token palette) now follow the active theme. Also fixed two stale `hover:bg-green-600`/`hover:text-blue-400` hovers left behind after their base color had already migrated to `port-success`/`port-accent`. `GitHub.jsx`'s private/fork/npm repo-attribute badges and `CyberCity.jsx`'s cyan HUD/loading colors were left as-is — the former is a genuine category-differentiator enum, the latter is already covered by the `.cybercity-themed` CSS safety net in `index.css` plus the page's intentional neon visual identity. Refs #1924.
## UX & Accessibility
diff --git a/client/src/pages/AgentsPage.jsx b/client/src/pages/AgentsPage.jsx
index bb3784804a..fb0c15db28 100644
--- a/client/src/pages/AgentsPage.jsx
+++ b/client/src/pages/AgentsPage.jsx
@@ -40,7 +40,7 @@ export function AgentsPage() {
{/* Header */}
<div className="flex flex-col sm:flex-row sm:items-center justify-between gap-3">
<div className="flex items-center gap-2 sm:gap-3">
- <Activity size={24} className="sm:w-7 sm:h-7 text-purple-400" />
+ <Activity size={24} className="sm:w-7 sm:h-7 text-port-accent-2" />
<h1 className="text-lg sm:text-2xl font-bold text-white font-mono">AI Agent Processes</h1>
<span className="hidden sm:inline text-gray-500 text-sm">({REFRESH_INTERVAL}s)</span>
</div>
@@ -60,21 +60,21 @@ export function AgentsPage() {
<div className="text-gray-400 text-[10px] sm:text-sm mb-0.5 sm:mb-1">Processes</div>
<div className="text-lg sm:text-3xl font-bold text-white font-mono">{agents.length}</div>
</div>
- <Terminal size={20} className="sm:w-8 sm:h-8 text-purple-400" />
+ <Terminal size={20} className="sm:w-8 sm:h-8 text-port-accent-2" />
</div>
<div className="bg-port-card border border-port-border rounded-lg sm:rounded-xl p-2 sm:p-5 flex items-center justify-between">
<div>
<div className="text-gray-400 text-[10px] sm:text-sm mb-0.5 sm:mb-1">CPU</div>
<div className="text-lg sm:text-3xl font-bold text-white font-mono">{totalCpu.toFixed(1)}%</div>
</div>
- <Cpu size={20} className="sm:w-8 sm:h-8 text-blue-400" />
+ <Cpu size={20} className="sm:w-8 sm:h-8 text-port-accent" />
</div>
<div className="bg-port-card border border-port-border rounded-lg sm:rounded-xl p-2 sm:p-5 flex items-center justify-between">
<div>
<div className="text-gray-400 text-[10px] sm:text-sm mb-0.5 sm:mb-1">Memory</div>
<div className="text-lg sm:text-3xl font-bold text-white font-mono">{totalMemory.toFixed(1)}%</div>
</div>
- <MemoryStick size={20} className="sm:w-8 sm:h-8 text-green-400" />
+ <MemoryStick size={20} className="sm:w-8 sm:h-8 text-port-success" />
</div>
</div>
@@ -93,15 +93,15 @@ export function AgentsPage() {
<div className="flex items-center gap-2 min-w-0 flex-1">
<span className="font-mono text-white text-sm truncate">{agent.agentName.toLowerCase()}</span>
{agent.source === 'cos' && (
- <span className="px-1.5 py-0.5 text-[10px] bg-purple-500/20 text-purple-400 rounded shrink-0">CoS</span>
+ <span className="px-1.5 py-0.5 text-[10px] bg-port-accent-2/20 text-port-accent-2 rounded shrink-0">CoS</span>
)}
<span className="text-gray-500 text-xs shrink-0">#{agent.pid}</span>
- <span className="font-mono text-cyan-400 text-xs shrink-0 whitespace-nowrap">{agent.runtimeFormatted}</span>
+ <span className="font-mono text-port-accent text-xs shrink-0 whitespace-nowrap">{agent.runtimeFormatted}</span>
</div>
<button
onClick={() => handleKill(agent.pid)}
disabled={killing[agent.pid]}
- className="shrink-0 px-2 py-1 bg-red-500/20 text-red-400 hover:bg-red-500/30 hover:text-red-300 disabled:opacity-50 rounded text-xs font-medium flex items-center gap-1"
+ className="shrink-0 px-2 py-1 bg-port-error/20 text-port-error hover:bg-port-error/30 hover:text-port-error/80 disabled:opacity-50 rounded text-xs font-medium flex items-center gap-1"
>
<XCircle size={14} className={killing[agent.pid] ? 'animate-pulse' : ''} />
Kill
@@ -111,11 +111,11 @@ export function AgentsPage() {
<div className="flex items-center gap-4 text-xs">
<div className="flex items-center gap-1">
<span className="text-gray-500">CPU</span>
- <span className="font-mono text-green-400">{agent.cpu?.toFixed(1)}%</span>
+ <span className="font-mono text-port-success">{agent.cpu?.toFixed(1)}%</span>
</div>
<div className="flex items-center gap-1">
<span className="text-gray-500">Mem</span>
- <span className="font-mono text-blue-400">{agent.memory?.toFixed(1)}%</span>
+ <span className="font-mono text-port-accent">{agent.memory?.toFixed(1)}%</span>
</div>
</div>
<button
@@ -130,7 +130,7 @@ export function AgentsPage() {
<div className="grid grid-cols-2 gap-3 text-xs">
<div>
<div className="text-gray-500 uppercase tracking-wide mb-0.5">Agent Type</div>
- <div className="text-purple-400">{agent.agentName}</div>
+ <div className="text-port-accent-2">{agent.agentName}</div>
</div>
<div>
<div className="text-gray-500 uppercase tracking-wide mb-0.5">Parent PID</div>
@@ -195,20 +195,20 @@ export function AgentsPage() {
</button>
</td>
<td className="px-4 py-4 font-mono text-white">{agent.pid}</td>
- <td className="px-4 py-4 font-mono text-cyan-400">{agent.runtimeFormatted}</td>
- <td className="px-4 py-4 font-mono text-green-400">{agent.cpu?.toFixed(1)}%</td>
- <td className="px-4 py-4 font-mono text-blue-400">{agent.memory?.toFixed(1)}%</td>
+ <td className="px-4 py-4 font-mono text-port-accent">{agent.runtimeFormatted}</td>
+ <td className="px-4 py-4 font-mono text-port-success">{agent.cpu?.toFixed(1)}%</td>
+ <td className="px-4 py-4 font-mono text-port-accent">{agent.memory?.toFixed(1)}%</td>
<td className="px-4 py-4 font-mono text-gray-300">
{agent.agentName.toLowerCase()}
{agent.source === 'cos' && (
- <span className="ml-2 px-1.5 py-0.5 text-[10px] bg-purple-500/20 text-purple-400 rounded">CoS</span>
+ <span className="ml-2 px-1.5 py-0.5 text-[10px] bg-port-accent-2/20 text-port-accent-2 rounded">CoS</span>
)}
</td>
<td className="px-4 py-4 text-center">
<button
onClick={() => handleKill(agent.pid)}
disabled={killing[agent.pid]}
- className="px-3 py-1.5 bg-red-500/20 text-red-400 hover:bg-red-500/30 hover:text-red-300 disabled:opacity-50 rounded text-sm font-medium inline-flex items-center gap-1.5 transition-colors"
+ className="px-3 py-1.5 bg-port-error/20 text-port-error hover:bg-port-error/30 hover:text-port-error/80 disabled:opacity-50 rounded text-sm font-medium inline-flex items-center gap-1.5 transition-colors"
title="Kill process"
>
<XCircle size={16} className={killing[agent.pid] ? 'animate-pulse' : ''} />
@@ -225,9 +225,9 @@ export function AgentsPage() {
<div className="grid grid-cols-2 md:grid-cols-4 gap-4">
<div>
<div className="text-xs text-gray-500 uppercase tracking-wide mb-1">Agent Type</div>
- <div className="text-sm text-purple-400 font-medium">
+ <div className="text-sm text-port-accent-2 font-medium">
{agent.agentName}
- {agent.source === 'cos' && <span className="ml-1 text-xs text-purple-300">(CoS)</span>}
+ {agent.source === 'cos' && <span className="ml-1 text-xs text-port-accent-2/80">(CoS)</span>}
</div>
</div>
<div>
@@ -274,7 +274,7 @@ export function AgentsPage() {
<div>
<div className="text-xs text-gray-500 uppercase tracking-wide mb-2">Full Command</div>
<div className="bg-port-card border border-port-border rounded-lg p-3 overflow-x-auto">
- <code className="text-sm text-cyan-300 font-mono whitespace-pre-wrap break-all">
+ <code className="text-sm text-port-accent/90 font-mono whitespace-pre-wrap break-all">
{agent.command}
</code>
</div>
@@ -297,11 +297,11 @@ export function AgentsPage() {
<div>
<div className="flex items-center justify-between text-xs mb-1">
<span className="text-gray-500 uppercase tracking-wide">CPU Usage</span>
- <span className="text-green-400 font-mono">{agent.cpu?.toFixed(1)}%</span>
+ <span className="text-port-success font-mono">{agent.cpu?.toFixed(1)}%</span>
</div>
<div className="h-2 bg-port-border rounded-full overflow-hidden">
<div
- className="h-full bg-green-500 rounded-full transition-all"
+ className="h-full bg-port-success rounded-full transition-all"
style={{ width: `${Math.min(agent.cpu || 0, 100)}%` }}
/>
</div>
@@ -309,11 +309,11 @@ export function AgentsPage() {
<div>
<div className="flex items-center justify-between text-xs mb-1">
<span className="text-gray-500 uppercase tracking-wide">Memory Usage</span>
- <span className="text-blue-400 font-mono">{agent.memory?.toFixed(1)}%</span>
+ <span className="text-port-accent font-mono">{agent.memory?.toFixed(1)}%</span>
</div>
<div className="h-2 bg-port-border rounded-full overflow-hidden">
<div
- className="h-full bg-blue-500 rounded-full transition-all"
+ className="h-full bg-port-accent rounded-full transition-all"
style={{ width: `${Math.min(agent.memory || 0, 100)}%` }}
/>
</div>
diff --git a/client/src/pages/Ambient.jsx b/client/src/pages/Ambient.jsx
index e5da71ab4c..d38e9536b8 100644
--- a/client/src/pages/Ambient.jsx
+++ b/client/src/pages/Ambient.jsx
@@ -10,10 +10,10 @@ const REFRESH_INTERVAL = 30000;
const IDLE_DELAY = 3000;
const goalColor = (rate) =>
- rate >= 80 ? '#22c55e' : rate >= 50 ? '#f59e0b' : '#ef4444';
+ rate >= 80 ? 'rgb(var(--port-success))' : rate >= 50 ? 'rgb(var(--port-warning))' : 'rgb(var(--port-error))';
const goalColorClass = (rate) =>
- rate >= 80 ? 'text-emerald-500' : rate >= 50 ? 'text-amber-500' : 'text-red-400';
+ rate >= 80 ? 'text-port-success' : rate >= 50 ? 'text-port-warning' : 'text-port-error';
function toggleFullscreen() {
if (document.fullscreenElement) {
@@ -155,7 +155,7 @@ export default function Ambient() {
<div key={event.id || i} className="flex items-start gap-3">
<div
className="w-1 h-6 rounded-full shrink-0 mt-0.5"
- style={{ backgroundColor: event.color || '#3b82f6' }}
+ style={{ backgroundColor: event.color || 'rgb(var(--port-accent))' }}
/>
<div className="min-w-0">
<div className="text-sm text-gray-300 truncate">{event.summary || event.title}</div>
@@ -201,14 +201,14 @@ export default function Ambient() {
<AmbientPanel title="Agent Activity">
<div className="grid grid-cols-2 gap-3">
- <AmbientStat label="Running" value={today.running || 0} color={today.running > 0 ? '#3b82f6' : null} />
- <AmbientStat label="Completed" value={today.completed || 0} color={today.completed > 0 ? '#22c55e' : null} />
- <AmbientStat label="Failed" value={today.failed || 0} color={today.failed > 0 ? '#ef4444' : null} />
- <AmbientStat label="Streak" value={`${streak.current || 0}d`} color={streak.current >= 7 ? '#f59e0b' : null} />
+ <AmbientStat label="Running" value={today.running || 0} color={today.running > 0 ? 'rgb(var(--port-accent))' : null} />
+ <AmbientStat label="Completed" value={today.completed || 0} color={today.completed > 0 ? 'rgb(var(--port-success))' : null} />
+ <AmbientStat label="Failed" value={today.failed || 0} color={today.failed > 0 ? 'rgb(var(--port-error))' : null} />
+ <AmbientStat label="Streak" value={`${streak.current || 0}d`} color={streak.current >= 7 ? 'rgb(var(--port-warning))' : null} />
</div>
{cosSummary?.status?.running && (
<div className="mt-3 flex items-center gap-2">
- <div className="w-2 h-2 rounded-full bg-blue-500 animate-pulse" />
+ <div className="w-2 h-2 rounded-full bg-port-accent animate-pulse" />
<span className="text-xs text-gray-500">CoS is active</span>
</div>
)}
@@ -222,7 +222,7 @@ export default function Ambient() {
}`}>
<span>PortOS Ambient</span>
<span className="flex items-center gap-2">
- <span className={`w-1.5 h-1.5 rounded-full ${data?.health ? 'bg-emerald-600' : 'bg-gray-700'}`} />
+ <span className={`w-1.5 h-1.5 rounded-full ${data?.health ? 'bg-port-success' : 'bg-gray-700'}`} />
{data?.health ? 'System Online' : 'Connecting...'}
</span>
</div>
diff --git a/client/src/pages/Apps.jsx b/client/src/pages/Apps.jsx
index 896b582932..d3e1124dce 100644
--- a/client/src/pages/Apps.jsx
+++ b/client/src/pages/Apps.jsx
@@ -252,7 +252,7 @@ export default function Apps() {
: '';
return (
<span key={i}>
- {procName}<span className="text-cyan-500">{portDisplay}</span>
+ {procName}<span className="text-port-accent">{portDisplay}</span>
{i < (app.pm2ProcessNames?.length || 0) - 1 ? ',' : ''}
</span>
);
@@ -413,7 +413,7 @@ export default function Apps() {
<div>
<div className="text-xs text-gray-500 uppercase tracking-wide mb-2">Editor Command</div>
<div className="flex items-center gap-2">
- <Code size={16} aria-hidden="true" className="text-blue-400 shrink-0" />
+ <Code size={16} aria-hidden="true" className="text-port-accent shrink-0" />
<code className="text-sm text-gray-300 font-mono">{app.editorCommand || 'code .'}</code>
</div>
</div>
@@ -426,8 +426,8 @@ export default function Apps() {
<div className="bg-port-card border border-port-border rounded-lg p-3">
{app.startCommands.map((cmd, i) => (
<div key={i} className="flex items-start gap-2 py-1">
- <Terminal size={14} aria-hidden="true" className="text-green-400 shrink-0 mt-0.5" />
- <code className="text-sm text-cyan-300 font-mono break-all">{cmd}</code>
+ <Terminal size={14} aria-hidden="true" className="text-port-success shrink-0 mt-0.5" />
+ <code className="text-sm text-port-accent/90 font-mono break-all">{cmd}</code>
</div>
))}
</div>
@@ -453,7 +453,7 @@ export default function Apps() {
}`} />
<span className="text-sm text-white font-mono">{proc.name}</span>
{processConfig?.ports && Object.keys(processConfig.ports).length > 0 && (
- <span className="text-xs text-cyan-400 font-mono">
+ <span className="text-xs text-port-accent font-mono">
{Object.entries(processConfig.ports).length > 1
? ` (${Object.entries(processConfig.ports).map(([label, port]) => `${label}:${port}`).join(', ')})`
: `:${Object.values(processConfig.ports)[0]}`}
@@ -461,10 +461,10 @@ export default function Apps() {
)}
<span className="text-xs text-gray-500">{proc.status}</span>
{proc.cpu !== undefined && (
- <span className="text-xs text-green-400">{proc.cpu}%</span>
+ <span className="text-xs text-port-success">{proc.cpu}%</span>
)}
{proc.memory !== undefined && (
- <span className="text-xs text-blue-400">{formatBytes(proc.memory)}</span>
+ <span className="text-xs text-port-accent">{formatBytes(proc.memory)}</span>
)}
</div>
);
@@ -478,16 +478,16 @@ export default function Apps() {
<div>
<div className="text-xs text-gray-500 uppercase tracking-wide mb-2">JIRA Integration</div>
<div className="flex flex-wrap items-center gap-3 px-3 py-2 bg-port-card border border-port-border rounded-lg">
- <Ticket size={16} aria-hidden="true" className="text-blue-400 shrink-0" />
+ <Ticket size={16} aria-hidden="true" className="text-port-accent shrink-0" />
<span className="text-sm text-white font-mono">{app.jira.projectKey || '—'}</span>
{app.jira.issueType && (
<span className="text-xs text-gray-400">{app.jira.issueType}</span>
)}
{app.jira.createPR !== false && (
- <span className="text-xs text-green-400">+ PR</span>
+ <span className="text-xs text-port-success">+ PR</span>
)}
{app.jira.labels?.length > 0 && (
- <span className="text-xs text-cyan-400">{app.jira.labels.join(', ')}</span>
+ <span className="text-xs text-port-accent">{app.jira.labels.join(', ')}</span>
)}
</div>
diff --git a/client/src/pages/HistoryPage.jsx b/client/src/pages/HistoryPage.jsx
index 864a0bdd02..45f5eb4a52 100644
--- a/client/src/pages/HistoryPage.jsx
+++ b/client/src/pages/HistoryPage.jsx
@@ -185,7 +185,7 @@ export function HistoryPage() {
<span className="text-gray-400 text-sm sm:text-base">→ {entry.targetName}</span>
)}
{entry.details?.runtime && (
- <span className="text-xs text-cyan-400 font-mono">{formatRuntime(entry.details.runtime)}</span>
+ <span className="text-xs text-port-accent font-mono">{formatRuntime(entry.details.runtime)}</span>
)}
</div>
{entry.details?.command && (
@@ -231,7 +231,7 @@ export function HistoryPage() {
{entry.details?.runtime && (
<div>
<div className="text-xs text-gray-500 uppercase tracking-wide mb-1">Runtime</div>
- <div className="text-cyan-400 font-mono">{formatRuntime(entry.details.runtime)}</div>
+ <div className="text-port-accent font-mono">{formatRuntime(entry.details.runtime)}</div>
</div>
)}
{entry.details?.exitCode !== undefined && (
@@ -249,7 +249,7 @@ export function HistoryPage() {
<div>
<div className="text-xs text-gray-500 uppercase tracking-wide mb-2">Command</div>
<div className="bg-port-card border border-port-border rounded-lg p-3">
- <code className="text-sm text-cyan-300 font-mono whitespace-pre-wrap break-all">
+ <code className="text-sm text-port-accent/90 font-mono whitespace-pre-wrap break-all">
{entry.details.command}
</code>
</div>
diff --git a/client/src/pages/Loops.jsx b/client/src/pages/Loops.jsx
index 851933683d..cedb6856c3 100644
--- a/client/src/pages/Loops.jsx
+++ b/client/src/pages/Loops.jsx
@@ -22,12 +22,12 @@ const INTERVAL_PRESETS = [
function StatusBadge({ loop }) {
if (loop.isExecuting) return (
- <span className="inline-flex items-center gap-1 px-2 py-0.5 rounded text-xs bg-blue-500/20 text-blue-400">
+ <span className="inline-flex items-center gap-1 px-2 py-0.5 rounded text-xs bg-port-accent/20 text-port-accent">
<BrailleSpinner /> Running
</span>
);
if (loop.isRunning) return (
- <span className="inline-flex items-center gap-1 px-2 py-0.5 rounded text-xs bg-green-500/20 text-green-400">
+ <span className="inline-flex items-center gap-1 px-2 py-0.5 rounded text-xs bg-port-success/20 text-port-success">
<Clock size={12} /> Active
</span>
);
diff --git a/client/src/pages/PipelineSeries.jsx b/client/src/pages/PipelineSeries.jsx
index b590de69dd..e84be2216b 100644
--- a/client/src/pages/PipelineSeries.jsx
+++ b/client/src/pages/PipelineSeries.jsx
@@ -676,7 +676,7 @@ function CharacterArcsSection({ series, patchSeries }) {
<button
type="button"
onClick={addArc}
- className="flex items-center gap-1 text-[11px] text-port-accent hover:text-blue-400"
+ className="flex items-center gap-1 text-[11px] text-port-accent hover:text-port-accent/80"
>
<Plus size={12} /> Add arc
</button>
@@ -726,7 +726,7 @@ function CharacterArcsSection({ series, patchSeries }) {
<button
type="button"
onClick={() => addTransition(i)}
- className="flex items-center gap-1 text-[11px] text-port-accent hover:text-blue-400"
+ className="flex items-center gap-1 text-[11px] text-port-accent hover:text-port-accent/80"
>
<Plus size={11} /> Add beat
</button>
diff --git a/client/src/pages/Review.jsx b/client/src/pages/Review.jsx
index 49c3264203..6e64749493 100644
--- a/client/src/pages/Review.jsx
+++ b/client/src/pages/Review.jsx
@@ -52,10 +52,10 @@ const QUEUE_INVALIDATION_EVENTS = [
// Cross-domain queue source → icon + accent (M42 P5 inbox-zero aggregator).
const QUEUE_SOURCE_CONFIG = {
- brain: { icon: BrainIcon, color: 'text-purple-400' },
+ brain: { icon: BrainIcon, color: 'text-port-accent-2' },
ask: { icon: MessageCircle, color: 'text-port-accent' },
cos: { icon: Crown, color: 'text-port-accent' },
- drafts: { icon: Mail, color: 'text-blue-400' },
+ drafts: { icon: Mail, color: 'text-port-accent' },
health: { icon: Activity, color: 'text-port-warning' },
backup: { icon: DatabaseBackup, color: 'text-port-error' }
};
diff --git a/client/src/pages/Shell.jsx b/client/src/pages/Shell.jsx
index 859fd70429..9afe52d97e 100644
--- a/client/src/pages/Shell.jsx
+++ b/client/src/pages/Shell.jsx
@@ -88,7 +88,7 @@ function TerminalHotKeys({ sendCtrlC, handlePaste, sendNavKey, showPasteInput, s
<>
<button
onClick={sendCtrlC}
- className="flex items-center gap-1.5 px-3 py-1.5 bg-red-500/15 hover:bg-red-500/25 text-red-400 hover:text-red-300 rounded text-xs font-mono transition-colors border border-red-500/30 min-h-[40px] shrink-0"
+ className="flex items-center gap-1.5 px-3 py-1.5 bg-port-error/15 hover:bg-port-error/25 text-port-error hover:text-port-error/80 rounded text-xs font-mono transition-colors border border-port-error/30 min-h-[40px] shrink-0"
title="Send Ctrl+C interrupt"
aria-label="Send Ctrl+C interrupt"
>
@@ -881,9 +881,9 @@ export default function Shell() {
<div className="flex flex-wrap items-center gap-2 mb-3">
<h1 className="text-xl font-semibold text-white">Shell</h1>
<div className={`flex items-center gap-2 px-2 py-1 rounded text-sm ${
- connected ? 'bg-green-500/20 text-green-400' : 'bg-gray-500/20 text-gray-400'
+ connected ? 'bg-port-success/20 text-port-success' : 'bg-gray-500/20 text-gray-400'
}`}>
- <div className={`w-2 h-2 rounded-full ${connected ? 'bg-green-500' : 'bg-gray-500'}`} />
+ <div className={`w-2 h-2 rounded-full ${connected ? 'bg-port-success' : 'bg-gray-500'}`} />
{connected ? 'Connected' : 'Disconnected'}
</div>
{interactiveCount > 0 && (
@@ -919,7 +919,7 @@ export default function Shell() {
{connected && (
<button
onClick={stopSession}
- className="flex items-center gap-1.5 px-2.5 py-2 bg-red-500/20 hover:bg-red-500/30 text-red-400 rounded-lg text-sm transition-colors min-h-[40px]"
+ className="flex items-center gap-1.5 px-2.5 py-2 bg-port-error/20 hover:bg-port-error/30 text-port-error rounded-lg text-sm transition-colors min-h-[40px]"
title={isLiveRun ? 'Stop this TUI run' : 'Kill current session'}
>
<PowerOff size={16} />
@@ -968,7 +968,7 @@ export default function Shell() {
<button
onClick={(e) => { e.stopPropagation(); killOtherSession(s.sessionId); }}
className={`shrink-0 ml-0.5 p-0.5 rounded transition-colors ${
- isActive ? 'text-port-accent/60 hover:text-red-400' : 'text-gray-600 hover:text-red-400'
+ isActive ? 'text-port-accent/60 hover:text-port-error' : 'text-gray-600 hover:text-port-error'
}`}
title={isRun ? 'Stop run' : 'Kill session'}
>
diff --git a/client/src/pages/StoryBuilder.jsx b/client/src/pages/StoryBuilder.jsx
index e79a18e67f..f1a67fb994 100644
--- a/client/src/pages/StoryBuilder.jsx
+++ b/client/src/pages/StoryBuilder.jsx
@@ -488,7 +488,7 @@ function ImportPanel({ onCreated }) {
)}
<div className="flex items-center gap-2 pt-1">
<button onClick={importAndBuild} disabled={committing || issueCount === 0}
- className="inline-flex items-center gap-2 bg-port-success hover:bg-green-600 disabled:opacity-50 text-white px-4 py-2 rounded text-sm">
+ className="inline-flex items-center gap-2 bg-port-success hover:bg-port-success/80 disabled:opacity-50 text-white px-4 py-2 rounded text-sm">
{committing ? <Loader2 className="w-4 h-4 animate-spin" /> : <Check className="w-4 h-4" />}
{committed ? 'Retry starting the builder' : arcAlreadyPersisted ? 'Retry issues & start building' : 'Import & start building'}
</button>
@@ -1432,7 +1432,7 @@ function StoryBuilderDetail({ storyId, stepParam }) {
<button
onClick={() => lock.toggle(stepState.locked)} disabled={lock.busy}
className={`inline-flex items-center gap-2 px-3 py-1.5 rounded text-sm disabled:opacity-50 ${
- stepState.locked ? 'bg-port-card border border-port-success text-port-success' : 'bg-port-success hover:bg-green-600 text-white'
+ stepState.locked ? 'bg-port-card border border-port-success text-port-success' : 'bg-port-success hover:bg-port-success/80 text-white'
}`}
>
{lock.busy ? <Loader2 className="w-4 h-4 animate-spin" /> : (stepState.locked ? <Unlock className="w-4 h-4" /> : <Check className="w-4 h-4" />)}