Add custom colors to the theme-colors map #310
Unanswered
xanderjanzen
asked this question in
Q&A
Replies: 1 comment 4 replies
-
Yes, please check here #175 Unfortunately it‘s not possible to create them in child, you have to add custom colors in main-theme |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Bootscore,
Can you tell me how to add custom colors (not override) to the theme-code map?
I would like to add some colors like this:
...........................................................................
$custom-colors: (
"custom-primary": #003767,
"custom-secondary": #007f2e,
"custom-success": #C00000,
"custom-info": #FF5000,
"custom-warning": #414A51,
"custom-danger": #E3E3E3,
"custom-light": #F0F0F0,
"custom-dark": #00B2CE,
);
$theme-colors: map-merge($theme-colors, $custom-colors);
...............................................................................
I have tried all .scss files like _bscore_custom.scss, _bscore_variables.scss and _colors.scss
But cannot get it to work.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions