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

47 lines
1.2 KiB
SCSS

/**
* Copyright since 2025 Mifos Initiative
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
@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);
}
}
}
}
}
}