Releases: kidonng/unocss-preset-daisy
Releases · kidonng/unocss-preset-daisy
v7.0.0
v6.0.1
- 4d9ea1e Fix peer deps
v6.0.0
themes
config now defaults to false
, following daisyUI 3. This was unnoticed in the last release.
v5.0.0
Added support for daisyUI 3. Not compatible with daisyUI 2.
Components on the demo page has been sanity-checked. However, as it is a pretty big release, I didn't get to test everything, please report all your bugs!
v4.0.0
This package is ESM only (again).
v3.1.1
- 28ab7b0 Improve
.btn-outline
handling
v3.1.0
- d330fa6 Full support for daisyUI theme config
v3.0.1
- 91b8f90 Move overrides from preflights to rules
v3.0.0
- A full "JIT" rewrite, you no longer need to import styles manually, just configure the preset and enjoy
- Added support for daisyUI config
- Documentation updates
How to upgrade to v3
- Install
daisyui
dependency - Remove
@kidonng/daisyui
dependency - Remove UnoCSS transformer
transformerDirectives
(unless it is used elsewhere)
npm install daisyui
npm uninstall @kidonng/daisyui
import '@unocss/reset/tailwind.css'
- import '@kidonng/daisyui/index.css'
import 'uno.css'
{
- transformers: [transformerDirectives()],
presets: [presetUno(), presetDaisy()],
}
v2.0.0
-
This package turns out to be more popular than I expected, so I have to surrender to ESM & CJS dual package.
If you previously experienced import errors, try the latest version.
-
I take the chance to use named exports, so you need to change your import a bit:
- import presetDaisy from 'unocss-preset-daisy' + import {presetDaisy} from 'unocss-preset-daisy'
-
Documentation updates, etc.