Skip to content

Commit 283e195

Browse files
committed
Rename --toastProgressBackground to --toastBarBackground
1 parent 3b4d6db commit 283e195

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/ToastItem.svelte

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,12 @@ $: if (typeof item.progress !== 'undefined') {
100100
._toastBar::-webkit-progress-bar {
101101
background: transparent;
102102
}
103+
/* `--toastProgressBackground` has been renamed to `--toastBarBackground`; override included for backward compatibility */
103104
._toastBar::-webkit-progress-value {
104-
background: var(--toastProgressBackground,rgba(33,150,243,0.75));
105+
background: var(--toastProgressBackground,var(--toastBarBackground,rgba(33,150,243,0.75)));
105106
}
106107
._toastBar::-moz-progress-bar {
107-
background: var(--toastProgressBackground,rgba(33,150,243,0.75));
108+
background: var(--toastProgressBackground,var(--toastBarBackground,rgba(33,150,243,0.75)));
108109
}
109110
</style>
110111

0 commit comments

Comments
 (0)