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.

feat: add themed desktop wallpaper

rubenluetke10-beep9a1e099141cb
diff --git a/jarvis/ui/web/frontend/src/App.detached.test.tsx b/jarvis/ui/web/frontend/src/App.detached.test.tsx
index b04e57b658..2252f9d053 100644
--- a/jarvis/ui/web/frontend/src/App.detached.test.tsx
+++ b/jarvis/ui/web/frontend/src/App.detached.test.tsx
@@ -74,6 +74,12 @@ afterEach(() => {
});
describe("App shell around detached coding views", () => {
+ it("renders the desktop wallpaper behind normal app sections", () => {
+ render(<App />);
+
+ expect(screen.getByTestId("jarvis-desktop-wallpaper")).toBeTruthy();
+ });
+
it("keeps the sidebar reachable in the main window", () => {
useEventStore.setState({
activeSection: "agentic-ide",
@@ -97,6 +103,7 @@ describe("App shell around detached coding views", () => {
render(<App />);
expect(screen.queryByTestId("sidebar")).toBeNull();
+ expect(screen.queryByTestId("jarvis-desktop-wallpaper")).toBeNull();
});
it("keeps a detached solo window chrome-free", () => {
@@ -110,5 +117,6 @@ describe("App shell around detached coding views", () => {
expect(screen.queryByTestId("sidebar")).toBeNull();
expect(screen.queryByTestId("topbar")).toBeNull();
+ expect(screen.queryByTestId("jarvis-desktop-wallpaper")).toBeNull();
});
});
diff --git a/jarvis/ui/web/frontend/src/App.tsx b/jarvis/ui/web/frontend/src/App.tsx
index 7d85ef0834..77815fc43b 100644
--- a/jarvis/ui/web/frontend/src/App.tsx
+++ b/jarvis/ui/web/frontend/src/App.tsx
@@ -27,6 +27,7 @@ import { CliConnectPoller } from "@/components/CliConnectPoller";
import { OnboardingGate } from "@/components/onboarding/OnboardingGate";
import { installDictationFocusTracker } from "@/lib/dictationTarget";
import { SubscriptionRealtimeTransportBroker } from "@/components/voice/SubscriptionRealtimeTransportBroker";
+import jarvisDesktopWallpaper from "@/assets/jarvis-desktop-wallpaper.webp";
/** Where the collapsed/expanded choice for the nav sidebar is remembered. */
const NAV_COLLAPSED_KEY = "jarvis.sidebar.collapsed.v1";
@@ -43,6 +44,30 @@ const NAV_COLLAPSED_KEY = "jarvis.sidebar.collapsed.v1";
*/
const CODING_SECTIONS = new Set(["agentic-ide", "chat-workspace", "agentic-ide-classic"]);
+/**
+ * The shared visual ground for every normal app section.
+ *
+ * The image and its theme veil are separate layers: the artwork can stay crisp
+ * while light and dark mode independently tune contrast through semantic theme
+ * channels in index.css. Coding workspaces deliberately omit the layer because
+ * terminal output needs a neutral, distraction-free ground.
+ */
+function DesktopWallpaper() {
+ return (
+ <div
+ aria-hidden
+ data-testid="jarvis-desktop-wallpaper"
+ className="pointer-events-none absolute inset-0 -z-10 overflow-hidden"
+ >
+ <div
+ className="jarvis-desktop-wallpaper absolute inset-0"
+ style={{ backgroundImage: `url(${jarvisDesktopWallpaper})` }}
+ />
+ <div className="jarvis-desktop-wallpaper-veil absolute inset-0" />
+ </div>
+ );
+}
+
export default function App() {
useWebSocket();
useBrainStatus();
@@ -214,7 +239,8 @@ export default function App() {
*/
if (solo) {
return (
- <div className="relative flex h-screen w-screen overflow-hidden bg-background text-foreground">
+ <div className="relative isolate flex h-screen w-screen overflow-hidden bg-background text-foreground">
+ {!codingSurface && <DesktopWallpaper />}
{brokerMounted && <SubscriptionRealtimeTransportBroker />}
<main className="relative z-10 flex min-w-0 flex-1 flex-col">
<div className="min-h-0 flex-1">
@@ -229,17 +255,9 @@ export default function App() {
}
return (
- <div className="relative flex h-screen w-screen overflow-hidden bg-background text-foreground">
+ <div className="relative isolate flex h-screen w-screen overflow-hidden bg-background text-foreground">
{brokerMounted && <SubscriptionRealtimeTransportBroker />}
- {!codingSurface && (
- <>
- <div className="pointer-events-none fixed inset-0 jarvis-grid opacity-40" aria-hidden />
- <div
- className="pointer-events-none fixed right-[-10%] top-[-20%] h-[600px] w-[600px] jarvis-glow"
- aria-hidden
- />
- </>
- )}
+ {!codingSurface && <DesktopWallpaper />}
{!railHidden && (
<>
diff --git a/jarvis/ui/web/frontend/src/assets/jarvis-desktop-wallpaper.webp b/jarvis/ui/web/frontend/src/assets/jarvis-desktop-wallpaper.webp
new file mode 100644
index 0000000000..012f8cc308
Binary files /dev/null and b/jarvis/ui/web/frontend/src/assets/jarvis-desktop-wallpaper.webp differ
diff --git a/jarvis/ui/web/frontend/src/index.css b/jarvis/ui/web/frontend/src/index.css
index de8bf01c58..87a3943552 100644
--- a/jarvis/ui/web/frontend/src/index.css
+++ b/jarvis/ui/web/frontend/src/index.css
@@ -425,6 +425,61 @@
}
@layer components {
+ /*
+ * Full-bleed desktop artwork behind the normal app sections.
+ *
+ * The source image is intentionally identical in both themes. Dark mode
+ * keeps its ink-and-gold character; light mode lets the warm paper shell show
+ * through so existing foreground tokens remain readable. The independent
+ * veil carries the edge contrast for chrome without baking a theme into the
+ * asset itself.
+ */
+ .jarvis-desktop-wallpaper {
+ background-position: center;
+ background-repeat: no-repeat;
+ background-size: cover;
+ filter: saturate(0.92) brightness(0.78) contrast(1.08);
+ opacity: 0.94;
+ transform: scale(1.002);
+ }
+
+ .jarvis-desktop-wallpaper-veil {
+ background:
+ linear-gradient(
+ 180deg,
+ rgb(var(--shell-rgb) / 0.3) 0%,
+ transparent 18%,
+ transparent 72%,
+ rgb(var(--shell-rgb) / 0.34) 100%
+ ),
+ radial-gradient(
+ ellipse at 52% 42%,
+ transparent 24%,
+ rgb(var(--shell-rgb) / 0.16) 100%
+ );
+ }
+
+ :root:not(.dark) .jarvis-desktop-wallpaper {
+ filter: saturate(0.58) brightness(1.18) contrast(0.82);
+ opacity: 0.38;
+ }
+
+ :root:not(.dark) .jarvis-desktop-wallpaper-veil {
+ background:
+ linear-gradient(
+ 180deg,
+ rgb(var(--shell-rgb) / 0.7) 0%,
+ rgb(var(--shell-rgb) / 0.28) 28%,
+ rgb(var(--shell-rgb) / 0.2) 68%,
+ rgb(var(--shell-rgb) / 0.66) 100%
+ ),
+ radial-gradient(
+ ellipse at 52% 42%,
+ transparent 18%,
+ rgb(var(--shell-rgb) / 0.32) 100%
+ );
+ }
+
/* Subtle grid pattern in the background — gives a dashboard feel without
distracting. Drawn in the accent so it reads as the app's own texture;
slightly stronger on paper, where a 4 % line simply disappears. */