Remove daisyui wrapper modules
Some checks failed
Push Workflows / test (push) Failing after 5s
Push Workflows / docs (push) Failing after 5s
Push Workflows / clippy (push) Failing after 6s
Push Workflows / rustfmt (push) Successful in 4s
Push Workflows / tailwind-build (push) Failing after 4s
Push Workflows / nix-build (push) Successful in 4m51s
Push Workflows / build (push) Failing after 1m15s

This commit is contained in:
2026-08-04 20:12:39 -04:00
parent 55db6c317c
commit e95f335d76
3 changed files with 2 additions and 38 deletions

View File

@@ -1,18 +0,0 @@
let daisyui_theme = null;
try {
daisyui_theme = require('daisyui/theme');
} catch (e) { }
if (daisyui_theme == null) {
try {
daisyui_theme = require(`${process.env.DAISYUI_THEME_PATH}/daisyui-theme.js`);
} catch (e) { }
}
if (daisyui_theme == null) {
console.error('Could not find DaisyUI/theme');
throw new Error('Could not find DaisyUI/theme');
}
export default daisyui_theme.default || daisyui_theme;

View File

@@ -1,18 +0,0 @@
let daisyui = null;
try {
daisyui = require('daisyui');
} catch (e) { }
if (daisyui == null) {
try {
daisyui = require(`${process.env.DAISYUI_PATH}/daisyui.js`);
} catch (e) { }
}
if (daisyui == null) {
console.error('Could not find DaisyUI');
throw new Error('Could not find DaisyUI');
}
export default daisyui.default || daisyui;

View File

@@ -1,10 +1,10 @@
@import "tailwindcss"; @import "tailwindcss";
@plugin "./daisyui-wrapper.js" { @plugin "daisyui" {
themes: all; themes: all;
}; };
@plugin "./daisyui-theme-wrapper.js" { @plugin "daisyui-theme" {
}; };
@source not "*"; @source not "*";