mirror of
https://github.com/Sagit-chu/flvx.git
synced 2026-10-12 04:06:37 +08:00
修改统一名称
This commit is contained in:
@@ -28,7 +28,7 @@ export function Provider({ children }: ProvidersProps) {
|
|||||||
<Toaster
|
<Toaster
|
||||||
position="top-center"
|
position="top-center"
|
||||||
toastOptions={{
|
toastOptions={{
|
||||||
duration: 3000,
|
duration: 2000,
|
||||||
className: 'dark:bg-gray-800 dark:text-white',
|
className: 'dark:bg-gray-800 dark:text-white',
|
||||||
style: {
|
style: {
|
||||||
background: 'var(--toaster-bg, #ffffff)',
|
background: 'var(--toaster-bg, #ffffff)',
|
||||||
@@ -36,12 +36,14 @@ export function Provider({ children }: ProvidersProps) {
|
|||||||
border: '1px solid var(--toaster-border, #e5e7eb)',
|
border: '1px solid var(--toaster-border, #e5e7eb)',
|
||||||
},
|
},
|
||||||
success: {
|
success: {
|
||||||
|
duration: 2000,
|
||||||
style: {
|
style: {
|
||||||
background: '#10b981',
|
background: '#10b981',
|
||||||
color: '#ffffff',
|
color: '#ffffff',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
error: {
|
error: {
|
||||||
|
duration: 2000,
|
||||||
style: {
|
style: {
|
||||||
background: '#ef4444',
|
background: '#ef4444',
|
||||||
color: '#ffffff',
|
color: '#ffffff',
|
||||||
|
|||||||
Reference in New Issue
Block a user