Bootstrap: SASS compile error on 4.3.1

Created on 28 Mar 2019  路  2Comments  路  Source: twbs/bootstrap

So I was trying to compile the bootstrap _variables.scss on version 4.3.1 and I got this error

Error: $color: theme-color("primary") is not a color.
$link-hover-color: darken($link-color, 15%) !default;

accessibility

Most helpful comment

The theme-color() function is defined in scss/functions.scss. Make sure that file is imported before using the function.

All 2 comments

This seems like a configuration on your side, but we need to see how you load bootstrap and everything related so we need more info.

The theme-color() function is defined in scss/functions.scss. Make sure that file is imported before using the function.

Was this page helpful?
0 / 5 - 0 ratings