Closed
Description
I have a habit of importing my _variables.scss and _mixins.scss into my root src/style.scss
file
@import 'styles/base/_variables.scss';
@import 'styles/base/_mixins.scss';
@import 'styles/helpers/flexbox.scss';
* {
padding: 0;
margin: 0;
}
body{
padding: 4%;
font-family: sans-serif;
}
But when I'm trying to access the variables in my components.scss, it's giving me an error
color: $primary-color;
Isn't there a way I can achieve this simply? Please Help.
Metadata
Metadata
Assignees
Labels
No labels