feat: add theme picker (#69)

Add theme picker for configuration of angular material default themes.

Fixes #68
This commit is contained in:
Abhay Chawla
2018-06-27 21:28:40 +05:30
committed by GitHub
parent 3d6a4bbc2d
commit 7782e8d856
19 changed files with 329 additions and 6 deletions
+43 -2
View File
@@ -22,6 +22,7 @@
"main": "src/main.ts",
"tsConfig": "src/tsconfig.app.json",
"polyfills": "src/polyfills.ts",
"extractCss": true,
"assets": [
"src/favicon.ico",
"src/robots.txt",
@@ -29,7 +30,27 @@
"src/assets"
],
"styles": [
"src/main.scss"
"src/main.scss",
{
"input": "src/theme/deeppurple-amber.scss",
"bundleName": "theme/deeppurple-amber",
"lazy": true
},
{
"input": "src/theme/indigo-pink.scss",
"bundleName": "theme/indigo-pink",
"lazy": true
},
{
"input": "src/theme/pink-bluegrey.scss",
"bundleName": "theme/pink-bluegrey",
"lazy": true
},
{
"input": "src/theme/purple-green.scss",
"bundleName": "theme/purple-green",
"lazy": true
}
],
"scripts": []
},
@@ -80,7 +101,27 @@
"tsConfig": "src/tsconfig.spec.json",
"scripts": [],
"styles": [
"src/main.scss"
"src/main.scss",
{
"input": "src/theme/deeppurple-amber.scss",
"bundleName": "theme/deeppurple-amber",
"lazy": true
},
{
"input": "src/theme/indigo-pink.scss",
"bundleName": "theme/indigo-pink",
"lazy": true
},
{
"input": "src/theme/pink-bluegrey.scss",
"bundleName": "theme/pink-bluegrey",
"lazy": true
},
{
"input": "src/theme/purple-green.scss",
"bundleName": "theme/purple-green",
"lazy": true
}
],
"assets": [
"src/favicon.ico",