Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
3 changes: 2 additions & 1 deletion src/components/settings/Settings.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
{ value: 'gifverse', label: 'Cosmic', swatch: 'linear-gradient(#eab1d3, #baaef6 25%, #bdede6 62%, #f0febd)' },
{ value: 'monero', label: 'XMR', swatch: '#ed702d' },
{ value: 'cyberpunk', label: 'Neon', swatch: 'linear-gradient(#8bf2f0, #e46aad)' },
{ value: 'void', label: 'Event Horizon', swatch: 'linear-gradient(#3a3a3a, #000)' },
];

// ── widescreen: categories of anchored blocks ──
Expand All @@ -73,7 +74,7 @@
{
id: 'appearance', label: 'Appearance', icon: 'palette',
anchors: [
{ id: 'display', label: 'Display', icon: 'image', groups: displayGroups(shell.ws), rows: displayRows(shell.ws), keys: `theme colour color vector satoshi chatstr cosmic purple neon xmr display image types background wallpaper rich composer emoticon suggestions time suggestions countdown autocorrect send on enter return key floating player${shell.ws ? ' main menu navbar navigation pins sidebar tabs' : ' hide community rail sidebar pull tab chat list filters'}` },
{ id: 'display', label: 'Display', icon: 'image', groups: displayGroups(shell.ws), rows: displayRows(shell.ws), keys: `theme colour color vector satoshi chatstr cosmic purple neon xmr event horizon black void display image types background wallpaper rich composer emoticon suggestions time suggestions countdown autocorrect send on enter return key floating player${shell.ws ? ' main menu navbar navigation pins sidebar tabs' : ' hide community rail sidebar pull tab chat list filters'}` },
],
},
{
Expand Down
2 changes: 1 addition & 1 deletion src/js/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@ async function selectFolder() {
* @param {string} mode - The theme mode, i.e: light, dark
*/
function applyTheme(theme = 'vector', mode = 'dark') {
document.body.classList.remove('vector-theme', 'satoshi-theme', 'chatstr-theme', 'gifverse-theme', 'pivx-theme', 'cyberpunk-theme', 'monero-theme',);
document.body.classList.remove('vector-theme', 'satoshi-theme', 'chatstr-theme', 'gifverse-theme', 'pivx-theme', 'cyberpunk-theme', 'monero-theme', 'void-theme',);
document.body.classList.add(`${theme}-theme`);

domTheme.href = `/themes/${theme}/${mode}.css`;
Expand Down
Loading