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

dark-mode-toggle

Package Overview
Dependencies
Maintainers
0
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dark-mode-toggle - npm Package Compare versions

Comparing version 0.16.0 to 0.16.1

6

package.json
{
"name": "dark-mode-toggle",
"version": "0.16.0",
"version": "0.16.1",
"description": "Web Component that toggles dark mode 🌒",

@@ -45,3 +45,3 @@ "main": "./dist/dark-mode-toggle.min.mjs",

"devDependencies": {
"eslint": "^9.11.0",
"eslint": "^9.12.0",
"eslint-config-google": "^0.14.0",

@@ -54,3 +54,3 @@ "http-server": "^14.1.1",

"stylelint-config-standard": "^36.0.1",
"terser": "^5.33.0"
"terser": "^5.34.1"
},

@@ -57,0 +57,0 @@ "stylelint": {

@@ -15,4 +15,5 @@ /**

* whereas "toggle" conveys the idea of a dark mode toggle (on/off).
* The "three-way" option will feature a central state that aligns with the user's system preferred color mode, while both the left and right states will consistently apply a fixed color scheme, irrespective of the system settings.
*/
appearance: 'toggle' | 'switch';
appearance: 'toggle' | 'switch' | 'three-way';

@@ -19,0 +20,0 @@ /**

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