theme: rename default skin neobrute -> goingson
The shared theme was renamed to the titular "GoingsOn" skin; point the JS
default + fallback at the new id and update the styles.css comment.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2 files changed,
+6 insertions,
-6 deletions
| 239 |
239 |
|
/* Clean neobrutalism: bold borders, flat by default, offset shadows on actions + floats */
|
| 240 |
240 |
|
|
| 241 |
241 |
|
/* Neo-brutalist color palette */
|
| 242 |
|
- |
/* Themeable: mapped by js/themes.js. Defaults below are the "neobrute" theme. */
|
|
242 |
+ |
/* Themeable: mapped by js/themes.js. Defaults below are the "goingson" (GoingsOn) theme. */
|
| 243 |
243 |
|
--bg-primary: #E0E4FA; /* themeable: background.primary */
|
| 244 |
244 |
|
--bg-secondary: #CDD3F0; /* themeable: background.secondary */
|
| 245 |
245 |
|
--bg-tertiary: #BAC2E6; /* themeable: background.tertiary */
|
| 27 |
27 |
|
};
|
| 28 |
28 |
|
|
| 29 |
29 |
|
// Theme state lives in GoingsOn.state (centralized)
|
| 30 |
|
- |
GoingsOn.state.set('currentThemeId', 'neobrute');
|
|
30 |
+ |
GoingsOn.state.set('currentThemeId', 'goingson');
|
| 31 |
31 |
|
GoingsOn.state.set('themeCache', {});
|
| 32 |
32 |
|
GoingsOn.state.set('themeList', []);
|
| 33 |
33 |
|
|
| 96 |
96 |
|
async function loadTheme(themeId) {
|
| 97 |
97 |
|
const theme = await fetchTheme(themeId);
|
| 98 |
98 |
|
if (!theme) {
|
| 99 |
|
- |
console.warn(`Theme not found: ${themeId}, falling back to neobrute`);
|
| 100 |
|
- |
if (themeId !== 'neobrute') {
|
| 101 |
|
- |
return loadTheme('neobrute');
|
|
99 |
+ |
console.warn(`Theme not found: ${themeId}, falling back to goingson`);
|
|
100 |
+ |
if (themeId !== 'goingson') {
|
|
101 |
+ |
return loadTheme('goingson');
|
| 102 |
102 |
|
}
|
| 103 |
103 |
|
return;
|
| 104 |
104 |
|
}
|
| 150 |
150 |
|
if (preference === 'dark') {
|
| 151 |
151 |
|
await loadTheme('catppuccin-mocha');
|
| 152 |
152 |
|
} else {
|
| 153 |
|
- |
await loadTheme('neobrute');
|
|
153 |
+ |
await loadTheme('goingson');
|
| 154 |
154 |
|
}
|
| 155 |
155 |
|
localStorage.setItem('goingson-theme', 'system');
|
| 156 |
156 |
|
}
|