_sweetalert2.scss
804 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
//
// Plugin: SweetAlert2
//
// Icon Colors
.swal2-icon {
&.swal2-info {
border-color: ligthen($info, 20%);
color: $info;
}
&.swal2-warning {
border-color: ligthen($warning, 20%);
color: $warning;
}
&.swal2-error {
border-color: ligthen($danger, 20%);
color: $danger;
}
&.swal2-question {
border-color: ligthen($secondary, 20%);
color: $secondary;
}
&.swal2-success {
border-color: ligthen($success, 20%);
color: $success;
.swal2-success-ring {
border-color: ligthen($success, 20%);
}
[class^='swal2-success-line'] {
background-color: $success;
}
}
}
.dark-mode {
.swal2-popup {
background-color: $dark;
color: $gray-200;
.swal2-content,
.swal2-title {
color: $gray-200;
}
}
}