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
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:
@@ -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;
|
|
||||||
@@ -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;
|
|
||||||
@@ -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 "*";
|
||||||
|
|||||||
Reference in New Issue
Block a user