This commit is contained in:
Mateusz Gruszczyński
2026-09-04 08:59:11 +02:00
parent 39f50eba2e
commit 7fd5921ba9
17 changed files with 276 additions and 1268 deletions
-5
View File
@@ -307,11 +307,6 @@ function setTheme(theme) {
applyTheme();
}
function cycleTheme() {
const modes = ['system', 'light', 'dark'];
const index = modes.indexOf(app.theme);
setTheme(modes[(index + 1) % modes.length]);
}
async function api(path, options = {}) {
const headers = new Headers(options.headers || {});