Sebastian Martinez
691e0255fb
Improve handling of localStorage and svelte stores
...
Also moving the svelte-stored-writable package into the repo.
So we have it closer for maintenance, we can eventually rewrite it in
svelte 5 runes later.
Reference: https://github.com/efstajas/svelte-stored-writable/pull/5
2024-11-25 17:06:26 +01:00
Jappie3
b050924caa
add follow system theme button & functionality
2024-11-25 14:26:32 +01:00
Sebastian Martinez
a73c5490b1
Handle disabled localStorage gracefully
...
Instead of failing with a cryptic error in the dev console, this commit
allows the app to keep working and skips the localStorage persistance if
no localStorage is available.
2024-07-29 16:48:59 +02:00
Sebastian Martinez
dd61f5cf5c
Remove local httpd features and experimental features
...
Updates API version to 2.0.0
2024-07-04 11:48:41 +02:00
Sebastian Martinez
91866f6292
Add prefers-color-scheme query for theme fallback
2024-03-19 10:28:06 +01:00
Sebastian Martinez
192524fe90
Add experimental switch in settings
...
Hide all read/write functionality behind this setting.
2024-03-07 10:35:21 +01:00
Rūdolfs Ošiņš
b3e212ff5b
Load theme in top-level App.svelte
...
Previously the theme was only loaded when the <ThemeSettings> component
was loaded in the footer. This stopped working since we removed the
layout around the loading spinner.
2024-01-02 14:25:59 +00:00
Rūdolfs Ošiņš
caa83db480
Organise files more consistently
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-12-22 16:46:08 +01:00