wip: theme file import from fs

This commit is contained in:
HorizonCode committed 2026-05-20 16:09:05 +02:00
1 parent 0f10beb3b4
commit 9811b36e58
5 files changed
+54 -4

No files matched your search

+13
View File
@@ -720,6 +720,17 @@
}, 450);
};
const setupThemeImport = async () => {
const initialUrls = await invoke('opened_urls');
if (initialUrls.length > 0) {
console.log(initialUrls);
}
await listen('opened', (event) => {
console.log(event.payload);
});
};
onMount(() => {
const config = $userSettings;
const trackingConsent = config.value('tracking_consent');
@@ -736,6 +747,8 @@
ease: (t: number) => (t - 1) ** 7 + 1,
onComplete: doBPMAnimation,
});
setupThemeImport();
return () => {
window.clearInterval(animateInterval);
};