This is SEB theme for Angular Material components
- add npm dependency for Angular Material:
npm install --save @angular/material @angular/cdk @angular/animations
To install using NPM use this command:
`npm i --save @sebgroup/seb-angular-material-theme`
- in your top level style file (for ex.
styles.sass
), add SEB Material styles (lib contains both seb-mat-theme.css and seb-mat-theme.scss files):or add it in angular.json@import "node_modules/@sebgroup/seb-angular-material-theme/seb-mat-theme.css";
"styles": [ .., "node_modules/@sebgroup/seb-angular-material-theme/seb-mat-theme.css" ],
- in your markup body:
<body class="mat-body">...</body>
- in your components, use Angular Material directives:
<button mat-raised-button color="primary" type="button"></button>
For more info on usage and examples, consult Angular Material docs.
Angular demo application is available.
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
The library is released via semantic-release.