mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-01-08 19:45:08 +00:00
Fixed: Accent and Warn colors are not being generated for themes other than the Default
This commit is contained in:
parent
a8337ce617
commit
964c4b23a9
|
@ -102,7 +102,7 @@ const theming = plugin.withOptions((options) => ({
|
||||||
// @ Map variable colors
|
// @ Map variable colors
|
||||||
// -----------------------------------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------------------------------
|
||||||
const mapVariableColors = _.fromPairs(_.map(options.themes, (theme, themeName) => [
|
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) => [
|
_.fromPairs(_.flatten(_.map(flattenColorPalette(_.fromPairs(_.flatten(_.map(normalizeTheme(theme), (palette, paletteName) => [
|
||||||
[
|
[
|
||||||
e(paletteName),
|
e(paletteName),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user