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.7.0 to 0.7.1

2

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

@@ -5,0 +5,0 @@ "main": "src/dark-mode-toggle.mjs",

@@ -206,3 +206,7 @@ # `<dark-mode-toggle>` Element

See the demo source code for some concrete examples.
You can style the custom element with [`::part()`](https://developer.mozilla.org/en-US/docs/Web/CSS/::part).
Additionally, you can use a number of exposed CSS variables.
See the demo's
[CSS source code](https://github.com/GoogleChromeLabs/dark-mode-toggle/blob/master/demo/common.css)
for some concrete examples.

@@ -209,0 +213,0 @@ | CSS Variable Name | Default | Description |

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