mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-23 13:28:45 +00:00
feat(console): MDC components (#6482)
mdc components --------- Co-authored-by: Elio Bischof <[email protected]>
This commit is contained in:
co-authored by
Elio Bischof
parent
cb7b50b513
commit
b099a26a16
@@ -1,8 +1,6 @@
|
||||
@use '@angular/material' as mat;
|
||||
|
||||
@mixin toast-theme($theme) {
|
||||
$warn: map-get($theme, warn);
|
||||
$warn-color: mat.get-color-from-palette($warn, 500);
|
||||
$warn-color: map-get($warn, 500);
|
||||
$background: map-get($theme, background);
|
||||
$foreground: map-get($theme, foreground);
|
||||
|
||||
@@ -12,7 +10,13 @@
|
||||
// }
|
||||
|
||||
.data-e2e-failure {
|
||||
color: $warn-color !important;
|
||||
background-color: mat.get-color-from-palette($background, cards) !important;
|
||||
.mdc-snackbar__surface {
|
||||
background-color: map-get($background, toast) !important;
|
||||
color: $warn-color !important;
|
||||
|
||||
* {
|
||||
color: $warn-color !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user