-
-
Notifications
You must be signed in to change notification settings - Fork 280
Expand file tree
/
Copy path_Colors.scss
More file actions
26 lines (23 loc) · 834 Bytes
/
Copy path_Colors.scss
File metadata and controls
26 lines (23 loc) · 834 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Make sure the "style" import happens first, since it specifies variables.
@use '@smui/snackbar/style' as smui-snackabar;
@use '@smui/snackbar/styles/mixins' as snackbar;
@use '@smui/common/theme/color-palette';
@use '@smui/common/theme/theme-color';
.mdc-snackbar.demo-success {
@include snackbar.fill-color(color-palette.$green-500);
@include snackbar.label-ink-color(
theme-color.accessible-ink-color(color-palette.$green-500)
);
}
.mdc-snackbar.demo-warning {
@include snackbar.fill-color(color-palette.$orange-500);
@include snackbar.label-ink-color(
theme-color.accessible-ink-color(color-palette.$orange-500)
);
}
.mdc-snackbar.demo-error {
@include snackbar.fill-color(color-palette.$red-500);
@include snackbar.label-ink-color(
theme-color.accessible-ink-color(color-palette.$red-500)
);
}