Files
zitadel/console/src/styles/toast.scss
T
2022-05-18 12:16:11 +00:00

19 lines
530 B
SCSS

@use '@angular/material' as mat;
@mixin toast-theme($theme) {
$warn: map-get($theme, warn);
$warn-color: mat.get-color-from-palette($warn, 500);
$background: map-get($theme, background);
$foreground: map-get($theme, foreground);
// .data-e2e-success {
// background-color: map-get($background, cards) !important;
// color: var(--success) !important;
// }
.data-e2e-failure {
color: $warn-color !important;
background-color: mat.get-color-from-palette($background, cards) !important;
}
}