mirror of
https://github.com/andwati/zitadel.git
synced 2026-10-29 02:22:16 +00:00
19 lines
530 B
SCSS
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;
|
|
}
|
|
}
|