File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ $candy-app-theme: mat-light-theme((
9595 color : (
9696 primary: $candy-app-primary ,
9797 accent: $candy-app-accent ,
98- warn: $candy-app-warn ,
98+ warn: $candy-app-warn ,
9999 ),
100100 typography: mat-typography-config (),
101101 density: 0 , // Defaults to 0 if omitted, but shown for completeness.
@@ -114,9 +114,9 @@ add a new entry to the `"styles"` list in `angular.json` pointing to the theme
114114file (e.g., ` unicorn-app-theme.scss ` ).
115115
116116If you're not using the Angular CLI, you can use any existing Sass tooling to build the file (such
117- as gulp-sass or grunt-sass). The simplest approach is to use the ` node- sass` CLI; you simply run:
117+ as gulp-sass or grunt-sass). The simplest approach is to use the ` sass ` CLI; you simply run:
118118```
119- node- sass src/unicorn-app-theme.scss dist/unicorn-app-theme.css
119+ sass src/unicorn-app-theme.scss dist/unicorn-app-theme.css
120120```
121121Then include the output file in your index.html.
122122
Original file line number Diff line number Diff line change @@ -4,14 +4,14 @@ import {buildConfig} from '../build-config';
44
55// These imports lack of type definitions.
66const gulpSass = require ( 'gulp-sass' ) ;
7- const nodeSass = require ( 'sass' ) ;
7+ const sass = require ( 'sass' ) ;
88
99const sassIncludePaths = [
1010 join ( buildConfig . projectDir , 'node_modules/' )
1111] ;
1212
1313// Set the compiler to our version of `sass`, rather than the one that `gulp-sass` depends on.
14- gulpSass . compiler = nodeSass ;
14+ gulpSass . compiler = sass ;
1515
1616/** Create a gulp task that builds SCSS files. */
1717export function buildScssPipeline ( sourceDir : string ) {
You can’t perform that action at this time.
0 commit comments