add f0ck98 theme

This commit is contained in:
2026-07-25 22:14:54 +02:00
parent 88e6b6efb9
commit 07de9d4488
8 changed files with 626 additions and 4 deletions

View File

@@ -604,7 +604,7 @@ process.on('uncaughtException', err => {
}
return;
}
const availableThemes = cfg.websrv.themes || ['amoled', 'atmos', 'f0ck', 'f0ck95d', 'iced', 'orange', 'p1nk', '4d'];
const availableThemes = cfg.websrv.themes || ['amoled', 'atmos', 'f0ck', 'f0ck95d', 'f0ck98', 'iced', 'orange', 'p1nk', '4d'];
const defaultTheme = cfg.websrv.theme || 'amoled';
req.theme = (req.cookies?.theme && availableThemes.includes(req.cookies.theme)) ? req.cookies.theme : defaultTheme;
req.fullscreen = req.cookies.fullscreen || 0;