Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
feat(theme): default fresh boards to the Classic theme
First-time loads (no stored setting) now resolve to Classic; an explicit
pick is still persisted per board and takes precedence. themeById falls
back to the configured default instead of the first registry entry.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
  • Loading branch information
tridha643 and claude committed Jun 19, 2026
commit 6b71fbd8c62da3ba48a45fa8a37e7d90e04b60c3
6 changes: 4 additions & 2 deletions server/themes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -408,10 +408,12 @@ export const THEMES: Theme[] = [
},
];

export const DEFAULT_THEME_ID = "github";
export const DEFAULT_THEME_ID = "classic";

export function themeById(id: string | null | undefined): Theme {
return THEMES.find((t) => t.id === id) ?? THEMES[0];
return (
THEMES.find((t) => t.id === id) ?? THEMES.find((t) => t.id === DEFAULT_THEME_ID) ?? THEMES[0]
);
}

// Compact descriptor for the picker (avoids shipping full palettes to list).
Expand Down
Loading