Skip to content

Commit 4c83a88

Browse files
committed
fix: theming function
1 parent 2a37b30 commit 4c83a88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/theming/functions.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,9 @@ module.exports = {
196196

197197
let themeOrder = []
198198
if (Array.isArray(config("daisyui.themes"))) {
199-
for (const item of config("daisyui.themes")) {
199+
for (const theme of config("daisyui.themes")) {
200200
if (typeof theme === "object" && theme !== null) {
201-
for (const customThemeName of Object.keys(item)) {
201+
for (const customThemeName of Object.keys(theme)) {
202202
themeOrder.push(customThemeName)
203203
}
204204
} else if (Object.hasOwn(includedThemesObj, theme)) {

0 commit comments

Comments
 (0)