@@ -1322,7 +1322,7 @@ div > div:first-of-type[style*="none;"] + .vfb-util-props-separator-top {
1322
1322
}
1323
1323
1324
1324
.vfb-btn-transparent {
1325
- @apply form-color-btn-secondary border-transparent hover:text-gray-900;
1325
+ @apply form-color-btn-secondary border-transparent hover:text-gray-900 dark:hover:text-dark-200 ;
1326
1326
}
1327
1327
1328
1328
.vfb-btn-sm {
@@ -1428,34 +1428,34 @@ div > div:first-of-type[style*="none;"] + .vfb-util-props-separator-top {
1428
1428
animation-delay : 0 ;
1429
1429
animation-fill-mode : both;
1430
1430
animation-name : vfb-fade-in-up;
1431
- @apply max-w-modal bg-white mx-auto shadow-box-strong rounded-lg transition-transform transform -translate-y-1/4;
1431
+ @apply max-w-modal bg-white mx-auto shadow-box-strong rounded-lg transition-transform transform -translate-y-1/4 dark:bg-dark-700 ;
1432
1432
}
1433
1433
1434
1434
.vfb-modal-header {
1435
- @apply px-7 py-5 bg-gray-100 flex items-center justify-between rounded-t-lg;
1435
+ @apply px-7 py-5 bg-gray-100 flex items-center justify-between rounded-t-lg dark:bg-dark-600 ;
1436
1436
}
1437
1437
1438
1438
.vfb-modal-title {
1439
- @apply text-xl font-semibold leading-none;
1439
+ @apply text-xl font-semibold leading-none dark:text-dark-100 ;
1440
1440
}
1441
1441
1442
1442
.vfb-modal-subtitle {
1443
- @apply text-gray-500 text-0.5md;
1443
+ @apply text-gray-500 text-0.5md dark:text-dark-400 ;
1444
1444
}
1445
1445
1446
1446
.vfb-modal-close {
1447
- @apply text-lg text-gray-500 transition-colors hover:text-gray-900;
1447
+ @apply text-lg text-gray-500 transition-colors hover:text-gray-900 dark:text-dark-400 dark:hover:text-dark-100 ;
1448
1448
}
1449
1449
1450
1450
.vfb-modal-content {
1451
- @apply px-8 py-6 mt-4;
1451
+ @apply px-8 py-6 mt-4 dark:text-dark-100 ;
1452
1452
}
1453
1453
.vfb-modal-content form {
1454
1454
@apply -mt-4;
1455
1455
}
1456
1456
1457
1457
.vfb-modal-buttons {
1458
- @apply flex items-end justify-between pl-7 pr-3 py-5 border-t border-gray-200;
1458
+ @apply flex items-end justify-between pl-7 pr-3 py-5 border-t border-gray-200 dark:border-dark-500 ;
1459
1459
}
1460
1460
1461
1461
.vfb-modal-buttons-left > div , .vfb-modal-buttons-left > button {
@@ -1491,27 +1491,27 @@ div > div:first-of-type[style*="none;"] + .vfb-util-props-separator-top {
1491
1491
}
1492
1492
1493
1493
.vfb-conditions-empty-subtitle {
1494
- @apply text-gray-500 leading-none mb-4;
1494
+ @apply text-gray-500 leading-none mb-4 dark:text-dark-400 ;
1495
1495
}
1496
1496
1497
1497
.vfb-condition-list {
1498
1498
@apply pl-10 relative;
1499
1499
}
1500
1500
.vfb-condition-list : before {
1501
1501
content : "" ;
1502
- @apply w-px absolute top-0 bottom-11.5 left-4 ml-0.5 bg-gray-300;
1502
+ @apply w-px absolute top-0 bottom-11.5 left-4 ml-0.5 bg-gray-300 dark:bg-dark-500 ;
1503
1503
}
1504
1504
1505
1505
.vfb-condition-list-item-and {
1506
1506
@apply relative;
1507
1507
}
1508
1508
.vfb-condition-list-item-and : before {
1509
1509
content : "" ;
1510
- @apply absolute top-3 h-4 -left-10 w-10 bg-white;
1510
+ @apply absolute top-3 h-4 -left-10 w-10 bg-white dark:bg-dark-700 ;
1511
1511
}
1512
1512
.vfb-condition-list-item-and : after {
1513
1513
content : "and" ;
1514
- @apply absolute top-3.5 -left-10 w-10 text-center leading-none uppercase text-0.5sm font-bold text-gray-400;
1514
+ @apply absolute top-3.5 -left-10 w-10 text-center leading-none uppercase text-0.5sm font-bold text-gray-400 dark:text-dark-400 ;
1515
1515
}
1516
1516
1517
1517
.vfb-condition-list-add {
@@ -1523,19 +1523,19 @@ div > div:first-of-type[style*="none;"] + .vfb-util-props-separator-top {
1523
1523
}
1524
1524
.vfb-condition-sublist : before {
1525
1525
content : "" ;
1526
- @apply w-px absolute top-14 bottom-0 left-4 ml-0.5 bg-gray-300;
1526
+ @apply w-px absolute top-14 bottom-0 left-4 ml-0.5 bg-gray-300 dark:bg-dark-500 ;
1527
1527
}
1528
1528
1529
1529
.vfb-condition-sublist-item-or {
1530
1530
@apply pl-10 relative;
1531
1531
}
1532
1532
.vfb-condition-sublist-item-or : before {
1533
1533
content : "" ;
1534
- @apply absolute top-3 h-4 left-0 w-10 bg-white;
1534
+ @apply absolute top-3 h-4 left-0 w-10 bg-white dark:bg-dark-700 ;
1535
1535
}
1536
1536
.vfb-condition-sublist-item-or : after {
1537
1537
content : "or" ;
1538
- @apply absolute top-3.5 left-0 w-10 text-center leading-none uppercase text-0.5sm font-bold text-gray-400;
1538
+ @apply absolute top-3.5 left-0 w-10 text-center leading-none uppercase text-0.5sm font-bold text-gray-400 dark:text-dark-400 ;
1539
1539
}
1540
1540
1541
1541
.vfb-conditions-render {
@@ -1679,7 +1679,7 @@ div > div:first-of-type[style*="none;"] + .vfb-util-props-separator-top {
1679
1679
}
1680
1680
1681
1681
.vfb-field-text-primary {
1682
- @apply text-sm leading-tighter pr-1 h-4 whitespace-nowrap overflow-hidden text-ellipsis;
1682
+ @apply text-sm leading-tighter pr-1 h-4 whitespace-nowrap overflow-hidden text-ellipsis dark:text-dark-100 ;
1683
1683
}
1684
1684
1685
1685
.vfb-field-text-secondary {
@@ -1736,55 +1736,46 @@ div > div:first-of-type[style*="none;"] + .vfb-util-props-separator-top {
1736
1736
@apply text-0.5md;
1737
1737
}
1738
1738
1739
- .vfb-config-form * , .vfb-config-form : before , .vfb-config-form : after , .vfb-config-form : root {
1739
+ * , : before , : after , : root {
1740
+ --vf-dark-50 : # EFEFEF ;
1741
+ --vf-dark-100 : # DCDCDC ;
1742
+ --vf-dark-200 : # BDBDBD ;
1743
+ --vf-dark-300 : # A0A0A0 ;
1744
+ --vf-dark-400 : # 848484 ;
1745
+ --vf-dark-500 : # 737373 ;
1746
+ --vf-dark-550 : # 555555 ;
1747
+ --vf-dark-600 : # 393939 ;
1748
+ --vf-dark-700 : # 323232 ;
1749
+ --vf-dark-750 : # 292929 ;
1750
+ --vf-dark-800 : # 262626 ;
1751
+ --vf-dark-900 : # 191919 ;
1752
+ --vf-dark-1000 : # 121212 ;
1753
+ }
1754
+
1755
+ .vfb-config-form * , .vfb-config-form : before , .vfb-config-form : after {
1740
1756
--vf-gutter-sm : 0.5rem ;
1741
1757
--vf-min-height-input-sm : 2.125rem ;
1742
1758
--vf-py-input-sm : 0.375rem ;
1743
1759
--vf-px-input-sm : 0.675rem ;
1744
1760
--vf-radius-input : 6px ;
1761
+ --vf-radius-checkbox-sm : 4px ;
1745
1762
--vf-bg-input : var (--vf-gray-100 );
1746
1763
--vf-bg-passive : var (--vf-gray-200 );
1747
1764
--vf-border-color-passive : var (--vf-gray-200 );
1748
1765
--vf-border-color-input : var (--vf-gray-200 );
1749
1766
--vf-color-input : var (--vf-gray-900 );
1750
1767
--vf-color-placeholder : var (--vf-gray-400 );
1751
- --vf-radius-checkbox-sm : 4px ;
1752
1768
}
1753
1769
1754
- .dark .vfb-config-form * , .dark .vfb-config-form : before , .dark .vfb-config-form : after , .dark .vfb-config-form : root {
1755
- --vf-primary : theme ("colors.dark.550" );
1756
- --vf-on-primary : # ffffff ;
1757
- --vf-ring-color : # ffffff66 ;
1758
- --vf-bg-input : theme ("colors.dark.700" );
1759
- --vf-bg-passive : theme ("colors.dark.600" );
1760
- --vf-bg-selected : theme ("colors.dark.550" );
1761
- --vf-border-color-passive : theme ("colors.dark.600" );
1762
- --vf-border-color-input : theme ("colors.dark.700" );
1763
- --vf-bg-icon : theme ("colors.dark.500" );
1764
- --vf-color-muted : theme ("colors.dark.400" );
1765
- --vf-color-input : # ffffff ;
1766
- --vf-color-placeholder : theme ("colors.dark.400" );
1767
- }
1768
- .dark .vfb-config-slider * , .dark .vfb-config-slider : before , .dark .vfb-config-slider : after , .dark .vfb-config-slider : root {
1769
- --vf-primary : theme ("colors.primary.500" );
1770
- --vf-bg-passive : theme ("colors.dark.900" );
1771
- --vf-bg-slider-handle : # ffffff ;
1772
- --vf-shadow-handles : 0px 0px 0px 0px theme ("colors.dark.900" );
1773
- --vf-shadow-handles-hover : 0px 0px 0px 2px theme ("colors.dark.500" );
1774
- --vf-shadow-handles-focus : 0px 0px 0px 2px theme ("colors.dark.300" );
1775
- }
1776
- .dark .vfb-config-toggle * , .dark .vfb-config-toggle : before , .dark .vfb-config-toggle : after , .dark .vfb-config-toggle : root {
1777
- --vf-primary : theme ("colors.primary.500" );
1778
- --vf-bg-toggle-handle : # ffffff ;
1779
- --vf-shadow-handles : 0px 0px 0px 0px theme ("colors.dark.900" );
1780
- --vf-shadow-handles-hover : 0px 0px 0px 2px theme ("colors.dark.500" );
1781
- --vf-shadow-handles-focus : 0px 0px 0px 2px theme ("colors.dark.300" );
1782
- }
1783
- .dark .vfb-config-list-remove * , .dark .vfb-config-list-remove : before , .dark .vfb-config-list-remove : after , .dark .vfb-config-list-remove : root {
1784
- --vf-color-passive : # ffffff !important ;
1785
- }
1786
- .dark .vfb-config-datepicker .flatpickr-calendar , .dark .vfb-config-datepicker .flatpickr-calendar * , .dark .vfb-config-datepicker .flatpickr-calendar : before , .dark .vfb-config-datepicker .flatpickr-calendar : after , .dark .vfb-config-datepicker .flatpickr-calendar : root {
1787
- --vf-color-input : # 000000 ;
1770
+ .dark .vfb-config-form * , .dark .vfb-config-form : before , .dark .vfb-config-form : after {
1771
+ --vf-bg-input : var (--vf-dark-700 );
1772
+ --vf-bg-passive : var (--vf-dark-700 );
1773
+ --vf-bg-selected : var (--vf-dark-600 );
1774
+ --vf-color-input : var (--vf-dark-100 );
1775
+ --vf-color-placeholder : var (--vf-dark-500 );
1776
+ --vf-border-color-passive : var (--vf-dark-700 );
1777
+ --vf-border-color-input : var (--vf-dark-800 );
1778
+ --vf-border-color-checkbox : var (--vf-dark-800 );
1788
1779
}
1789
1780
1790
1781
.vfb-config-toggle + .vfb-config-toggle {
@@ -2252,6 +2243,13 @@ div > div:first-of-type[style*="none;"] + .vfb-util-props-separator-top {
2252
2243
@apply px-5 pb-6;
2253
2244
}
2254
2245
2246
+ .vfb-panels-container-standalone .vfb-panels-wrapper {
2247
+ @apply absolute top-0 left-0 right-0 bottom-0 overflow-y-auto overflow-x-hidden z-0;
2248
+ }
2249
+ .vfb-panels-container-standalone .vfb-panel {
2250
+ @apply px-5 pb-6;
2251
+ }
2252
+
2255
2253
.vfb-panels-container-icons {
2256
2254
@apply flex;
2257
2255
}
@@ -2317,6 +2315,16 @@ div > div:first-of-type[style*="none;"] + .vfb-util-props-separator-top {
2317
2315
@apply bg-white rounded-lg shadow-box-circle mx-auto w-full relative transition-all p-10;
2318
2316
}
2319
2317
2318
+ .vfb-preview-wrapper-dark {
2319
+ @apply bg-dark-900 text-white;
2320
+ }
2321
+ .vfb-preview-wrapper-dark .vfb-preview-empty-title {
2322
+ @apply text-white;
2323
+ }
2324
+ .vfb-preview-wrapper-dark .vfb-preview-empty-description {
2325
+ @apply text-dark-400;
2326
+ }
2327
+
2320
2328
.vfb-preview-drag-wrapper {
2321
2329
@apply bg-primary-500 absolute h-1 rounded-full pointer-events-none -left-2 -right-2 -top-0.5 mt-8;
2322
2330
}
@@ -2760,6 +2768,14 @@ div > div:first-of-type[style*="none;"] + .vfb-util-props-separator-top {
2760
2768
@apply absolute inset-0 overflow-y-auto px-16;
2761
2769
}
2762
2770
2771
+ .dark .vfb-center-wrapper-dark {
2772
+ @apply bg-[rgb (14 , 14 , 14 )];
2773
+ }
2774
+
2775
+ .vfb-center-wrapper-dark-changing * {
2776
+ transition : none !important ;
2777
+ }
2778
+
2763
2779
.vfb-center-loader-container {
2764
2780
@apply w-full flex flex-col items-center justify-center h-full dark:text-white;
2765
2781
}
@@ -3317,6 +3333,16 @@ div > div:first-of-type[style*="none;"] + .vfb-util-props-separator-top {
3317
3333
--vf-container-bg-dynamic-5 : rgb (0 0 0 / 12% );
3318
3334
}
3319
3335
3336
+ .vfb-preview-wrapper-dark .vfb-preview-element-container-nested ,
3337
+ .vfb-preview-wrapper-dark .vfb-preview-element-container-list {
3338
+ --vf-container-bg-neutral : rgb (255 255 255 / 10% );
3339
+ --vf-container-bg-dynamic-1 : rgb (0 208 255 / 20% );
3340
+ --vf-container-bg-dynamic-2 : rgb (2 215 130 / 20% );
3341
+ --vf-container-bg-dynamic-3 : rgb (0 255 12 / 20% );
3342
+ --vf-container-bg-dynamic-4 : rgb (0 3 255 / 20% );
3343
+ --vf-container-bg-dynamic-5 : rgb (0 0 0 / 20% );
3344
+ }
3345
+
3320
3346
.vfb-preview-element-container-nested {
3321
3347
--vf-container-bg : var (--vf-container-bg-neutral );
3322
3348
}
0 commit comments