UNPKG

1.56 kBSCSSView Raw
1.#{$rt-namespace}__toast {
2 &-theme--dark {
3 background: var(--toastify-color-dark);
4 color: var(--toastify-text-color-dark);
5 }
6 &-theme--light {
7 background: var(--toastify-color-light);
8 color: var(--toastify-text-color-light);
9 }
10 &-theme--colored#{&}--default {
11 background: var(--toastify-color-light);
12 color: var(--toastify-text-color-light);
13 }
14 &-theme--colored#{&}--info {
15 color: var(--toastify-text-color-info);
16 background: var(--toastify-color-info);
17 }
18 &-theme--colored#{&}--success {
19 color: var(--toastify-text-color-success);
20 background: var(--toastify-color-success);
21 }
22 &-theme--colored#{&}--warning {
23 color: var(--toastify-text-color-warning);
24 background: var(--toastify-color-warning);
25 }
26 &-theme--colored#{&}--error {
27 color: var(--toastify-text-color-error);
28 background: var(--toastify-color-error);
29 }
30}
31
32.#{$rt-namespace}__progress-bar {
33 &-theme--light {
34 background: var(--toastify-color-progress-light);
35 }
36 &-theme--dark {
37 background: var(--toastify-color-progress-dark);
38 }
39 &--info {
40 background: var(--toastify-color-progress-info);
41 }
42 &--success {
43 background: var(--toastify-color-progress-success);
44 }
45 &--warning {
46 background: var(--toastify-color-progress-warning);
47 }
48 &--error {
49 background: var(--toastify-color-progress-error);
50 }
51 &-theme--colored#{&}--info,
52 &-theme--colored#{&}--success,
53 &-theme--colored#{&}--warning,
54 &-theme--colored#{&}--error {
55 background: var(--toastify-color-transparent);
56 }
57}
58