BS 5.3.0-alpha1: Adding theme color to map will not work in maps.scss - Is this a glitch? #38011
Unanswered
jhenbertgit
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Adding theme color to the map will not work if you also modify the utilities. Below is my scss:
$utilities: map-merge(
$utilities,
(
"viewport-height":
map-merge(
map-get($utilities, "viewport-height"),
(
values:
map-merge(
map-get(map-get($utilities, "viewport-height"), "values"),
(
75: 75vh,
)
),
)
),
)
);
$primary: #5724e9;
$secondary: #505050;
$dark-color: #4a49a8;
$light-color: #7596e3;
$theme-colors: (
"primary": $primary,
"secondary": $secondary,
);
$theme-colors: map-merge(
$theme-colors,
(
"light-color": $light-color,
"dark-color": $dark-color,
)
);
The Utilities map-merge will work but the theme-color map-merge will not work.
I apologize for my poor English, hope you understand my point. Thank you.
Beta Was this translation helpful? Give feedback.
All reactions