opened
iantbarker
username_0
I see old issues about theme colors but the answers seem to be that it is resolved in beta 2. I upgraded to beta 2 and I cannot get theme colors to work. My file structure is to import individual BS files into main.scss. I have:

`@import "bootstrap/functions";
@import "bootstrap/variables";
@import "_variables_custom.scss";`

In my "_variables_custom.scss" file I have:

`$brand-primary: 	#e95362;
$theme-colors: (
	"primary":    $brand-primary
);`

This code changes the primary color but wipes out all other colors in the theme-colors map. I have to redeclare all the colors from the colors map to make it work.

Am I missing something?
Theme colors
issue
created
jipexu
username_1
Hi
i use like this way and work perfectly 

// core bootstrap functions
@import "../scss/functions";
@import "../scss/mixins";

// variable overrides
@import "variables"; <== your variables (in wich you need the new grayscale and colors function...)

// full bootstrap
@import "../scss/bootstrap";

// style overrides if need
@import "xxxxx";
comment
closed
andresgalante
username_2
issue
created
andresgalante
username_2
Hi @username_0, as @username_0 mentions import your variables **before** Bootstrap's it's documented here:
http://getbootstrap.com/docs/4.0/getting-started/theming/#variable-defaults
comment
created
iantbarker
username_0
Ah, my bad. Apologies.
comment