Files
cbsnexora/src/app/home/dashboard/dashboard.component-theme.scss
T

39 lines
1020 B
SCSS

@use '@angular/material' as mat;
@use 'sass:map';
@mixin dashboard-component-theme($theme) {
$primary: map.get($theme, primary);
mifosx-dashboard {
.recent-activities,
.frequent-activities {
.header {
background-color: mat.m2-get-color-from-palette($primary, 500);
color: mat.m2-get-contrast-color-from-palette($primary, 500);
}
}
mifosx-amount-collected-pie,
mifosx-amount-disbursed-pie,
mifosx-client-trends-bar {
.card {
.header {
background-color: mat.m2-get-color-from-palette($primary, 500);
color: mat.m2-get-contrast-color-from-palette($primary, 500);
mat-label,
.mat-select-value,
.mat-select-arrow {
color: mat.m2-get-contrast-color-from-palette($primary, 500);
}
.mat-form-field-underline,
.mat-form-field-ripple {
background-color: mat.m2-get-contrast-color-from-palette($primary, 500);
}
}
}
}
}
}