Skip to content

Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.

fix(ui): light the sidebar so Gigi and nav stop looking dead

rubenluetke10-beep99c5bab3fec6
diff --git a/jarvis/ui/web/frontend/src/components/MascotGigi.tsx b/jarvis/ui/web/frontend/src/components/MascotGigi.tsx
index b064a7a70a..3a4eab13f2 100644
--- a/jarvis/ui/web/frontend/src/components/MascotGigi.tsx
+++ b/jarvis/ui/web/frontend/src/components/MascotGigi.tsx
@@ -128,7 +128,7 @@ export function MascotGigi({
className="gigi-halo"
d="M 58 90 Q 58 36 128 36 Q 198 36 198 90 L 198 208 L 180 186 L 160 208 L 140 186 L 120 208 L 100 186 L 80 208 L 58 186 Z"
fill="hsl(var(--gigi-trim))"
- opacity="0.28"
+ opacity="0.42"
filter="url(#gigiSoftGlow)"
/>
diff --git a/jarvis/ui/web/frontend/src/components/agentchat/AgentComposer.tsx b/jarvis/ui/web/frontend/src/components/agentchat/AgentComposer.tsx
index ff3ee486c1..d9c88bdb70 100644
--- a/jarvis/ui/web/frontend/src/components/agentchat/AgentComposer.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentchat/AgentComposer.tsx
@@ -512,7 +512,7 @@ export function AgentComposer({ autoFocus = false }: { autoFocus?: boolean }) {
height={14}
alt=""
aria-hidden
- className="h-3.5 w-3.5 shrink-0"
+ className="jarvis-logo-mark h-3.5 w-3.5 shrink-0"
/>
) : (
<FolderCode className="h-3.5 w-3.5 shrink-0 text-muted-foreground" aria-hidden />
diff --git a/jarvis/ui/web/frontend/src/components/home/Greeting.tsx b/jarvis/ui/web/frontend/src/components/home/Greeting.tsx
index 2018b04b4c..f608627400 100644
--- a/jarvis/ui/web/frontend/src/components/home/Greeting.tsx
+++ b/jarvis/ui/web/frontend/src/components/home/Greeting.tsx
@@ -33,13 +33,15 @@ export function Greeting({
data-testid="home-greeting"
>
<h1 className="flex items-center gap-3 font-display text-3xl tracking-tight text-foreground [text-wrap:balance]">
- <img
- src="/jarvis-logo.png"
- width={30}
- height={30}
- alt={PRODUCT_NAME}
- className="h-[30px] w-[30px] shrink-0"
- />
+ <span className="jarvis-logo-well flex h-9 w-9 shrink-0 items-center justify-center overflow-hidden rounded-full">
+ <img
+ src="/jarvis-logo.png"
+ width={32}
+ height={32}
+ alt={PRODUCT_NAME}
+ className="jarvis-logo-mark h-8 w-8"
+ />
+ </span>
<span>{text}</span>
</h1>
{subtitle && !muted && (
diff --git a/jarvis/ui/web/frontend/src/components/home/SurfaceSwitch.tsx b/jarvis/ui/web/frontend/src/components/home/SurfaceSwitch.tsx
index 2b178e7913..708fb3cc53 100644
--- a/jarvis/ui/web/frontend/src/components/home/SurfaceSwitch.tsx
+++ b/jarvis/ui/web/frontend/src/components/home/SurfaceSwitch.tsx
@@ -30,7 +30,7 @@ export function SurfaceSwitch({ className }: { className?: string }) {
aria-label={t("sidebar.surface_hint")}
data-testid="home-surface-switch"
className={cn(
- "grid grid-cols-2 gap-0.5 rounded-xl border border-border bg-secondary p-0.5",
+ "grid grid-cols-2 gap-0.5 rounded-xl bg-background p-0.5",
className,
)}
>
@@ -76,8 +76,8 @@ function SurfaceTab({
"flex items-center justify-center gap-1.5 rounded-[10px] px-2 py-1.5 text-xs font-medium transition-colors",
"focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
active
- ? "bg-card text-foreground"
- : "text-muted-foreground hover:text-foreground",
+ ? "bg-secondary text-foreground"
+ : "text-foreground/70 hover:text-foreground",
)}
>
{icon}
diff --git a/jarvis/ui/web/frontend/src/components/layout/DockRail.test.tsx b/jarvis/ui/web/frontend/src/components/layout/DockRail.test.tsx
index 1927cb0e34..06fbf686c5 100644
--- a/jarvis/ui/web/frontend/src/components/layout/DockRail.test.tsx
+++ b/jarvis/ui/web/frontend/src/components/layout/DockRail.test.tsx
@@ -69,11 +69,11 @@ describe("DockRail", () => {
expect(screen.getByTestId("nav-row-chats").getAttribute("title")).toBeNull();
});
- test("keeps the active control on the app's glass surface", () => {
+ test("keeps the active control on a lit fill", () => {
renderRail();
- expect(screen.getByTestId("nav-row-chats").classList).toContain("jarvis-message-surface");
+ expect(screen.getByTestId("nav-row-chats").classList).toContain("jarvis-nav-active");
expect(screen.getByTestId("nav-row-tasks").classList).not.toContain(
- "jarvis-message-surface",
+ "jarvis-nav-active",
);
});
diff --git a/jarvis/ui/web/frontend/src/components/layout/DockRail.tsx b/jarvis/ui/web/frontend/src/components/layout/DockRail.tsx
index 76d71fb75d..2408633d01 100644
--- a/jarvis/ui/web/frontend/src/components/layout/DockRail.tsx
+++ b/jarvis/ui/web/frontend/src/components/layout/DockRail.tsx
@@ -370,10 +370,10 @@ function DockIcon({
// The active control is the app's glass surface with the accent on
// the glyph — the same language as the expanded sidebar's row.
active
- ? "jarvis-message-surface border-primary/40 text-primary"
+ ? "jarvis-nav-active border-transparent"
: hovered
- ? "border-border/60 bg-card/40 text-foreground"
- : "border-transparent text-muted-foreground",
+ ? "border-transparent bg-secondary text-foreground"
+ : "border-transparent text-foreground/55",
)}
style={{ top: PAD_TOP + restCenter - BASE / 2, width: BASE, height: BASE }}
>
diff --git a/jarvis/ui/web/frontend/src/components/layout/Sidebar.test.tsx b/jarvis/ui/web/frontend/src/components/layout/Sidebar.test.tsx
index a6390c65bb..086403fc3f 100644
--- a/jarvis/ui/web/frontend/src/components/layout/Sidebar.test.tsx
+++ b/jarvis/ui/web/frontend/src/components/layout/Sidebar.test.tsx
@@ -646,7 +646,7 @@ describe("Sidebar icon rail", () => {
const sidebar = screen.getByTestId("sidebar");
expect(sidebar.querySelector(".jarvis-shell-surface")).toBeNull();
expect(screen.getByTestId("nav-row-chats").classList).toContain(
- "jarvis-message-surface",
+ "jarvis-nav-active",
);
});
diff --git a/jarvis/ui/web/frontend/src/components/layout/Sidebar.tsx b/jarvis/ui/web/frontend/src/components/layout/Sidebar.tsx
index 91f8eb860d..99c2b24219 100644
--- a/jarvis/ui/web/frontend/src/components/layout/Sidebar.tsx
+++ b/jarvis/ui/web/frontend/src/components/layout/Sidebar.tsx
@@ -392,7 +392,7 @@ export function Sidebar({
data-variant="logo"
title={railed ? `${assistantName} — ${voiceLabel}` : undefined}
className={cn(
- "relative flex shrink-0 items-center justify-center",
+ "jarvis-logo-well relative flex shrink-0 items-center justify-center overflow-hidden rounded-full",
railed ? "h-9 w-9" : "h-11 w-11",
)}
>
@@ -400,7 +400,7 @@ export function Sidebar({
<span
data-testid="sidebar-instance-tag"
title={t("sidebar.instance_dev_hint")}
- className="absolute -bottom-1 -right-1 rounded-[3px] bg-foreground/70 px-[3px] py-px font-mono text-[7px] font-bold leading-none tracking-wider text-primary-foreground"
+ className="absolute -bottom-1 -right-1 z-10 rounded-[3px] bg-foreground/70 px-[3px] py-px font-mono text-[7px] font-bold leading-none tracking-wider text-primary-foreground"
>
{devTag}
</span>
@@ -414,7 +414,7 @@ export function Sidebar({
width={railed ? 32 : 40}
height={railed ? 32 : 40}
alt={PRODUCT_NAME}
- className="shrink-0"
+ className="jarvis-logo-mark shrink-0"
onError={() => {
if (logoRetry < LOGO_RETRY_MAX) {
window.setTimeout(
@@ -427,7 +427,7 @@ export function Sidebar({
</span>
{!railed && (
<div className="flex min-w-0 flex-1 flex-col">
- <span className="flex min-w-0 items-center gap-1.5 font-display text-sm font-semibold tracking-tight">
+ <span className="flex min-w-0 items-center gap-1.5 font-display text-[15px] font-semibold tracking-tight text-foreground">
<span className="truncate">{assistantName}</span>
{devTag && (
<span
@@ -439,7 +439,7 @@ export function Sidebar({
</span>
)}
</span>
- <span className="text-[10px] uppercase tracking-wider text-muted-foreground">
+ <span className="mt-0.5 inline-flex w-fit items-center rounded-full bg-secondary px-1.5 py-px text-[10px] font-medium uppercase tracking-wider text-foreground/70">
{voiceLabel}
</span>
</div>
@@ -495,9 +495,9 @@ export function Sidebar({
type="button"
onClick={onVoiceSurface ? startNewVoice : startNewChat}
data-testid="sidebar-new-chat"
- className="mt-2 flex w-full items-center gap-2 rounded-lg border border-border bg-card px-2.5 py-1.5 text-xs font-medium text-foreground transition-colors hover:border-primary/40 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
+ className="mt-2 flex w-full items-center gap-2 rounded-xl bg-secondary px-2.5 py-2 text-xs font-medium text-foreground transition-colors hover:bg-secondary/80 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
>
- <span className="flex h-4 w-4 items-center justify-center rounded bg-foreground/70 text-primary-foreground">
+ <span className="flex h-5 w-5 items-center justify-center rounded-md bg-foreground/15 text-foreground">
<Plus aria-hidden className="h-3 w-3" />
</span>
{onVoiceSurface ? t("sidebar.new_voice_chat") : t("sidebar.new_chat")}
@@ -569,8 +569,9 @@ export function Sidebar({
key={groupIndex}
className={cn(
"space-y-0.5",
- // Thin divider + breathing room above every group after the first.
- groupIndex > 0 && "mt-2 border-t border-border/40 pt-2",
+ // Breathing room above every group after the first. A hairline
+ // here read as a dead rule on charcoal, so the gap does the work.
+ groupIndex > 0 && "mt-3 pt-1",
)}
>
{group.map((raw) => {
@@ -642,7 +643,7 @@ export function Sidebar({
type="button"
onClick={() => setActive("apikeys")}
className={cn(
- "jarvis-message-surface group flex w-full items-center rounded-lg border border-border text-left transition-colors hover:border-primary/40",
+ "group flex w-full items-center rounded-xl bg-secondary text-left transition-colors hover:bg-secondary/80",
railed ? "justify-center px-2 py-2" : "gap-3 px-3 py-2",
)}
// On the rail the card shrinks to its status dot, so everything it
@@ -736,21 +737,21 @@ function NavRow({
onClick={onClick}
title={hint}
className={cn(
- "group relative flex w-full items-center gap-3 rounded-lg px-3 py-2 text-sm transition-all",
- "hover:bg-background/20",
+ "group relative flex w-full items-center gap-3 rounded-xl px-2.5 py-2 text-[13px] font-medium transition-colors",
+ "hover:bg-secondary/70",
// Leave the chevron its own column so the two buttons never overlap.
expand && "pr-9",
- active
- ? "jarvis-message-surface text-foreground shadow-[inset_2px_0_0_hsl(var(--primary))]"
- : "text-muted-foreground hover:text-foreground",
+ active ? "jarvis-nav-active" : "text-foreground/80 hover:text-foreground",
)}
>
- <Icon
+ <span
className={cn(
- "h-4 w-4 shrink-0 transition-colors",
- active ? "text-primary" : "text-muted-foreground group-hover:text-foreground",
+ "flex h-7 w-7 shrink-0 items-center justify-center rounded-lg transition-colors",
+ active ? "bg-foreground/10 text-foreground" : "text-foreground/55 group-hover:text-foreground",
)}
- />
+ >
+ <Icon className="h-4 w-4" />
+ </span>
<span className="flex flex-1 items-center gap-1.5 text-left">
{label}
{betaLabel && (
@@ -793,7 +794,7 @@ function NavRow({
title={expand.label}
data-testid={`nav-expand-${item.id}`}
className={cn(
- "absolute right-1.5 top-2 flex h-5 w-5 items-center justify-center rounded-md transition-colors",
+ "absolute right-1.5 top-1/2 flex h-5 w-5 -translate-y-1/2 items-center justify-center rounded-md transition-colors",
"text-muted-foreground hover:bg-background/60 hover:text-foreground",
"focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
)}
diff --git a/jarvis/ui/web/frontend/src/index.css b/jarvis/ui/web/frontend/src/index.css
index fa5faf4f8c..f9d7e4d6d6 100644
--- a/jarvis/ui/web/frontend/src/index.css
+++ b/jarvis/ui/web/frontend/src/index.css
@@ -868,6 +868,27 @@ label,
color: hsl(var(--user-bubble-foreground));
}
+ /* The brand ghost is a black body with white markings. On paper, multiply
+ drops the white plate so the body sits as ink. On charcoal, screen drops
+ the black plate so the eyes and outline glow on a lit disc. */
+ .jarvis-logo-well {
+ background: hsl(var(--secondary));
+ box-shadow: inset 0 1px 0 rgb(var(--sheen-rgb) / 0.12);
+ }
+ .jarvis-logo-mark {
+ mix-blend-mode: multiply;
+ }
+ .dark .jarvis-logo-mark {
+ mix-blend-mode: screen;
+ }
+
+ /* Selected nav row — a fill, one step toward the light, like a messenger
+ chip. Not a hairline and not an inset accent bar. */
+ .jarvis-nav-active {
+ background: hsl(var(--secondary));
+ color: hsl(var(--foreground));
+ }
+
/* Section-level grounds disappear everywhere the wallpaper is active. The
selectors intentionally stop at page roots and purpose-built stages: cards,
dialogs and data tables retain their own hierarchy and remain readable. */
@@ -1795,6 +1816,12 @@ label,
transform-origin: 50% 50%;
}
+ /* The body is drawn near-black so the white eyes read. On charcoal that
+ silhouette disappears; a little lift keeps the ghost a figure, not a hole. */
+ .dark .gigi-body {
+ filter: brightness(1.45);
+ }
+
/* Auto-blink (a natural blink every ~7s — parallel to random actions) */
.gigi-root .gigi-eyes {
transform-box: fill-box;
diff --git a/jarvis/ui/web/frontend/src/views/ClisHubView.tsx b/jarvis/ui/web/frontend/src/views/ClisHubView.tsx
index 406d6c628a..cf97b8fa7d 100644
--- a/jarvis/ui/web/frontend/src/views/ClisHubView.tsx
+++ b/jarvis/ui/web/frontend/src/views/ClisHubView.tsx
@@ -52,9 +52,9 @@ export function ClisHubView() {
<div className="flex h-full min-h-0">
<nav
aria-label={t("clis_view.group_label")}
- className="flex w-[200px] shrink-0 flex-col border-r border-border px-3 py-5"
+ className="flex w-[200px] shrink-0 flex-col border-r border-border/60 px-3 py-5"
>
- <p className="px-2.5 pb-2 text-[11px] font-medium text-muted-foreground">
+ <p className="px-2.5 pb-2 text-[11px] font-medium uppercase tracking-wider text-foreground/50">
{t("clis_view.group_label")}
</p>
<ul className="space-y-0.5">
@@ -68,16 +68,16 @@ export function ClisHubView() {
onClick={() => setActive(area.id)}
aria-current={isActive ? "page" : undefined}
className={cn(
- "flex w-full items-center gap-2.5 rounded-md px-2.5 py-2 text-left text-sm transition-colors",
+ "flex w-full items-center gap-2.5 rounded-xl px-2.5 py-2 text-left text-[13px] font-medium transition-colors",
isActive
- ? "bg-sheen/[0.08] font-medium text-foreground"
- : "text-foreground/75 hover:bg-sheen/[0.05] hover:text-foreground",
+ ? "jarvis-nav-active"
+ : "text-foreground/80 hover:bg-secondary/70 hover:text-foreground",
)}
>
<Icon
className={cn(
"h-4 w-4 shrink-0",
- isActive ? "text-foreground" : "text-muted-foreground",
+ isActive ? "text-foreground" : "text-foreground/55",
)}
/>
<span className="flex-1 truncate">{t(area.labelKey)}</span>
diff --git a/jarvis/ui/web/frontend/src/views/ExtensionsView.tsx b/jarvis/ui/web/frontend/src/views/ExtensionsView.tsx
index 1e7803009d..d05b4bf709 100644
--- a/jarvis/ui/web/frontend/src/views/ExtensionsView.tsx
+++ b/jarvis/ui/web/frontend/src/views/ExtensionsView.tsx
@@ -63,9 +63,9 @@ export function ExtensionsView() {
<div className="flex h-full min-h-0">
<nav
aria-label={t("extensions.group_label")}
- className="flex w-[200px] shrink-0 flex-col border-r border-border px-3 py-5"
+ className="flex w-[200px] shrink-0 flex-col border-r border-border/60 px-3 py-5"
>
- <p className="px-2.5 pb-2 text-[11px] font-medium text-muted-foreground">
+ <p className="px-2.5 pb-2 text-[11px] font-medium uppercase tracking-wider text-foreground/50">
{t("extensions.group_label")}
</p>
<ul className="space-y-0.5">
@@ -80,13 +80,13 @@ export function ExtensionsView() {
onClick={() => setActive(area.id)}
aria-current={isActive ? "page" : undefined}
className={cn(
- "flex w-full items-center gap-2.5 rounded-md px-2.5 py-2 text-left text-sm transition-colors",
+ "flex w-full items-center gap-2.5 rounded-xl px-2.5 py-2 text-left text-[13px] font-medium transition-colors",
isActive
- ? "bg-sheen/[0.08] font-medium text-foreground"
- : "text-foreground/75 hover:bg-sheen/[0.05] hover:text-foreground",
+ ? "jarvis-nav-active"
+ : "text-foreground/80 hover:bg-secondary/70 hover:text-foreground",
)}
>
- <Icon className={cn("h-4 w-4 shrink-0", isActive ? "text-foreground" : "text-muted-foreground")} />
+ <Icon className={cn("h-4 w-4 shrink-0", isActive ? "text-foreground" : "text-foreground/55")} />
<span className="flex-1 truncate">{t(area.labelKey)}</span>
{dot && (
<span