refac: theme

This commit is contained in:
Timothy Jaeryang Baek
2025-02-15 21:04:07 -08:00
parent 87ff1a9038
commit e4d6fc65ca
2 changed files with 14 additions and 5 deletions

View File

@@ -396,6 +396,10 @@
};
onMount(async () => {
if (typeof window !== 'undefined' && window.applyTheme) {
window.applyTheme();
}
if (window?.electronAPI) {
const info = await window.electronAPI.send({
type: 'app:info'