- Issue created by @G4MBINI
- 🇫🇷France steveoriol Grenoble 🇫🇷
Info info, when you use a sub-theme with ui_suite_daisyui has base theme :
in xxxxx.info.yml
base theme: ui_suite_daisyui
you can use you own DaisyUI local package by adding in the xxxxx.info.yml[...] libraries: - xxxxx/global - xxxxx/daisyui libraries-override: ui_suite_daisyui/daisyui_cdn: css: theme: 'https://cdn.jsdelivr.net/npm/daisyui@4.12.23/dist/full.min.css': false js: 'https://cdn.tailwindcss.com?plugins=typography': false ui_suite_daisyui/custom_css: css: theme: 'dist/css/custom/custom.css': false
and add in "xxxxx.libraries.yml" :
global: js: js/xxxxx.js: {} css: theme: css/custom.css: {} daisyui: css: theme: /libraries/daisyui/daisyui.css: { minified: true }
But it's true that it would be great to be able to choose which packet to use by simple configuration!
- Status changed to Closed: outdated
6 days ago 7:56am 3 April 2025 - 🇫🇷France G4MBINI Bègles
Thanks to ✨ Enable local build of TailwindCSS/DaisyUI CSS Active we don't need it anymore as :
- Only CDN is used inside root/parent theme
- Custom build process now happens within Starterkit