66 lines
2.9 KiB
SCSS
66 lines
2.9 KiB
SCSS
@use '@angular/material' as mat;
|
|
// Plus imports for other components in your app.
|
|
@import '../../app/clients/clients-view/clients-view.component-theme.scss';
|
|
@import '../../app/groups/groups-view/groups-view.component-theme.scss';
|
|
@import '../../app/centers/centers-view/centers-view.component-theme.scss';
|
|
@import '../../app/home/dashboard/dashboard.component-theme.scss';
|
|
@import '../../app/loans/loans-view/loans-view.component-theme.scss';
|
|
@import '../../app/savings/savings-account-view/savings-account-view.component-theme.scss';
|
|
@import '../../app/shares/shares-account-view/shares-account-view.component-theme.scss';
|
|
@import '../../app/deposits/fixed-deposits/fixed-deposit-account-view/fixed-deposit-account-view.component-theme.scss';
|
|
@import '../../app/deposits/recurring-deposits/recurring-deposits-account-view/recurring-deposits-account-view.component-theme.scss';
|
|
|
|
// Custom material palette
|
|
$mat-picton-blue: (
|
|
100: #6ce0ff,
|
|
500: #1daeec,
|
|
700: #007fb9,
|
|
contrast: (
|
|
100: rgba(black, 0.87),
|
|
500: rgba(black, 0.87),
|
|
700: rgba(black, 0.87)
|
|
)
|
|
);
|
|
|
|
$mat-yellow-green: (
|
|
100: #e7ffa5,
|
|
500: #b4d575,
|
|
700: #83a447,
|
|
contrast: (
|
|
100: rgba(black, 0.87),
|
|
500: rgba(black, 0.87),
|
|
700: rgba(black, 0.87)
|
|
)
|
|
);
|
|
|
|
// Include the common styles for Angular Material. We include this here so that you only
|
|
// have to load a single css file for Angular Material in your app.
|
|
// Be sure that you only ever include this mixin once!
|
|
@include mat.core();
|
|
|
|
// Define the palettes for your theme using the Material Design palettes available in palette.scss
|
|
// (imported above). For each palette, you can optionally specify a default, lighter, and darker
|
|
// hue. Available color palettes: https://material.io/design/color/
|
|
$mifosx-app-primary: mat.define-palette($mat-picton-blue);
|
|
$mifosx-app-accent: mat.define-palette($mat-yellow-green);
|
|
|
|
// The warn palette is optional (defaults to red).
|
|
$mifosx-app-warn: mat.define-palette(mat.$red-palette);
|
|
|
|
// Create the theme object (a Sass map containing all of the palettes).
|
|
$mifosx-app-theme: mat.define-light-theme($mifosx-app-primary, $mifosx-app-accent, $mifosx-app-warn);
|
|
|
|
// Include theme styles for core and each component used in your app.
|
|
// Alternatively, you can import and @include the theme mixins for each component
|
|
// that you are using.
|
|
@include mat.all-component-themes($mifosx-app-theme);
|
|
@include clients-view-component-theme($mifosx-app-theme);
|
|
@include groups-view-component-theme($mifosx-app-theme);
|
|
@include centers-view-component-theme($mifosx-app-theme);
|
|
@include dashboard-component-theme($mifosx-app-theme);
|
|
@include loans-view-component-theme($mifosx-app-theme);
|
|
@include savings-account-view-component-theme($mifosx-app-theme);
|
|
@include shares-account-view-component-theme($mifosx-app-theme);
|
|
@include fixed-deposits-account-view-component-theme($mifosx-app-theme);
|
|
@include recurring-deposits-account-view-component-theme($mifosx-app-theme);
|