@sebgroup/seb-angular-material-theme

12.1.2 • Public • Published

SEB Angular Material

This is SEB theme for Angular Material components

GitHub top language semantic-release

Demo app

Installation

  • 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`

Usage

  • 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):
    @import "node_modules/@sebgroup/seb-angular-material-theme/seb-mat-theme.css";
    
    or add it in angular.json
    "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.

Development server

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.

Releasing

The library is released via semantic-release.

Readme

Keywords

none

Package Sidebar

Install

npm i @sebgroup/seb-angular-material-theme

Weekly Downloads

1

Version

12.1.2

License

Apache-2.0

Unpacked Size

137 kB

Total Files

24

Last publish

Collaborators

  • vsjolander
  • sebopensource
  • johanobrink