Denys Vuika a0926a38d8
Minor code and style fixes (#5398)
* type fixes

* import fixes

* fix typos

* fix warning for private props that init in ctor only

* typing fixes

* typing fixes

* style cleanup

* fix test template
2020-02-09 22:03:32 +00:00

32 lines
623 B
SCSS

@import '~@angular/material/theming';
@mixin adf-snackbar-theme($theme) {
$warn: map-get($theme, warn);
$accent: map-get($theme, accent);
$primary: map-get($theme, primary);
.adf-error-snackbar {
background-color: mat-color($warn);
.mat-simple-snackbar-action {
color: white;
}
}
.adf-warning-snackbar {
background-color: mat-color($accent);
.mat-simple-snackbar-action {
color: white;
}
}
.adf-info-snackbar {
background-color: mat-color($primary);
.mat-simple-snackbar-action {
color: white;
}
}
}