1.2.20 • Published 10 days ago
@jill64/svelte-device-theme v1.2.20
@jill64/svelte-device-theme
☯ A simple store that syncs with your device's theme settings
Usage
<script>
import { isDark } from '@jill64/svelte-device-theme'
</script>
{#if $isDark}
Device is dark mode
{:else}
Device is light mode
{/if}
!NOTE
$isDark
isundefined
on the server.
If you need full theme management including SSR, please see @jill64/svelte-dark-theme.
License
1.2.20
10 days ago
1.2.19
20 days ago
1.2.18
1 month ago
1.2.17
1 month ago
1.2.16
2 months ago
1.2.15
2 months ago
1.2.14
3 months ago
1.2.13
3 months ago
1.2.12
3 months ago
1.2.11
4 months ago
1.2.10
4 months ago
1.2.9
4 months ago
1.2.8
5 months ago
1.2.7
5 months ago
1.2.6
5 months ago
1.2.5
5 months ago
1.2.4
5 months ago
1.2.3
5 months ago
1.2.2
5 months ago
1.2.1
6 months ago
1.2.0
6 months ago
1.1.1
7 months ago
1.1.0
7 months ago
1.0.12
7 months ago
1.0.11
7 months ago
1.0.10
7 months ago
1.0.9
7 months ago
1.0.8
7 months ago
1.0.7
7 months ago
1.0.6
7 months ago
1.0.5
7 months ago
1.0.4
7 months ago
1.0.3
8 months ago
1.0.2
8 months ago
1.0.1
8 months ago
1.0.0
8 months ago
0.1.1
8 months ago
0.1.0
8 months ago