feat(UI): update logo
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user