Skip to content

Bootstrap theming error when setting colors from css to scss file #36134

Answered by mdo
erkanisuf asked this question in Q&A
Discussion options

You must be logged in to vote

Main issue here is that we expect hex values in our theme colors because we use Sass functions to manipulate them through mixins and more. You cannot do that with CSS variables. So until maybe v6, you'll have to use raw hex values instead.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@varun-av
Comment options

@julien-deramond
Comment options

@varun-av
Comment options

Answer selected by mdo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants