@@ -369,34 +369,26 @@ export const admin = new AdminForth({
369
369
ToastCloseIconBackgroundHover : "alias:lightToastCloseIcon opacity:0.6" ,
370
370
ToastCloseIconFocusRing : "alias:lightToastCloseIcon" ,
371
371
ToastText : "alias:lightPrimary inverse" ,
372
+ /////////////////////////////////////////////////////////////////////////////////////////
373
+ CreateViewButtonBackground : "alias:lightPrimary" ,
374
+ CreateViewButtonBackgroundHover : "alias:lightCreateViewButtonBackground lighten" ,
375
+ CreateViewButtonText : "alias:lightCreateViewButtonBackground inverse" ,
376
+ CreateViewButtonTextHover : "alias:lightCreateViewButtonText opacity:0.8" ,
377
+ CreateViewButtonFocusRing : "alias:lightCreateViewButtonBackground" ,
378
+ CreateViewButtonBorder : "alias:lightCreateViewButtonBackground darken" ,
372
379
373
- CreateViewCancelButtonBackground : "alias:lightPrimary" ,
374
- CreateViewCancelButtonBackgroundHover : "alias:lightCreateViewCancelButtonBackground lighten" ,
375
- CreateViewCancelButtonText : "alias:lightCreateViewCancelButtonBackground inverse" ,
376
- CreateViewCancelButtonTextHover : "alias:lightCreateViewCancelButtonText opacity:0.8" ,
377
- CreateViewCancelButtonFocusRing : "alias:lightCreateViewCancelButtonBackground" ,
378
- CreateViewCancelButtonBorder : "alias:lightCreateViewCancelButtonBackground darken" ,
379
-
380
- CreateViewSaveButtonBackground : "alias:lightPrimary" ,
381
- CreateViewSaveButtonBackgroundHover : "alias:lightCreateViewCancelButtonBackground lighten" ,
382
380
CreateViewSaveButtonText : "#DC2626" ,
383
381
CreateViewSaveButtonTextHover : "#B91C1C" ,
384
- CreateViewSaveButtonFocusRing : "alias:lightCreateViewCancelButtonBackground" ,
385
- CreateViewSaveButtonBorder : "alias:lightCreateViewCancelButtonBackground darken" ,
386
-
387
- EditViewCancelButtonBackground : "alias:lightPrimary" ,
388
- EditViewCancelButtonBackgroundHover : "alias:lightEditViewCancelButtonBackground lighten" ,
389
- EditViewCancelButtonText : "alias:lightEditViewCancelButtonBackground inverse" ,
390
- EditViewCancelButtonTextHover : "alias:lightEditViewCancelButtonText opacity:0.8" ,
391
- EditViewCancelButtonFocusRing : "alias:lightEditViewCancelButtonBackground" ,
392
- EditViewCancelButtonBorder : "alias:lightEditViewCancelButtonBackground darken" ,
393
-
394
- EditViewSaveButtonBackground : "alias:lightPrimary" ,
395
- EditViewSaveButtonBackgroundHover : "alias:lightEditViewCancelButtonBackground lighten" ,
382
+
383
+ EditViewButtonBackground : "alias:lightPrimary" ,
384
+ EditViewButtonBackgroundHover : "alias:lightEditViewButtonBackground lighten" ,
385
+ EditViewButtonText : "alias:lightEditViewButtonBackground inverse" ,
386
+ EditViewButtonTextHover : "alias:lightEditViewButtonText opacity:0.8" ,
387
+ EditViewButtonFocusRing : "alias:lightEditViewButtonBackground" ,
388
+ EditViewButtonBorder : "alias:lightEditViewButtonBackground darken" ,
389
+
396
390
EditViewSaveButtonText : "#DC2626" ,
397
391
EditViewSaveButtonTextHover : "#B91C1C" ,
398
- EditViewSaveButtonFocusRing : "alias:lightEditViewCancelButtonBackground" ,
399
- EditViewSaveButtonBorder : "alias:lightEditViewCancelButtonBackground darken" ,
400
392
401
393
} ,
402
394
dark : {
@@ -596,34 +588,26 @@ export const admin = new AdminForth({
596
588
ToastCloseIconBackgroundHover : "alias:darkToastCloseIcon lighten" ,
597
589
ToastCloseIconFocusRing : "alias:darkToastCloseIcon" ,
598
590
ToastText : "alias:darkPrimary inverse" ,
591
+ ////////////////////////////////////////////////////////////////////////////////////////////////////////
592
+ CreateViewButtonBackground : "alias:darkPrimary" ,
593
+ CreateViewButtonBackgroundHover : "alias:darkCreateViewButtonBackground lighten" ,
594
+ CreateViewButtonText : "alias:darkCreateViewButtonBackground inverse" ,
595
+ CreateViewButtonTextHover : "alias:darkCreateViewButtonText opacity:0.8" ,
596
+ CreateViewButtonFocusRing : "alias:darkCreateViewButtonBackground" ,
597
+ CreateViewButtonBorder : "alias:darkCreateViewButtonBackground darken" ,
599
598
600
- CreateViewCancelButtonBackground : "alias:darkPrimary" ,
601
- CreateViewCancelButtonBackgroundHover : "alias:darkCreateViewCancelButtonBackground lighten" ,
602
- CreateViewCancelButtonText : "alias:darkCreateViewCancelButtonBackground inverse" ,
603
- CreateViewCancelButtonTextHover : "alias:darkCreateViewCancelButtonText opacity:0.8" ,
604
- CreateViewCancelButtonFocusRing : "alias:darkCreateViewCancelButtonBackground" ,
605
- CreateViewCancelButtonBorder : "alias:darkCreateViewCancelButtonBackground darken" ,
606
-
607
- CreateViewSaveButtonBackground : "alias:darkPrimary" ,
608
- CreateViewSaveButtonBackgroundHover : "alias:darkCreateViewCancelButtonBackground lighten" ,
609
599
CreateViewSaveButtonText : "#F87171" ,
610
600
CreateViewSaveButtonTextHover : "#FFFFFF" ,
611
- CreateViewSaveButtonFocusRing : "alias:darkCreateViewCancelButtonBackground" ,
612
- CreateViewSaveButtonBorder : "alias:darkCreateViewCancelButtonBackground darken" ,
613
-
614
- EditViewCancelButtonBackground : "alias:darkPrimary" ,
615
- EditViewCancelButtonBackgroundHover : "alias:darkEditViewCancelButtonBackground lighten" ,
616
- EditViewCancelButtonText : "alias:darkEditViewCancelButtonBackground inverse" ,
617
- EditViewCancelButtonTextHover : "alias:darkEditViewCancelButtonText opacity:0.8" ,
618
- EditViewCancelButtonFocusRing : "alias:darkEditViewCancelButtonBackground" ,
619
- EditViewCancelButtonBorder : "alias:darkEditViewCancelButtonBackground darken" ,
620
-
621
- EditViewSaveButtonBackground : "alias:darkPrimary" ,
622
- EditViewSaveButtonBackgroundHover : "alias:darkEditViewCancelButtonBackground lighten" ,
601
+
602
+ EditViewButtonBackground : "alias:darkPrimary" ,
603
+ EditViewButtonBackgroundHover : "alias:darkEditViewButtonBackground lighten" ,
604
+ EditViewButtonText : "alias:darkEditViewButtonBackground inverse" ,
605
+ EditViewButtonTextHover : "alias:darkEditViewButtonText opacity:0.8" ,
606
+ EditViewButtonFocusRing : "alias:darkEditViewButtonBackground" ,
607
+ EditViewButtonBorder : "alias:darkEditViewButtonBackground darken" ,
608
+
623
609
EditViewSaveButtonText : "#F87171" ,
624
610
EditViewSaveButtonTextHover : "#FFFFFF" ,
625
- EditViewSaveButtonFocusRing : "alias:darkEditViewCancelButtonBackground" ,
626
- EditViewSaveButtonBorder : "alias:darkEditViewCancelButtonBackground darken" ,
627
611
628
612
}
629
613
}
0 commit comments