Feat: Add theme folder access functionality in UI

This commit is contained in:
MasterAcnolo
2026-04-11 18:25:17 +02:00
parent 23d11d8933
commit 49e1e1b507
5 changed files with 21 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ function setupTopbarListeners() {
const logsBtn = document.getElementById('logs-btn');
const websiteBtn = document.getElementById('website-btn');
const wikiBtn = document.getElementById('wiki-btn');
const themeBtn = document.getElementById('theme-btn');
const configBtn = document.getElementById('config-btn');
if (minBtn) minBtn.onclick = () => topbarAPI.minimize();
@@ -19,6 +20,7 @@ function setupTopbarListeners() {
if (logsBtn) logsBtn.onclick = () => topbarAPI.openLogs();
if (websiteBtn) websiteBtn.onclick = () => topbarAPI.openWebsite();
if (wikiBtn) wikiBtn.onclick = () => topbarAPI.openWiki();
if (themeBtn) themeBtn.onclick = () => topbarAPI.openTheme();
if (configBtn) configBtn.onclick = () => topbarAPI.openConfig();
});
}