feat(UI): update logo

This commit is contained in:
Timi
2026-11-20 14:28:44 +08:00
parent 9ccdbe593a
commit 7c1dfc0e9f
47 changed files with 165 additions and 102 deletions
+3
View File
@@ -45,6 +45,8 @@ watch(
const rootElement = document.documentElement;
rootElement.classList.toggle("theme-dark", themeMode === "dark");
rootElement.dataset.theme = themeMode;
const favicon = document.querySelector<HTMLLinkElement>("link[rel='icon']");
if (favicon) favicon.href = themeMode === "dark" ? "/icons/brand-dark.svg" : "/icons/brand.svg";
void syncSystemBars(themeMode).catch(() => undefined);
},
{ immediate: true }
@@ -81,3 +83,4 @@ onUnmounted(() => {
window.removeEventListener("pointerdown", unlockSoundOnUserGesture);
});
</script>