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

style: align CoS chrome and scrollbars with port design tokens (#2554)

[._.]/ Adam Eivy557058af5a36
diff --git a/client/src/components/Layout.jsx b/client/src/components/Layout.jsx
index 277aad49e7..735ff05d55 100644
--- a/client/src/components/Layout.jsx
+++ b/client/src/components/Layout.jsx
@@ -424,7 +424,7 @@ export function SingleNavRow({ item, collapsed, active, badgeCount, pinned, onTo
<Icon size={20} className="shrink-0" />
{/* Badge for collapsed state */}
{showBadge && collapsed && (
- <span className="absolute -top-1.5 -right-1.5 min-w-[14px] h-[14px] flex items-center justify-center text-[9px] font-bold rounded-full bg-yellow-500 text-black px-0.5">
+ <span className="absolute -top-1.5 -right-1.5 min-w-[14px] h-[14px] flex items-center justify-center text-[9px] font-bold rounded-full bg-port-warning text-port-on-warning px-0.5">
{badgeText}
</span>
)}
@@ -435,7 +435,7 @@ export function SingleNavRow({ item, collapsed, active, badgeCount, pinned, onTo
</div>
{/* Badge for expanded state — sits left of the absolute pin */}
{showBadge && !collapsed && (
- <span className="min-w-[18px] h-[18px] flex items-center justify-center text-[10px] font-bold rounded-full bg-yellow-500 text-black px-1 shrink-0 mt-0.5">
+ <span className="min-w-[18px] h-[18px] flex items-center justify-center text-[10px] font-bold rounded-full bg-port-warning text-port-on-warning px-1 shrink-0 mt-0.5">
{badgeText}
</span>
)}
@@ -788,7 +788,7 @@ export default function Layout() {
<div className="relative">
<Icon size={20} className="shrink-0" />
{item.showBadge && unreadCount > 0 && collapsed && (
- <span className="absolute -top-1.5 -right-1.5 min-w-[14px] h-[14px] flex items-center justify-center text-[9px] font-bold rounded-full bg-yellow-500 text-black px-0.5">
+ <span className="absolute -top-1.5 -right-1.5 min-w-[14px] h-[14px] flex items-center justify-center text-[9px] font-bold rounded-full bg-port-warning text-port-on-warning px-0.5">
{unreadCount > 9 ? '9+' : unreadCount}
</span>
)}
@@ -798,7 +798,7 @@ export default function Layout() {
</span>
</div>
{!collapsed && item.showBadge && unreadCount > 0 && (
- <span className="min-w-[18px] h-[18px] flex items-center justify-center text-[10px] font-bold rounded-full bg-yellow-500 text-black px-1 shrink-0">
+ <span className="min-w-[18px] h-[18px] flex items-center justify-center text-[10px] font-bold rounded-full bg-port-warning text-port-on-warning px-1 shrink-0">
{unreadCount > 9 ? '9+' : unreadCount}
</span>
)}
diff --git a/client/src/components/NotificationDropdown.jsx b/client/src/components/NotificationDropdown.jsx
index 29563ae394..87d4d3d704 100644
--- a/client/src/components/NotificationDropdown.jsx
+++ b/client/src/components/NotificationDropdown.jsx
@@ -96,7 +96,7 @@ export default function NotificationDropdown({
>
<Bell className={`w-5 h-5 ${unreadCount > 0 ? 'text-yellow-400' : 'text-gray-400'}`} aria-hidden="true" />
{unreadCount > 0 && (
- <span className="absolute -top-1 -right-1 min-w-[18px] h-[18px] flex items-center justify-center text-[10px] font-bold rounded-full bg-yellow-500 text-black px-1" aria-hidden="true">
+ <span className="absolute -top-1 -right-1 min-w-[18px] h-[18px] flex items-center justify-center text-[10px] font-bold rounded-full bg-port-warning text-port-on-warning px-1" aria-hidden="true">
{unreadCount > 9 ? '9+' : unreadCount}
</span>
)}
diff --git a/client/src/index.css b/client/src/index.css
index b43e79f962..88217f38f7 100644
--- a/client/src/index.css
+++ b/client/src/index.css
@@ -1080,12 +1080,12 @@ input[type="color"],
}
::-webkit-scrollbar-thumb {
- background: #3a3a3a;
+ background: rgb(var(--port-border));
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
- background: #4a4a4a;
+ background: rgb(var(--port-text-muted) / 0.5);
}
/* Hide scrollbar utility */
diff --git a/client/src/pages/Ambient.jsx b/client/src/pages/Ambient.jsx
index 2fc11bdc65..3b1870af29 100644
--- a/client/src/pages/Ambient.jsx
+++ b/client/src/pages/Ambient.jsx
@@ -97,7 +97,7 @@ export default function Ambient() {
}, [data?.events]);
return (
- <div className={`fixed inset-0 bg-[#050505] text-white z-[9999] overflow-hidden flex flex-col ${idle ? 'cursor-none' : ''}`}>
+ <div className={`fixed inset-0 bg-port-bg text-port-text z-[9999] overflow-hidden flex flex-col ${idle ? 'cursor-none' : ''}`}>
<div className={`absolute top-4 left-4 right-4 flex justify-between items-center z-10 transition-opacity duration-500 ${
idle ? 'opacity-0 pointer-events-none' : 'opacity-100'
}`}>
diff --git a/client/src/pages/ChiefOfStaff.jsx b/client/src/pages/ChiefOfStaff.jsx
index 0a79582a6a..ae241e72d4 100644
--- a/client/src/pages/ChiefOfStaff.jsx
+++ b/client/src/pages/ChiefOfStaff.jsx
@@ -544,7 +544,7 @@ export default function ChiefOfStaff() {
{desktopPanelCollapsed && (
<button
onClick={toggleDesktopPanel}
- className="hidden lg:flex absolute left-0 top-2 z-20 p-1.5 text-gray-500 hover:text-white transition-colors rounded-r-md hover:bg-slate-800/80 bg-slate-900/60 border border-l-0 border-port-accent-2/20"
+ className="hidden lg:flex absolute left-0 top-2 z-20 p-1.5 text-gray-500 hover:text-white transition-colors rounded-r-md hover:bg-port-border/80 bg-port-card/60 border border-l-0 border-port-accent-2/20"
aria-label="Expand CoS panel"
title="Expand CoS panel"
>
@@ -599,10 +599,10 @@ export default function ChiefOfStaff() {
<>
<div className="hidden lg:block overflow-hidden min-w-0" />
{/* Mobile: still show the compact header */}
- <div className="lg:hidden border-b border-port-accent-2/20 bg-gradient-to-b from-slate-900/80 to-slate-900/40">
+ <div className="lg:hidden border-b border-port-accent-2/20 bg-gradient-to-b from-port-card/80 to-port-card/40">
<button
onClick={() => setAgentPanelCollapsed(!agentPanelCollapsed)}
- className="flex items-center justify-between w-full px-3 py-2 bg-slate-900/60 border-b border-port-accent-2/20 min-h-[40px]"
+ className="flex items-center justify-between w-full px-3 py-2 bg-port-card/60 border-b border-port-accent-2/20 min-h-[40px]"
aria-expanded={!agentPanelCollapsed}
aria-controls="cos-agent-panel"
>
@@ -639,7 +639,7 @@ export default function ChiefOfStaff() {
</div>
</>
) : (
- <div className="relative flex flex-col border-b lg:border-b-0 lg:border-r border-port-accent-2/20 bg-gradient-to-b from-slate-900/80 to-slate-900/40 shrink-0 w-full max-w-full overflow-x-hidden lg:h-full lg:overflow-y-auto scrollbar-hide">
+ <div className="relative flex flex-col border-b lg:border-b-0 lg:border-r border-port-accent-2/20 bg-gradient-to-b from-port-card/80 to-port-card/40 shrink-0 w-full max-w-full overflow-x-hidden lg:h-full lg:overflow-y-auto scrollbar-hide">
{/* Desktop Collapse Button */}
<button
onClick={toggleDesktopPanel}
@@ -653,7 +653,7 @@ export default function ChiefOfStaff() {
{/* Mobile Collapse Toggle Header */}
<button
onClick={() => setAgentPanelCollapsed(!agentPanelCollapsed)}
- className="lg:hidden flex items-center justify-between w-full px-3 py-2 bg-slate-900/60 border-b border-port-accent-2/20 min-h-[40px]"
+ className="lg:hidden flex items-center justify-between w-full px-3 py-2 bg-port-card/60 border-b border-port-accent-2/20 min-h-[40px]"
aria-expanded={!agentPanelCollapsed}
aria-controls="cos-agent-panel"
>
@@ -707,7 +707,7 @@ export default function ChiefOfStaff() {
{/* Avatar UI overlays the full-width canvas stage for 3D styles. */}
<div className={`${hasCanvasAvatar ? 'absolute inset-y-0 left-0 w-[46%] lg:relative lg:inset-auto lg:w-full lg:flex-none lg:min-h-full p-2 sm:p-3 lg:px-4 lg:py-6' : 'relative flex-1 min-w-0 lg:flex-none lg:min-h-full p-2 lg:px-4 lg:py-6'} min-w-0 flex flex-col items-center z-10`}>
- <div className="hidden lg:block text-sm font-semibold tracking-widest uppercase text-slate-400 mb-1 font-mono">
+ <div className="hidden lg:block text-sm font-semibold tracking-widest uppercase text-port-text-muted mb-1 font-mono">
Digital Assistant
</div>
<h1
diff --git a/client/src/pages/Dashboard.jsx b/client/src/pages/Dashboard.jsx
index bdbcfc0657..714d3dced5 100644
--- a/client/src/pages/Dashboard.jsx
+++ b/client/src/pages/Dashboard.jsx
@@ -341,7 +341,7 @@ export default function Dashboard() {
<span className="absolute inline-flex h-full w-full rounded-full bg-port-success opacity-60 animate-ping" />
)}
<span
- className={`relative inline-flex rounded-full h-2.5 w-2.5 ${health ? 'bg-port-success shadow-[0_0_8px_#22c55e]' : 'bg-port-error shadow-[0_0_8px_#ef4444]'}`}
+ className={`relative inline-flex rounded-full h-2.5 w-2.5 ${health ? 'bg-port-success shadow-[0_0_8px_rgb(var(--port-success))]' : 'bg-port-error shadow-[0_0_8px_rgb(var(--port-error))]'}`}
/>
</span>
</h2>