Files
etalon 0d28f69320 feat: 5 dramatic extra themes (neon/terminal/blueprint/sunset) + board/review/layout polish
- Themes: add neon (cyber gradient), terminal (green CRT), blueprint (graph
  paper) and sunset (vaporwave) alongside the default Light (Y2K paper) and
  Dark. Theme toggle now cycles all; profile selector lists them; server
  validates against a shared whitelist.
- Bounty cards now show the project (customer) name.
- Remove the celebratory emoji from the empty Review Queue.
- Full-width h1 underline rule; My Tasks columns stack vertically for more
  room per task; card action buttons wrap/right-align so they never overflow.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-13 10:44:07 +02:00

14 lines
628 B
JavaScript

// Theme bootstrap: runs synchronously in <head> to avoid a flash of the
// wrong theme. The server renders data-default-theme from the user profile;
// localStorage wins so the choice applies before login too.
(function () {
var el = document.documentElement;
var saved = null;
try { saved = localStorage.getItem('theme'); } catch (e) { /* private mode */ }
var THEMES = ['light', 'dark', 'neon', 'terminal', 'blueprint', 'sunset'];
var theme = saved || el.dataset.defaultTheme || 'light';
if (THEMES.indexOf(theme) === -1) theme = 'light';
el.dataset.theme = theme;
el.dataset.themes = THEMES.join(',');
})();