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

storybook-dark-mode

Package Overview
Dependencies
Maintainers
1
Versions
506
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

storybook-dark-mode - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

6

dist/cjs/Tool.js

@@ -158,5 +158,9 @@ "use strict";

return _objectSpread(_objectSpread({}, defaultParams), userTheme);
};
}; // On initial load, set the dark mode class on the manager
// This is needed if you're using mostly CSS overrides to styles the storybook
// Otherwise the default theme is set in src/preset/manager.tsx
exports.store = store;
updateManager(store());

@@ -163,0 +167,0 @@ /** A toolbar icon to toggle between dark and light themes in storybook */

@@ -129,4 +129,8 @@ var _excluded = ["current", "stylePreview"];

return _objectSpread(_objectSpread({}, defaultParams), userTheme);
};
}; // On initial load, set the dark mode class on the manager
// This is needed if you're using mostly CSS overrides to styles the storybook
// Otherwise the default theme is set in src/preset/manager.tsx
updateManager(store());
/** A toolbar icon to toggle between dark and light themes in storybook */

@@ -133,0 +137,0 @@ export var DarkMode = function DarkMode(_ref2) {

2

package.json
{
"name": "storybook-dark-mode",
"version": "2.0.1",
"version": "2.0.2",
"description": "Toggle between light and dark mode in Storybook",

@@ -5,0 +5,0 @@ "main": "dist/cjs/index.js",

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