mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* 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
32 lines
623 B
SCSS
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;
|
|
}
|
|
}
|
|
}
|