From 964c4b23a995419488ab4ed624f4c01d86c94d4c Mon Sep 17 00:00:00 2001 From: Sercan Yemen Date: Sat, 1 Jan 2022 22:32:24 +0300 Subject: [PATCH] Fixed: Accent and Warn colors are not being generated for themes other than the Default --- src/@fuse/tailwind/plugins/theming.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/@fuse/tailwind/plugins/theming.js b/src/@fuse/tailwind/plugins/theming.js index 04876b67..244b5acf 100644 --- a/src/@fuse/tailwind/plugins/theming.js +++ b/src/@fuse/tailwind/plugins/theming.js @@ -102,7 +102,7 @@ const theming = plugin.withOptions((options) => ({ // @ Map variable colors // ----------------------------------------------------------------------------------------------------- const mapVariableColors = _.fromPairs(_.map(options.themes, (theme, themeName) => [ - themeName === 'default' ? '.theme-default' : `.theme-${e(themeName)}`, + themeName === 'default' ? 'body, .theme-default' : `.theme-${e(themeName)}`, _.fromPairs(_.flatten(_.map(flattenColorPalette(_.fromPairs(_.flatten(_.map(normalizeTheme(theme), (palette, paletteName) => [ [ e(paletteName),