September 2017
Intermediate to advanced
450 pages
11h 24m
English
The "colors" portion of the import is a relative file path to the current Sass file, which Sass will resolve to ./_colors.scss. This extra underscore is a best practice when creating partials to denote that they are meant to be imported as partials in Sass. Files without underscores usually are meant to be root Sass files imported by Angular-CLI's build system. We also don't need to define the .scss file extension in the Sass import; the Sass compiler will automatically resolve that for us.
Read now
Unlock full access