@smitag/angular-shared-ui
v18.1.19
Published
Styling elements and methods shared by all frontends
Downloads
48
Readme
Angular Material Theme for Smart InsurTech AG
This repository contains themes for Angular Material components with the styling and colors of Smart InsurTech.
Requirements
- Angular >= 18
- Angular material >= 18
Installation
- Install Angular Material and it's peer dependencies as described on material.angular.io
- Skip including a prebuild theme
- Install theme via npm
npm install @smitag/angular-shared-ui
- Add following code to your global style.scss
@use '@smitag/angular-shared-ui/src/lib/styles/styles'; @use '@smitag/angular-shared-ui/src/lib/styles/themes/default';
Applying the theme color
If you want to apply the theme primary color to html elements, set the class to theme-color-primary
.
For the secondary color use theme-color-secondary
.
<mat-icon class="theme-color-primary" fontSet="far" fontIcon="fa-edit"></mat-icon>