{"_id":"@0x-jerry/unocss-preset-daisyui","_rev":"6-3e28f295037024b22e043bea1e4e5913","name":"@0x-jerry/unocss-preset-daisyui","dist-tags":{"latest":"0.2.3"},"versions":{"0.1.0":{"name":"@0x-jerry/unocss-preset-daisyui","version":"0.1.0","author":{"name":"0x-jerry","email":"x.jerry.wang@gmail.com"},"license":"MIT","_id":"@0x-jerry/unocss-preset-daisyui@0.1.0","maintainers":[{"name":"cwxyz","email":"x.jerry.wang@gmail.com"}],"dist":{"shasum":"04c4506e920827922e72e01ba7f5d11ed1760d7b","tarball":"https://registry.npmjs.org/@0x-jerry/unocss-preset-daisyui/-/unocss-preset-daisyui-0.1.0.tgz","fileCount":5,"integrity":"sha512-mw+x7AR8RP5LxIeDnFNudOyS1Hx2DyDSP0ehXZ72zXaQ8MuvUqjxCqh8SJFScsXb0LypH5Rs2fg+K5aOBlf7Jw==","signatures":[{"sig":"MEUCIEWIFrzG4rjVSG+ojQ6zA8p2sU/Bcbi01f+lv3UjUazFAiEAqJ0oHLAGq4NlecXdxq2GeEBaa2zf5TiDi3RvQA+m0s4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5502},"main":"dist/index.js","type":"module","engines":{"node":">= 18"},"gitHead":"f693fec7ed554e33c89ee0262d7e2c0484716c4f","scripts":{"dev":"tsx src/index.ts","test":"vitest","build":"tsup src/index.ts --format esm --dts --clean","ci:test":"vitest run","release":"x-release","prepublishOnly":"npm run build"},"typings":"dist/index.d.ts","_npmUser":{"name":"cwxyz","email":"x.jerry.wang@gmail.com"},"_npmVersion":"11.3.0","description":"Daisyui preset for UnoCSS","directories":{},"_nodeVersion":"22.14.0","dependencies":{"unocss":"^66.1.1","daisyui":"^5.0.35","css-tree":"^3.1.0","fast-glob":"^3.3.3","@0x-jerry/utils":"^5.0.0","import-meta-resolve":"^4.1.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.4","tsup":"^8.4.0","vitest":"^3.1.3","typescript":"^5.8.3","@types/node":"^22.15.17","@biomejs/biome":"^1.9.4","@types/css-tree":"^2.3.10","@0x-jerry/x-release":"^2.4.0","@vitest/coverage-v8":"^3.1.3"},"_npmOperationalInternal":{"tmp":"tmp/unocss-preset-daisyui_0.1.0_1746932483771_0.7912215748034359","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@0x-jerry/unocss-preset-daisyui","version":"0.1.1","author":{"name":"0x-jerry","email":"x.jerry.wang@gmail.com"},"license":"MIT","_id":"@0x-jerry/unocss-preset-daisyui@0.1.1","maintainers":[{"name":"cwxyz","email":"x.jerry.wang@gmail.com"}],"dist":{"shasum":"898475df28c2f3ff8c5743e6388d65ac326681e4","tarball":"https://registry.npmjs.org/@0x-jerry/unocss-preset-daisyui/-/unocss-preset-daisyui-0.1.1.tgz","fileCount":5,"integrity":"sha512-34ma90G8ShuxMuTSLRBP6RpEgGA6Nf2Yjfz5OLHiXqG9DG1gMXQ4+Lma3/ooeyqK3BToRi4sbabQZX4QZhQczg==","signatures":[{"sig":"MEYCIQC2CLFko4N3Vu9RnY4rXaOxjdFtOgvGSyk3ghidfqObpwIhAKC3xjAwTqy0yW5KOu7mNg4ELM0QTJKrl0zQ/fVlZRH/","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6219},"main":"dist/index.js","type":"module","engines":{"node":">= 18"},"gitHead":"e9f545f4a59055e2ca90f9d23891725d07e9e08f","scripts":{"dev":"tsx src/index.ts","test":"vitest","build":"tsup src/index.ts --format esm --dts --clean","ci:test":"vitest run","release":"x-release","prepublishOnly":"npm run build"},"typings":"dist/index.d.ts","_npmUser":{"name":"cwxyz","email":"x.jerry.wang@gmail.com"},"_npmVersion":"11.3.0","description":"Daisyui preset for UnoCSS","directories":{},"_nodeVersion":"22.14.0","dependencies":{"unocss":"^66.1.1","daisyui":"^5.0.35","css-tree":"^3.1.0","fast-glob":"^3.3.3","@0x-jerry/utils":"^5.0.0","import-meta-resolve":"^4.1.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.4","tsup":"^8.4.0","vitest":"^3.1.3","typescript":"^5.8.3","@types/node":"^22.15.17","@biomejs/biome":"^1.9.4","@types/css-tree":"^2.3.10","@0x-jerry/x-release":"^2.4.0","@vitest/coverage-v8":"^3.1.3"},"_npmOperationalInternal":{"tmp":"tmp/unocss-preset-daisyui_0.1.1_1746934129767_0.7474888489010625","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@0x-jerry/unocss-preset-daisyui","version":"0.2.0","author":{"name":"0x-jerry","email":"x.jerry.wang@gmail.com"},"license":"MIT","_id":"@0x-jerry/unocss-preset-daisyui@0.2.0","maintainers":[{"name":"cwxyz","email":"x.jerry.wang@gmail.com"}],"dist":{"shasum":"c8d4eecc566f3e262828fed34f5f8f68dbc034d5","tarball":"https://registry.npmjs.org/@0x-jerry/unocss-preset-daisyui/-/unocss-preset-daisyui-0.2.0.tgz","fileCount":5,"integrity":"sha512-de/7kSww546GQjx8vKf/dPKr1+LfEI4CLoYptdZiR4yy6lvO4pnIFHql2LUaHn9/M6sL9GDuxaV6bYUaPLnMLA==","signatures":[{"sig":"MEUCIQCiiCGJrC7OgknqKaGRIsmUqK/xJDPvd78qj2KhjgOCXQIgMUedcsiEVQVtEFHKTI+4VaTDtGsFj7Zs85WhTYkgEf4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6552},"main":"dist/index.js","type":"module","engines":{"node":">= 18"},"gitHead":"bd3c222d11040ae37124de6793f79c2d38a3bc4b","scripts":{"dev":"tsx src/index.ts","play":"npm run -C playground dev","test":"vitest","build":"tsup src/index.ts --format esm --dts --clean","ci:test":"vitest run","release":"x-release","prepublishOnly":"npm run build"},"typings":"dist/index.d.ts","_npmUser":{"name":"cwxyz","email":"x.jerry.wang@gmail.com"},"_npmVersion":"11.3.0","description":"Daisyui preset for UnoCSS","directories":{},"_nodeVersion":"22.14.0","dependencies":{"unocss":"^66.1.1","daisyui":"^5.0.35","postcss":"^8.5.3","css-tree":"^3.1.0","fast-glob":"^3.3.3","postcss-nested":"^7.0.2","@0x-jerry/utils":"^5.0.0","import-meta-resolve":"^4.1.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.4","tsup":"^8.4.0","vitest":"^3.1.3","typescript":"^5.8.3","@types/node":"^22.15.17","@biomejs/biome":"^1.9.4","@types/css-tree":"^2.3.10","@0x-jerry/x-release":"^2.4.0","@vitest/coverage-v8":"^3.1.3"},"_npmOperationalInternal":{"tmp":"tmp/unocss-preset-daisyui_0.2.0_1747050014825_0.594154906897977","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@0x-jerry/unocss-preset-daisyui","version":"0.2.1","author":{"name":"0x-jerry","email":"x.jerry.wang@gmail.com"},"license":"MIT","_id":"@0x-jerry/unocss-preset-daisyui@0.2.1","maintainers":[{"name":"cwxyz","email":"x.jerry.wang@gmail.com"}],"dist":{"shasum":"5b6fbfe29d5140883fc2ebf1aada75172cc830fb","tarball":"https://registry.npmjs.org/@0x-jerry/unocss-preset-daisyui/-/unocss-preset-daisyui-0.2.1.tgz","fileCount":5,"integrity":"sha512-xIaqw99YqcSu3GYeOC0fnyTfvW3HK9bybsgt4wYFrhbcPr1yw5zBvtOuGhfiIyTqbNkxeTKS7CIgIpQGm0KXhA==","signatures":[{"sig":"MEUCIQCdBr29CMlFJIKWZ15nPH0oNWHW+MfSfHkOGRcv7qgjsAIgYMeeFfl4s7rSMJW37CqgDYswx3lAshdTFffFIO2pNJI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6590},"main":"dist/index.js","type":"module","engines":{"node":">= 18"},"gitHead":"fbbd201bc8436fdcfa5ad5c8641c38c710dc1672","scripts":{"dev":"tsx src/index.ts","play":"npm run -C playground dev","test":"vitest","build":"tsup src/index.ts --format esm --dts --clean","ci:test":"vitest run","release":"x-release","prepublishOnly":"npm run build"},"typings":"dist/index.d.ts","_npmUser":{"name":"cwxyz","email":"x.jerry.wang@gmail.com"},"_npmVersion":"11.3.0","description":"Daisyui preset for UnoCSS","directories":{},"_nodeVersion":"22.14.0","dependencies":{"unocss":"^66.1.1","daisyui":"^5.0.35","postcss":"^8.5.3","css-tree":"^3.1.0","fast-glob":"^3.3.3","postcss-nested":"^7.0.2","@0x-jerry/utils":"^5.0.0","import-meta-resolve":"^4.1.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.4","tsup":"^8.4.0","vitest":"^3.1.3","typescript":"^5.8.3","@types/node":"^22.15.17","@biomejs/biome":"^1.9.4","@types/css-tree":"^2.3.10","@0x-jerry/x-release":"^2.4.0","@vitest/coverage-v8":"^3.1.3"},"_npmOperationalInternal":{"tmp":"tmp/unocss-preset-daisyui_0.2.1_1747543658113_0.6747321601406877","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@0x-jerry/unocss-preset-daisyui","version":"0.2.2","author":{"name":"0x-jerry","email":"x.jerry.wang@gmail.com"},"license":"MIT","_id":"@0x-jerry/unocss-preset-daisyui@0.2.2","maintainers":[{"name":"cwxyz","email":"x.jerry.wang@gmail.com"}],"dist":{"shasum":"0b19d338e651eb377c7d9afb8f8716d2275124f7","tarball":"https://registry.npmjs.org/@0x-jerry/unocss-preset-daisyui/-/unocss-preset-daisyui-0.2.2.tgz","fileCount":5,"integrity":"sha512-reYaNl6QdsugeLwEaK1dSI+JeYkcRwqTbroe1UdNtHyp8qS1R/39FT4XbWV+rI9krHY2xnFS+6qXBSAkz/9ytg==","signatures":[{"sig":"MEUCID8U2/3hk7MproyVF9xBQFY2j0oeTbqL07KSg4DBzauqAiEA85qBwlJTTC3OS3fOpn/ygwU9QGfB9Mu7epGcUdiBCss=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8048},"main":"dist/index.js","type":"module","engines":{"node":">= 18"},"gitHead":"ea851a0c13b85994941ff22b726f797482247543","scripts":{"dev":"tsx src/index.ts","play":"npm run -C playground dev","test":"vitest","build":"tsup src/index.ts --format esm --dts --clean","ci:test":"vitest run","release":"x-release","prepublishOnly":"npm run build"},"typings":"dist/index.d.ts","_npmUser":{"name":"cwxyz","email":"x.jerry.wang@gmail.com"},"_npmVersion":"11.4.2","description":"Daisyui preset for UnoCSS","directories":{},"_nodeVersion":"22.19.0","dependencies":{"unocss":"^66.0.0","daisyui":"^5.3.0","postcss":"^8.5.6","css-tree":"^3.1.0","fast-glob":"^3.3.3","postcss-nested":"^7.0.2"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","tsup":"^8.5.0","vitest":"^3.2.4","typescript":"^5.9.3","@types/node":"^24.7.2","@biomejs/biome":"^2.2.6","@types/css-tree":"^2.3.11","@0x-jerry/x-release":"^2.4.0","@vitest/coverage-v8":"^3.2.4"},"_npmOperationalInternal":{"tmp":"tmp/unocss-preset-daisyui_0.2.2_1760619369308_0.2872335772389949","host":"s3://npm-registry-packages-npm-production"}},"0.2.3":{"name":"@0x-jerry/unocss-preset-daisyui","version":"0.2.3","description":"Daisyui preset for UnoCSS","type":"module","engines":{"node":">= 18"},"license":"MIT","author":{"name":"0x-jerry","email":"x.jerry.wang@gmail.com"},"main":"dist/index.js","typings":"dist/index.d.ts","publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"scripts":{"dev":"tsx src/index.ts","test":"vitest","play":"npm run -C playground dev","build":"tsup src/index.ts --format esm --dts --clean","prepublishOnly":"npm run build","release":"x-release","ci:test":"vitest run"},"devDependencies":{"@0x-jerry/x-release":"^2.4.0","@biomejs/biome":"^2.2.6","@types/css-tree":"^2.3.11","@types/node":"^24.7.2","@vitest/coverage-v8":"^3.2.4","tsup":"^8.5.0","tsx":"^4.20.6","typescript":"^5.9.3","vitest":"^3.2.4"},"dependencies":{"css-tree":"^3.1.0","daisyui":"^5.3.0","fast-glob":"^3.3.3","postcss":"^8.5.6","postcss-nested":"^7.0.2","unocss":"^66.0.0"},"_id":"@0x-jerry/unocss-preset-daisyui@0.2.3","gitHead":"9402642551db7cd94475d58163e7be800318143a","_nodeVersion":"22.19.0","_npmVersion":"11.4.2","dist":{"integrity":"sha512-c4S5dU6RC/jTa3sN9TjD0A9xE+neulAaDShK6EJtIWokPcjndjtvLMxFOM0rheykfjQxDE8s2OYuKpKvYtVhkw==","shasum":"7d38afaa6b211fbb556915678ab251f11f2b0dde","tarball":"https://registry.npmjs.org/@0x-jerry/unocss-preset-daisyui/-/unocss-preset-daisyui-0.2.3.tgz","fileCount":5,"unpackedSize":8472,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIB1rSL6cCRPolXN/x2ZU7k7gdfOC/YHJeHCAqtl2H3sYAiEAiIUeZwv0/dXicD14MFy1osZjPsqUajyZS8bC7XTi0cA="}]},"_npmUser":{"name":"cwxyz","email":"x.jerry.wang@gmail.com"},"directories":{},"maintainers":[{"name":"cwxyz","email":"x.jerry.wang@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/unocss-preset-daisyui_0.2.3_1760839143539_0.8796156881489852"},"_hasShrinkwrap":false}},"time":{"created":"2025-05-11T03:01:23.707Z","modified":"2025-10-19T01:59:03.960Z","0.1.0":"2025-05-11T03:01:23.967Z","0.1.1":"2025-05-11T03:28:50.050Z","0.2.0":"2025-05-12T11:40:15.009Z","0.2.1":"2025-05-18T04:47:38.328Z","0.2.2":"2025-10-16T12:56:09.519Z","0.2.3":"2025-10-19T01:59:03.753Z"},"author":{"name":"0x-jerry","email":"x.jerry.wang@gmail.com"},"license":"MIT","description":"Daisyui preset for UnoCSS","maintainers":[{"name":"cwxyz","email":"x.jerry.wang@gmail.com"}],"readme":"# UnoCSS Preset Daisyui\n\nA UnoCSS preset for [daisyui](https://daisyui.com/).\nDue to the implementation, this is 100% compatible with daisyui with some [trade-offs](#limitations).\n\n## Install\n\n```sh\npnpm i @0x-jerry/unocss-preset-daisyui daisyui -D\n```\n\n## Usage\n\n`unocss.config.ts`\n\n```ts\nimport { defineConfig, presetMini, presetWind4 } from \"unocss\";\nimport { presetDaisyui } from \"@0x-jerry/unocss-preset-daisyui\";\n\nexport default defineConfig({\n  presets: [\n    presetMini(),\n    // When use with wind4 preset, you need to disable reset preflight,\n    // because preset daisyui already included it.\n    presetWind4({\n      preflights: {\n        reset: false,\n      },\n    })\n    presetDaisyui(),\n  ],\n});\n```\n\n`main.ts`\n\n```ts\nimport \"uno.css\";\nimport \"daisyui/theme/light.css\";\n```\n\n## Limitations\n\nDue to the implementation of this preset, here has some limitations:\n\n1. All `daisyui` classes will only available in global scope.\n2. `daisyui/theme/light.css` is required, or you can import any theme you want from `daisyui/theme`.\n3. You can't use `@apply` with `daisyui` classes.\n4. `daisyui` classes is not fully on-demand, so the bundle size may larger than expected.\n","readmeFilename":"readme.md"}