We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a37b30 commit 4c83a88Copy full SHA for 4c83a88
src/theming/functions.js
@@ -196,9 +196,9 @@ module.exports = {
196
197
let themeOrder = []
198
if (Array.isArray(config("daisyui.themes"))) {
199
- for (const item of config("daisyui.themes")) {
+ for (const theme of config("daisyui.themes")) {
200
if (typeof theme === "object" && theme !== null) {
201
- for (const customThemeName of Object.keys(item)) {
+ for (const customThemeName of Object.keys(theme)) {
202
themeOrder.push(customThemeName)
203
}
204
} else if (Object.hasOwn(includedThemesObj, theme)) {
0 commit comments