cant use mixins in scss modules code example
Example 1: import mixin from another file
@import "../../../theme/main.scss"
Example 2: sass @use not working
As of 8/2020 @use is only compatible with Dart Sass.
Check compatibility with documentation.
https://sass-lang.com/documentation/at-rules/use