daisyui 4.12.3 → 4.12.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/theming/functions.js
CHANGED
|
@@ -196,9 +196,9 @@ module.exports = {
|
|
|
196
196
|
|
|
197
197
|
let themeOrder = []
|
|
198
198
|
if (Array.isArray(config("daisyui.themes"))) {
|
|
199
|
-
for (const
|
|
199
|
+
for (const theme of config("daisyui.themes")) {
|
|
200
200
|
if (typeof theme === "object" && theme !== null) {
|
|
201
|
-
for (const customThemeName of Object.keys(
|
|
201
|
+
for (const customThemeName of Object.keys(theme)) {
|
|
202
202
|
themeOrder.push(customThemeName)
|
|
203
203
|
}
|
|
204
204
|
} else if (Object.hasOwn(includedThemesObj, theme)) {
|
package/src/theming/themes.d.ts
CHANGED