doabit/semantic-ui-sass

error: "Undefined variable" when import specific modules

BoleLee opened this issue · 2 comments

I tried to import only form module:
@import "semantic-ui/collections/form";
but it appeared error: Undefined variable: $font-family;
Then I modified it to:
@import "semantic-ui/globals/site"; @import "semantic-ui/collections/form";
it appeared error: Undefined variable: $import-google-fonts

I have no idea what goes wrong, am I doing something wrong?

@BoleLee Please try

@import "semantic-ui/globals/all";
@import "semantic-ui/collections/form";

or

@import "semantic-ui/globals/variables";
@import "semantic-ui/collections/form";

Both ways work, Thank you~~ @doabit