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

daisyui

Package Overview
Dependencies
Maintainers
1
Versions
570
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

daisyui - npm Package Compare versions

Comparing version 0.0.0-insiders.5.0.0-alpha.11-2 to 0.0.0-insiders.5.0.0-alpha.11-3

114

index.js

@@ -42,54 +42,66 @@ import rootColor from './base/root-color/index.js';

export default ({ addBase, addComponents, addUtilities }) => {
addBase({
...rootColor,
...properties,
...scrollbar,
})
addComponents({
...kbd,
...dropdown,
...navbar,
...footer,
...tooltip,
...rating,
...radio,
...card,
...loading,
...progress,
...chat,
...countdown,
...input,
...alert,
...skeleton,
...swap,
...checkbox,
...collapse,
...status,
...tab,
...toggle,
...mask,
...button,
...steps,
...link,
...table,
...radialProgress,
...divider,
...menu,
...avatar,
...select,
...stack,
...hero,
...range,
...timeline,
...badge,
})
addUtilities({ ...join, }),
{
theme: {
colors: {
x: 'red',
},
},
const plugin = (handler, config) => {
return { handler: handler, config: config }
}
plugin.withOptions = (handlerFn, configFn = () => ({})) => {
const optionsFunction = (options) => {
return { handler: handlerFn(options), config: configFn(options) }
}
return (optionsFunction.__isOptionsFunction = true), optionsFunction
}
export default {
theme: {
colors: {
test: 'red',
},
},
plugins: [
plugin(({ addBase, addComponents, addUtilities }) => {
addBase({
...rootColor,
...properties,
...scrollbar,
})
addComponents({
...kbd,
...dropdown,
...navbar,
...footer,
...tooltip,
...rating,
...radio,
...card,
...loading,
...progress,
...chat,
...countdown,
...input,
...alert,
...skeleton,
...swap,
...checkbox,
...collapse,
...status,
...tab,
...toggle,
...mask,
...button,
...steps,
...link,
...table,
...radialProgress,
...divider,
...menu,
...avatar,
...select,
...stack,
...hero,
...range,
...timeline,
...badge,
})
addUtilities({ ...join, })
})
],
}
{
"type": "module",
"name": "daisyui",
"version": "0.0.0-insiders.5.0.0-alpha.11-2",
"version": "0.0.0-insiders.5.0.0-alpha.11-3",
"description": "daisyUI - Tailwind CSS Components",

@@ -6,0 +6,0 @@ "author": "Pouya Saadeghi",

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