Skip to content

Commit

Permalink
feat(demo): refactor/restyle demo
Browse files Browse the repository at this point in the history
  - grid based layout for pages
  - generic `app-card` component (adds color input)
  - added custom theme
  - moved `styles.scss`
  - some reconfiguration
  - made site more responsive
  - several small fixes
  • Loading branch information
carlo-nomes committed Jan 22, 2019
1 parent 15e661d commit a29b95b
Show file tree
Hide file tree
Showing 41 changed files with 9,668 additions and 1,611 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ You decide how to display the messages by defining your own Error component:

<!-- or you can use the error's data/properties to do something fancy -->
<div *ngFor="let error of errors" [ngClass]="getErrorClass(error)">
{{ constructDisplayedErrorMMessage(error) }}
{{ constructDisplayedErrorMessage(error) }}
</div>
```

Expand Down
10 changes: 8 additions & 2 deletions demo-app/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.app.json",
"assets": ["src/favicon.ico", "src/assets"],
"styles": ["src/styles.scss", "node_modules/normalize.css/normalize.css"],
"styles": ["node_modules/normalize.css/normalize.css", "src/styles/styles.scss"],
"stylePreprocessorOptions": {
"includePaths": ["src/styles"]
},
"scripts": []
},
"configurations": {
Expand Down Expand Up @@ -77,7 +80,10 @@
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.spec.json",
"karmaConfig": "src/karma.conf.js",
"styles": ["src/styles.scss"],
"styles": ["node_modules/normalize.css/normalize.css", "src/styles/styles.scss"],
"stylePreprocessorOptions": {
"includePaths": ["src/styles"]
},
"scripts": [],
"assets": ["src/favicon.ico", "src/assets"]
}
Expand Down
Loading

0 comments on commit a29b95b

Please sign in to comment.