import mixin from another file
@import "../../../theme/main.scss"
import mixin from another file
@import "../../../theme/main.scss"
sass import variable from another file
// When importing the master, you leave out the underscore, and it
// will look for a file with the underscore. This prevents the SCSS
// compiler from generating a CSS file from it.
@import "assets/master";
// Then do the rest of my CSS afterwards:
.text { color: $accent; }
// assets/_master.scss
$accent: #6D87A7;
$error: #811702;
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
Sass @import syntax
@import filename;
Sass @import example
@import "reset";
body {
font-family: Helvetica, sans-serif;
font-size: 18px;
color: red;
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us