Files
platform/src/workspaces/theme/css/themes/tokyo-night.css
T
pastilhasandClaude Opus 5 fd78495b5a every theme declares the mark
The logo is now stated by each of the fourteen themes rather than supplied by a default
none of them mentions. The base default stays empty, which is the right answer for a
theme written by a stranger — showing nothing beats showing someone else's brand.

Explicit costs one line and buys two things: a theme that ships a brand says so, and a
white-labelled build replaces a line it can see instead of hunting for the default that
was quietly doing the work.

Verified in the browser across four themes.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-17 00:52:04 +00:00

51 lines
1.6 KiB
CSS

/*
TOKYO NIGHT — ported from the published palette, unchanged.
A PALETTE theme: it supplies the standard tokens and nothing else. Panels, the header, the dock, glass,
grid lines and scrollbars are all derived from these by `base.css`, so this file never mentions them.
That is the contract working as intended — a theme anyone has already written, dropped in whole. Compare
`duck-*.css`, which additionally declares a texture.
*/
[data-theme='tokyo-night'] {
/* The mark. Declared by every theme rather than inherited from a default: a theme that ships a
brand should say so, and a white-labelled build replaces this line rather than hunting for the
default that was quietly supplying it. */
--logo-src: '/officer-logo.svg';
--radius: 0.625rem;
--background: #222436;
--foreground: #c8d3f5;
--card: #1e2030;
--card-foreground: #c8d3f5;
--popover: #1e2030;
--popover-foreground: #c8d3f5;
--primary: #82aaff;
--primary-foreground: #1b1d2b;
--secondary: #3b4261;
--secondary-foreground: #c8d3f5;
--muted: #2f334d;
--muted-foreground: #828bb8;
--accent: #86e1fc;
--accent-foreground: #1b1d2b;
--destructive: #c53b53;
--destructive-foreground: #c8d3f5;
--border: #3b4261;
--input: #3b4261;
--ring: #82aaff;
--chart-1: #82aaff;
--chart-2: #ffc777;
--chart-3: #c3e88d;
--chart-4: #4fd6be;
--chart-5: #c099ff;
--sidebar: #1e2030;
--sidebar-foreground: #828bb8;
--sidebar-primary: #82aaff;
--sidebar-primary-foreground: #1b1d2b;
--sidebar-accent: #2f334d;
--sidebar-accent-foreground: #c8d3f5;
--sidebar-border: #3b4261;
--sidebar-ring: #82aaff;
}