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: align widget colors and reader viewport units (#4934)

[._.]/ Adam Eivydc8242fc3bbd
diff --git a/client/src/components/dashboard/builtins/AutoFixMetricsWidget.jsx b/client/src/components/dashboard/builtins/AutoFixMetricsWidget.jsx
index 1fbda6cc52..2fac79dbe7 100644
--- a/client/src/components/dashboard/builtins/AutoFixMetricsWidget.jsx
+++ b/client/src/components/dashboard/builtins/AutoFixMetricsWidget.jsx
@@ -14,10 +14,10 @@ import { formatDurationMs } from '../../../utils/formatters';
// fallback-tier breakdown, and median time-to-recovery.
const TIER_COLORS = {
- 1: '#22c55e', // port-success — config/env (cheapest fix)
- 2: '#3b82f6', // port-accent — schema/type
- 3: '#f59e0b', // port-warning — constrained-agent-retry
- 4: '#ef4444', // port-error — escalate
+ 1: 'rgb(var(--port-success))', // config/env (cheapest fix)
+ 2: 'rgb(var(--port-accent))', // schema/type
+ 3: 'rgb(var(--port-warning))', // constrained-agent-retry
+ 4: 'rgb(var(--port-error))', // escalate
};
// Render a rate in [0,1] as a percent string, or an em dash for the null
@@ -147,7 +147,7 @@ function AutoFixMetricsWidget() {
<div key={t.tier} className="flex items-center gap-2 text-xs">
<span
className="inline-block w-2 h-2 rounded-full shrink-0"
- style={{ backgroundColor: TIER_COLORS[t.tier] || '#6b7280' }}
+ style={{ backgroundColor: TIER_COLORS[t.tier] || 'rgb(var(--port-text-muted))' }}
aria-hidden="true"
/>
<span className="text-gray-300 flex-1 truncate" title={t.label}>
diff --git a/client/src/pages/FableLoomStory.jsx b/client/src/pages/FableLoomStory.jsx
index df7d013058..2f17d520b9 100644
--- a/client/src/pages/FableLoomStory.jsx
+++ b/client/src/pages/FableLoomStory.jsx
@@ -295,7 +295,7 @@ export default function FableLoomStory() {
</div>
)}
</section>
- <aside className="lg:w-[380px] lg:shrink-0 max-h-[45vh] lg:max-h-none border-t lg:border-t-0 lg:border-l border-port-border overflow-y-auto">
+ <aside className="lg:w-[380px] lg:shrink-0 max-h-[45dvh] lg:max-h-none border-t lg:border-t-0 lg:border-l border-port-border overflow-y-auto">
{node ? (
<LoomNodeEditor
key={node.id}