tailwindcss-dark-mode-plugin
Advanced tools
+3
-0
| import module from "./index.js"; | ||
| const themePlugin = module.themePlugin; | ||
| const themeColors = module.themeColors; | ||
| const darkMode = module.darkMode; | ||
| exports.themePlugin = themePlugin; | ||
| exports.themeColors = themeColors; | ||
| exports.darkMode = darkMode; | ||
| export default plugin; |
+4
-1
@@ -543,3 +543,3 @@ const themeColors = { | ||
| }, | ||
| "html#dark": { | ||
| "html[theme='dark']": { | ||
| "--tw-var-black": "255,255,255", | ||
@@ -793,3 +793,6 @@ "--tw-var-white": "0,0,0", | ||
| const darkMode = ["class", 'html[theme="dark"]']; | ||
| module.exports.themeColors = themeColors; | ||
| module.exports.themePlugin = themePlugin; | ||
| module.exports.darkMode = darkMode; |
+1
-1
| { | ||
| "name": "tailwindcss-dark-mode-plugin", | ||
| "version": "0.0.3", | ||
| "version": "0.0.4", | ||
| "description": "Dark mode plugin for tailwind css", | ||
@@ -5,0 +5,0 @@ "publishConfig": { |
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
43165
0.37%1145
0.35%