Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@jill64/svelte-device-theme

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jill64/svelte-device-theme - npm Package Compare versions

Comparing version 2.0.0-next.2 to 2.0.0-next.3

2

dist/index.svelte.d.ts

@@ -1,1 +0,1 @@

export declare const isDark: boolean | undefined;
export declare let isDark: boolean | undefined;
import { listen } from 'svelte-mq-store';
export const isDark = listen('(prefers-color-scheme: dark)');
export let isDark = listen('(prefers-color-scheme: dark)');
{
"name": "@jill64/svelte-device-theme",
"description": "☯ A simple store that syncs with your device's theme settings",
"version": "2.0.0-next.2",
"version": "2.0.0-next.3",
"main": "dist/index.svelte.js",

@@ -6,0 +6,0 @@ "type": "module",

@@ -22,3 +22,3 @@ <!----- BEGIN GHOST DOCS HEADER ----->

{#if $isDark}
{#if isDark}
Device is dark mode

@@ -25,0 +25,0 @@ {:else}

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc