|
6 | 6 | --toastify-color-warning: #f1c40f; |
7 | 7 | --toastify-color-error: hsl(6, 78%, 57%); |
8 | 8 | --toastify-color-transparent: rgba(255, 255, 255, 0.7); |
| 9 | + |
9 | 10 | --toastify-icon-color-info: var(--toastify-color-info); |
10 | 11 | --toastify-icon-color-success: var(--toastify-color-success); |
11 | 12 | --toastify-icon-color-warning: var(--toastify-color-warning); |
12 | 13 | --toastify-icon-color-error: var(--toastify-color-error); |
| 14 | + |
13 | 15 | --toastify-container-width: fit-content; |
14 | 16 | --toastify-toast-width: 320px; |
15 | 17 | --toastify-toast-offset: 16px; |
|
22 | 24 | --toastify-toast-min-height: 64px; |
23 | 25 | --toastify-toast-max-height: 800px; |
24 | 26 | --toastify-toast-bd-radius: 6px; |
| 27 | + --toastify-toast-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1); |
25 | 28 | --toastify-font-family: sans-serif; |
26 | 29 | --toastify-z-index: 9999; |
27 | 30 | --toastify-text-color-light: #757575; |
28 | 31 | --toastify-text-color-dark: #fff; |
| 32 | + |
| 33 | + /* Used only for colored theme */ |
29 | 34 | --toastify-text-color-info: #fff; |
30 | 35 | --toastify-text-color-success: #fff; |
31 | 36 | --toastify-text-color-warning: #fff; |
32 | 37 | --toastify-text-color-error: #fff; |
| 38 | + |
33 | 39 | --toastify-spinner-color: #616161; |
34 | 40 | --toastify-spinner-color-empty-area: #e0e0e0; |
35 | 41 | --toastify-color-progress-light: linear-gradient(to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55); |
|
38 | 44 | --toastify-color-progress-success: var(--toastify-color-success); |
39 | 45 | --toastify-color-progress-warning: var(--toastify-color-warning); |
40 | 46 | --toastify-color-progress-error: var(--toastify-color-error); |
| 47 | + /* used to control the opacity of the progress trail */ |
41 | 48 | --toastify-color-progress-bgo: 0.2; |
42 | 49 | } |
43 | 50 |
|
|
121 | 128 | margin-bottom: 1rem; |
122 | 129 | padding: var(--toastify-toast-padding); |
123 | 130 | border-radius: var(--toastify-toast-bd-radius); |
124 | | - box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1); |
| 131 | + box-shadow: var(--toastify-toast-shadow); |
125 | 132 | max-height: var(--toastify-toast-max-height); |
126 | 133 | font-family: var(--toastify-font-family); |
127 | 134 | /* webkit only issue #791 */ |
|
0 commit comments