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

dark-mode-toggle

Package Overview
Dependencies
Maintainers
1
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.1.1 to 0.2.0

8

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

@@ -19,3 +19,3 @@ "main": "./src/dark-mode-toggle.mjs",

"build": "npm run clean && npx terser ./src/dark-mode-toggle.mjs -m toplevel=true --comments /@license/ --ecma=8 -o ./dist/dark-mode-toggle.min.mjs",
"prepublish": "npm run lint && npm run build"
"prepare": "npm run lint && npm run build"
},

@@ -37,7 +37,7 @@ "repository": {

"devDependencies": {
"eslint": "^5.16.0",
"eslint": "^6.1.0",
"eslint-config-google": "^0.13.0",
"stylelint": "^10.1.0",
"stylelint-config-standard": "^18.3.0",
"terser": "^4.0.0"
"terser": "^4.1.2"
},

@@ -44,0 +44,0 @@ "eslintConfig": {

@@ -185,2 +185,3 @@ [![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/dark-mode-toggle)

| `--dark-mode-toggle-dark-icon` | No icon | The icon for the dark state in `background-image:` notation. |
| `--dark-mode-toggle-icon-size` | 1rem | The icon size in CSS length data type notation. |
| `--dark-mode-toggle-remember-icon-checked` | No icon | The icon for the checked "remember the last selected mode" functionality in `background-image:` notation. |

@@ -187,0 +188,0 @@ | `--dark-mode-toggle-remember-icon-unchecked` | No icon | The icon for the unchecked "remember the last selected mode" functionality in `background-image:` notation. |

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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