Reconfigured project to use scss (sass, see http://sass-lang.com/guide)) instead of regular css files to support inheritance, variables, etc. in style files. Replaced reference to pre-built bootstrap with a custom build via the sass compiler to enable customization of colors, fonts, etc. (see https://github.com/angular/angular-cli/wiki/stories-include-bootstrap for more details on how to do this). Added custom variable file to play around with this setup.
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
"testTsconfig": "tsconfig.spec.json",
|
||||
"prefix": "app",
|
||||
"styles": [
|
||||
"styles.css"
|
||||
"styles.scss"
|
||||
],
|
||||
"scripts": [],
|
||||
"environmentSource": "environments/environment.ts",
|
||||
@@ -54,7 +54,7 @@
|
||||
}
|
||||
},
|
||||
"defaults": {
|
||||
"styleExt": "css",
|
||||
"styleExt": "scss",
|
||||
"component": {}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user