gantt-lib 0.146.7 → 0.146.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/styles.css CHANGED
@@ -18,8 +18,8 @@
18
18
  --gantt-calendar-day-disabled-color: #d1d5db;
19
19
  --gantt-calendar-bg: #ffffff;
20
20
  --gantt-calendar-text: #1f2937;
21
- --gantt-calendar-text-weekend: #ef4444;
22
- --gantt-calendar-text-muted: #9ca3af;
21
+ --gantt-calendar-text-weekend: #b91c1c;
22
+ --gantt-calendar-text-muted: #6b7280;
23
23
  --gantt-calendar-day-today-border: #3b82f6;
24
24
  --gantt-calendar-day-range: #dbeafe;
25
25
  --gantt-calendar-day-disabled-text: #d1d5db;
@@ -40,8 +40,8 @@
40
40
  }
41
41
  .gantt-input:focus {
42
42
  outline: none;
43
- border-color: #3b82f6;
44
- box-shadow: 0 0 0 2px var(--gantt-input-focus-ring);
43
+ border-color: var(--gantt-focus-color, #3b82f6);
44
+ box-shadow: 0 0 0 2px var(--gantt-focus-color, #2563eb);
45
45
  }
46
46
  .gantt-input::placeholder {
47
47
  color: var(--gantt-input-placeholder);
@@ -72,7 +72,7 @@
72
72
  }
73
73
  .gantt-btn:focus-visible {
74
74
  outline: none;
75
- box-shadow: 0 0 0 2px var(--gantt-input-focus-ring);
75
+ box-shadow: 0 0 0 2px var(--gantt-focus-color, #2563eb);
76
76
  }
77
77
  .gantt-btn:disabled {
78
78
  opacity: 0.5;
@@ -99,6 +99,7 @@
99
99
  font-size: 0.8rem;
100
100
  }
101
101
  .gantt-popover {
102
+ color: var(--gantt-text-color, #1f2937);
102
103
  font-family: var(--gantt-font-family);
103
104
  background: var(--gantt-popover-bg);
104
105
  border: 1px solid var(--gantt-popover-border);
@@ -141,7 +142,7 @@
141
142
  }
142
143
  .gantt-datepicker-trigger:focus-visible {
143
144
  outline: none;
144
- box-shadow: 0 0 0 2px var(--gantt-input-focus-ring);
145
+ box-shadow: 0 0 0 2px var(--gantt-focus-color, #2563eb);
145
146
  border-radius: 2px;
146
147
  }
147
148
  .gantt-datepicker-trigger:disabled {
@@ -208,7 +209,7 @@
208
209
  }
209
210
  .gantt-day-btn:focus-visible {
210
211
  outline: none;
211
- box-shadow: 0 0 0 2px var(--gantt-input-focus-ring);
212
+ box-shadow: 0 0 0 2px var(--gantt-focus-color, #2563eb);
212
213
  }
213
214
  .gantt-day-btn.today {
214
215
  border-color: var(--gantt-calendar-day-today-border);
@@ -230,7 +231,7 @@
230
231
  color: var(--gantt-calendar-text-muted);
231
232
  }
232
233
  .gantt-day-btn.past.weekend:not(.selected) {
233
- color: #fca5a5;
234
+ color: var(--gantt-calendar-text-weekend, #b91c1c);
234
235
  }
235
236
  .gantt-day-btn.disabled {
236
237
  color: var(--gantt-calendar-day-disabled-text);
@@ -265,11 +266,11 @@
265
266
  padding: 0 4px;
266
267
  }
267
268
  .gantt-datepicker-date-input:focus {
268
- border-color: #3b82f6;
269
- box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
269
+ border-color: var(--gantt-focus-color, #3b82f6);
270
+ box-shadow: 0 0 0 2px var(--gantt-focus-overlay, rgba(59, 130, 246, 0.2));
270
271
  }
271
272
  .gantt-datepicker-date-input::selection {
272
- background: rgba(59, 130, 246, 0.25);
273
+ background: var(--gantt-selection-overlay-strong, rgba(59, 130, 246, 0.25));
273
274
  }
274
275
  .gantt-datepicker-shift-btn {
275
276
  flex: 1;
@@ -332,7 +333,7 @@
332
333
  --gantt-resource-lane-height: 40px;
333
334
  --gantt-resource-bar-radius: 4px;
334
335
  --gantt-resource-bar-conflict-color: #ef4444;
335
- --gantt-today-indicator-color: rgba(255, 0, 0, 0.6);
336
+ --gantt-today-indicator-color: #dc2626;
336
337
  --gantt-today-indicator-width: 2px;
337
338
  --gantt-weekend-background: #fff9f8;
338
339
  --gantt-weekend-border: #fca5a5;
@@ -387,7 +388,7 @@
387
388
  padding: 0.1rem 0.5rem;
388
389
  font-size: 0.75rem;
389
390
  font-weight: 600;
390
- color: #1f2937;
391
+ color: var(--gantt-text-color, #1f2937);
391
392
  text-align: left;
392
393
  text-transform: uppercase;
393
394
  letter-spacing: 0.04em;
@@ -417,26 +418,29 @@
417
418
  .gantt-tsh-dayLabel {
418
419
  font-size: 0.75rem;
419
420
  font-weight: 500;
420
- color: #374151;
421
+ color: var(--gantt-text-color, #374151);
421
422
  }
422
423
  .gantt-tsh-weekendDay {
423
424
  background-color: var(--gantt-weekend-background, #fef3f2);
424
425
  }
425
426
  .gantt-tsh-weekendDay .gantt-tsh-dayLabel {
426
- color: #ef4444;
427
+ color: var(--gantt-calendar-text-weekend, #b91c1c);
427
428
  }
428
429
  .gantt-tsh-today {
429
- background-color: #dc2626;
430
+ background-color: var(--gantt-danger-solid-background, #dc2626);
430
431
  border-radius: 4px 4px 4px 0;
431
432
  }
432
433
  .gantt-tsh-today .gantt-tsh-dayLabel {
433
- color: #ffffff;
434
+ color: var(--gantt-solid-foreground, #ffffff);
434
435
  }
435
436
  .gantt-tsh-markerDay {
436
437
  background-color: transparent;
437
438
  }
438
439
  .gantt-tsh-markerDay .gantt-tsh-dayLabel {
439
- color: #ffffff;
440
+ color: var(--gantt-bar-label-foreground, var(--gantt-task-bar-text-color, #fff));
441
+ background: var(--gantt-bar-label-background, rgba(0, 0, 0, 0.75));
442
+ border-radius: 3px;
443
+ padding: 0 2px;
440
444
  }
441
445
  .gantt-tsh-markerDay::before {
442
446
  content: "";
@@ -469,7 +473,7 @@
469
473
  box-sizing: border-box;
470
474
  }
471
475
  .gantt-tr-row.gantt-tr-row-filter-match {
472
- background-color: rgba(250, 204, 21, 0.24);
476
+ background-color: var(--gantt-warning-overlay, rgba(250, 204, 21, 0.24));
473
477
  }
474
478
  .gantt-tr-row:hover,
475
479
  .gantt-tr-row-hovered {
@@ -477,8 +481,8 @@
477
481
  }
478
482
  .gantt-tr-row.gantt-tr-row-filter-match:hover,
479
483
  .gantt-tr-row.gantt-tr-row-filter-match.gantt-tr-row-hovered {
480
- background-color: rgba(250, 204, 21, 0.3);
481
- box-shadow: inset 0 0 0 9999px rgba(250, 204, 21, 0.3);
484
+ background-color: var(--gantt-warning-overlay, rgba(250, 204, 21, 0.3));
485
+ box-shadow: inset 0 0 0 9999px var(--gantt-warning-overlay, rgba(250, 204, 21, 0.3));
482
486
  }
483
487
  .gantt-tr-taskBar {
484
488
  position: absolute;
@@ -495,22 +499,51 @@
495
499
  transition: box-shadow 0.15s ease;
496
500
  cursor: grab;
497
501
  }
502
+ .gantt-tr-needs-contrast {
503
+ outline: 1px solid var(--gantt-conditional-bar-outline);
504
+ outline-offset: -1px;
505
+ }
506
+ .gantt-tr-taskBar.gantt-tr-compositeBar:focus-visible {
507
+ outline: 2px solid var(--gantt-focus-color, #2563eb);
508
+ outline-offset: 2px;
509
+ }
498
510
  .gantt-tr-fixedBoundary {
499
511
  position: absolute;
500
512
  z-index: 4;
501
513
  top: 50%;
502
- width: 4px;
503
- height: 10px;
514
+ width: 6px;
515
+ height: 12px;
504
516
  transform: translateY(-50%);
505
- background: #fff;
506
517
  pointer-events: none;
507
518
  }
519
+ .gantt-tr-fixedBoundary::before,
520
+ .gantt-tr-fixedBoundary::after {
521
+ content: "";
522
+ position: absolute;
523
+ top: 0;
524
+ left: 0;
525
+ width: 100%;
526
+ height: 100%;
527
+ background: var(--gantt-bar-marker-outline, #000);
528
+ }
529
+ .gantt-tr-fixedBoundary::after {
530
+ inset: 2px 1px;
531
+ width: 4px;
532
+ height: 8px;
533
+ background: var(--gantt-bar-marker-color, #fff);
534
+ }
508
535
  .gantt-tr-fixedBoundary-start {
509
536
  left: 2px;
510
- clip-path: polygon(0 0, 100% 50%, 0 100%);
511
537
  }
512
538
  .gantt-tr-fixedBoundary-end {
513
539
  right: 2px;
540
+ }
541
+ .gantt-tr-fixedBoundary-start::before,
542
+ .gantt-tr-fixedBoundary-start::after {
543
+ clip-path: polygon(0 0, 100% 50%, 0 100%);
544
+ }
545
+ .gantt-tr-fixedBoundary-end::before,
546
+ .gantt-tr-fixedBoundary-end::after {
514
547
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
515
548
  }
516
549
  .gantt-tr-compositePreview {
@@ -524,7 +557,7 @@
524
557
  border-radius: 8px;
525
558
  background: var(--gantt-background, #fff);
526
559
  color: var(--gantt-text-color, #222);
527
- box-shadow: 0 8px 24px rgba(0, 0, 0, .16);
560
+ box-shadow: 0 8px 24px var(--gantt-shadow-color, rgba(0, 0, 0, .16));
528
561
  pointer-events: none;
529
562
  font-size: 12px;
530
563
  }
@@ -540,14 +573,14 @@
540
573
  display: flex;
541
574
  justify-content: space-between;
542
575
  margin: 0 0 3px 68px;
543
- color: #64748b;
576
+ color: var(--gantt-text-muted-color, #64748b);
544
577
  font-size: 10px;
545
578
  }
546
579
  .gantt-tr-compositePreviewTrack {
547
580
  position: relative;
548
581
  height: 10px;
549
582
  border-radius: 2px;
550
- background: #f1f5f9;
583
+ background: var(--gantt-header-background, #f1f5f9);
551
584
  }
552
585
  .gantt-tr-compositePreviewBar {
553
586
  position: absolute;
@@ -571,13 +604,13 @@
571
604
  background:
572
605
  linear-gradient(
573
606
  90deg,
574
- rgba(255, 255, 255, .34),
575
- rgba(255, 255, 255, .06));
607
+ var(--gantt-bar-highlight-color, rgba(255, 255, 255, .34)),
608
+ var(--gantt-bar-highlight-soft-color, rgba(255, 255, 255, .06)));
576
609
  }
577
610
  .gantt-tr-compositeSegmentCut {
578
611
  position: absolute;
579
612
  width: 1px;
580
- background: rgba(255, 255, 255, .9);
613
+ background: var(--gantt-bar-highlight-color, rgba(255, 255, 255, .9));
581
614
  }
582
615
  .gantt-tr-compositeHoverChevron {
583
616
  position: absolute;
@@ -592,8 +625,8 @@
592
625
  transform: translateY(-50%);
593
626
  padding: 0;
594
627
  border-radius: 4px;
595
- background: rgba(24, 16, 45, .48);
596
- color: white;
628
+ background: var(--gantt-bar-label-background, rgba(0, 0, 0, 0.75));
629
+ color: var(--gantt-bar-label-foreground, var(--gantt-task-bar-text-color, #fff));
597
630
  font-size: 11px;
598
631
  font-weight: 700;
599
632
  opacity: 0;
@@ -661,14 +694,14 @@
661
694
  box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 15%, transparent);
662
695
  }
663
696
  .gantt-tr-milestone:hover {
664
- box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
697
+ box-shadow: 0 1px 4px var(--gantt-shadow-color, rgba(0, 0, 0, 0.18));
665
698
  }
666
699
  .gantt-tr-taskBar:hover {
667
- box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
700
+ box-shadow: 0 1px 4px var(--gantt-shadow-color, rgba(0, 0, 0, 0.15));
668
701
  }
669
702
  .gantt-tr-taskBar.gantt-tr-dragging {
670
703
  cursor: grabbing;
671
- box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
704
+ box-shadow: 0 4px 12px var(--gantt-shadow-color, rgba(0, 0, 0, 0.3));
672
705
  opacity: 1;
673
706
  transition: none !important;
674
707
  }
@@ -721,7 +754,8 @@
721
754
  bottom: 22%;
722
755
  width: 3px;
723
756
  border-radius: 2px;
724
- background: rgba(255, 255, 255, 0.65);
757
+ background: var(--gantt-bar-marker-color, #fff);
758
+ box-shadow: 0 0 0 1px var(--gantt-bar-marker-outline, #000);
725
759
  opacity: 0;
726
760
  transition: opacity 140ms ease;
727
761
  pointer-events: none;
@@ -777,7 +811,7 @@
777
811
  height: 8px;
778
812
  border-radius: 50%;
779
813
  background: var(--gantt-dependency-port-color, #7c3aed);
780
- box-shadow: 0 0 0 2px var(--gantt-cell-background, #fff);
814
+ box-shadow: 0 0 0 1px var(--gantt-bar-marker-color, #fff), 0 0 0 2px var(--gantt-bar-marker-outline, #000);
781
815
  transform: translateY(-50%) scale(.8);
782
816
  transition: transform 160ms cubic-bezier(.2, 0, 0, 1), box-shadow 160ms ease;
783
817
  pointer-events: none;
@@ -790,7 +824,10 @@
790
824
  .gantt-tr-dependencyPort:focus-visible::after,
791
825
  .gantt-tr-dependencyPortDragActive::after {
792
826
  transform: translateY(-50%) scale(1);
793
- box-shadow: 0 0 0 2px var(--gantt-cell-background, #fff), 0 0 0 5px color-mix(in srgb, var(--gantt-dependency-port-color, #7c3aed) 24%, transparent);
827
+ box-shadow:
828
+ 0 0 0 1px var(--gantt-bar-marker-color, #fff),
829
+ 0 0 0 2px var(--gantt-bar-marker-outline, #000),
830
+ 0 0 0 5px color-mix(in srgb, var(--gantt-dependency-port-color, #7c3aed) 24%, transparent);
794
831
  }
795
832
  .gantt-tr-dependencyPortLeft::after {
796
833
  left: 12px;
@@ -823,9 +860,9 @@
823
860
  top: calc(50% + var(--gantt-task-bar-height, 28px) / 2 + var(--gantt-baseline-offset, -6px));
824
861
  z-index: 2;
825
862
  height: var(--gantt-baseline-thickness, 6px);
826
- border-right: 3px solid rgba(255, 255, 255, 0.8);
827
- border-left: 3px solid rgb(255, 255, 255, 0.8);
828
- background-color: var(--gantt-baseline-color, rgba(0, 187, 212, 1));
863
+ border-right: 3px solid var(--gantt-bar-highlight-color, rgba(255, 255, 255, 0.8));
864
+ border-left: 3px solid var(--gantt-bar-highlight-color, rgb(255, 255, 255, 0.8));
865
+ background-color: var(--gantt-baseline-color, #007f90);
829
866
  pointer-events: none;
830
867
  }
831
868
  .gantt-tr-baseline-parent {
@@ -847,7 +884,7 @@
847
884
  }
848
885
  .gantt-tr-dateLabel {
849
886
  font-size: 0.85rem;
850
- color: #6b7280;
887
+ color: var(--gantt-text-muted-color, #6b7280);
851
888
  white-space: nowrap;
852
889
  pointer-events: none;
853
890
  user-select: none;
@@ -876,11 +913,19 @@
876
913
  position: relative;
877
914
  z-index: 2;
878
915
  }
916
+ .gantt-tr-taskDuration,
917
+ .gantt-tr-progressText,
918
+ .gantt-tr-activityName {
919
+ color: var(--gantt-bar-label-foreground, var(--gantt-task-bar-text-color, #fff));
920
+ background: var(--gantt-bar-label-background, rgba(0, 0, 0, 0.75));
921
+ border-radius: 3px;
922
+ padding: 0 2px;
923
+ }
879
924
  .gantt-tr-taskBar.gantt-tr-dragging .gantt-tr-progressBar {
880
925
  transition: none !important;
881
926
  }
882
927
  .gantt-tr-progressText {
883
- color: var(--gantt-task-bar-text-color);
928
+ color: var(--gantt-bar-label-foreground, var(--gantt-task-bar-text-color, #fff));
884
929
  font-size: 0.875rem;
885
930
  font-weight: 500;
886
931
  white-space: nowrap;
@@ -904,12 +949,12 @@
904
949
  cursor: not-allowed;
905
950
  }
906
951
  .gantt-tr-taskBar.gantt-tr-unsynced {
907
- outline: 2px dashed rgba(239, 68, 68, 0.6);
952
+ outline: 2px dashed var(--gantt-danger-overlay, rgba(239, 68, 68, 0.6));
908
953
  outline-offset: -2px;
909
954
  opacity: 0.85;
910
955
  }
911
956
  .gantt-tr-taskBar.gantt-tr-unsynced:hover {
912
- outline: 2px dashed rgba(239, 68, 68, 0.9);
957
+ outline: 2px dashed var(--gantt-danger-overlay, rgba(239, 68, 68, 0.9));
913
958
  }
914
959
  .gantt-tr-divider {
915
960
  position: absolute;
@@ -982,7 +1027,7 @@
982
1027
  .gantt-tr-activityBar-dragging {
983
1028
  z-index: 3;
984
1029
  cursor: grabbing;
985
- box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
1030
+ box-shadow: 0 4px 14px var(--gantt-shadow-color, rgba(0, 0, 0, 0.25));
986
1031
  }
987
1032
  .gantt-tr-activityBar-active {
988
1033
  z-index: 2;
@@ -1003,7 +1048,7 @@
1003
1048
  border-radius: var(--gantt-task-bar-border-radius) 0 0 var(--gantt-task-bar-border-radius);
1004
1049
  }
1005
1050
  .gantt-tr-activityName {
1006
- color: var(--gantt-task-bar-text-color);
1051
+ color: var(--gantt-bar-label-foreground, var(--gantt-task-bar-text-color, #fff));
1007
1052
  font-size: 0.8125rem;
1008
1053
  font-weight: 500;
1009
1054
  overflow: hidden;
@@ -1017,9 +1062,9 @@
1017
1062
  pointer-events: none;
1018
1063
  padding: 2px 7px;
1019
1064
  border-radius: 4px;
1020
- background: var(--gantt-activity-tip-bg, #111111);
1021
- color: var(--gantt-activity-tip-color, #ffffff);
1022
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
1065
+ background: var(--gantt-activity-tip-bg, var(--gantt-tooltip-background, #111111));
1066
+ color: var(--gantt-activity-tip-color, var(--gantt-tooltip-foreground, #ffffff));
1067
+ box-shadow: 0 2px 8px var(--gantt-shadow-color, rgba(0, 0, 0, 0.28));
1023
1068
  font-size: 12px;
1024
1069
  line-height: 1.2;
1025
1070
  white-space: nowrap;
@@ -1043,7 +1088,7 @@
1043
1088
  margin-top: 3px;
1044
1089
  font-size: 11px;
1045
1090
  line-height: 1.3;
1046
- color: rgba(255, 255, 255, 0.75);
1091
+ color: var(--gantt-tooltip-muted-foreground, #bdbdbd);
1047
1092
  }
1048
1093
  .gantt-tr-activityTipFields {
1049
1094
  margin-top: 3px;
@@ -1054,7 +1099,7 @@
1054
1099
  align-items: baseline;
1055
1100
  }
1056
1101
  .gantt-tr-activityTipFieldLabel {
1057
- color: rgba(255, 255, 255, 0.55);
1102
+ color: var(--gantt-tooltip-muted-foreground, #bdbdbd);
1058
1103
  flex-shrink: 0;
1059
1104
  }
1060
1105
  .gantt-tr-activityTipFieldValue {
@@ -1064,7 +1109,7 @@
1064
1109
  }
1065
1110
  .gantt-tr-activityTipReason {
1066
1111
  margin-left: 6px;
1067
- color: #fca5a5;
1112
+ color: var(--gantt-tooltip-danger-foreground, #fca5a5);
1068
1113
  }
1069
1114
  .gantt-tr-activityLink {
1070
1115
  position: absolute;
@@ -1112,7 +1157,7 @@
1112
1157
  }
1113
1158
  .gantt-tr-activityBar-atLimit {
1114
1159
  cursor: not-allowed;
1115
- box-shadow: inset 3px 0 0 var(--gantt-conflict-color, #dc2626), 0 4px 14px rgba(0, 0, 0, 0.25);
1160
+ box-shadow: inset 3px 0 0 var(--gantt-conflict-color, #dc2626), 0 4px 14px var(--gantt-shadow-color, rgba(0, 0, 0, 0.25));
1116
1161
  }
1117
1162
 
1118
1163
  /* src/components/TodayIndicator/TodayIndicator.css */
@@ -1252,22 +1297,18 @@
1252
1297
  }
1253
1298
  .gantt-dependency-virtual {
1254
1299
  stroke-dasharray: 4 2;
1255
- opacity: 0.6;
1256
- }
1257
- .gantt-dependency-line-dimmed {
1258
- opacity: var(--gantt-dependency-dim-opacity, 0.16);
1259
1300
  }
1260
- .gantt-dependency-line-dimmed.gantt-dependency-line-hovered {
1261
- opacity: 1;
1301
+ .gantt-dependency-line-dimmed .gantt-dependency-path {
1302
+ stroke-dasharray: 4 2;
1262
1303
  }
1263
1304
  .gantt-dependency-lag-dimmed {
1264
- opacity: 0.4;
1305
+ opacity: 1;
1265
1306
  }
1266
1307
  .gantt-dependency-cycle {
1267
1308
  stroke: var(--gantt-dependency-cycle-color, #ef4444);
1268
1309
  }
1269
1310
  .gantt-dependency-selected {
1270
- stroke: #ef4444;
1311
+ stroke: var(--gantt-dependency-selected-color, #ef4444);
1271
1312
  stroke-width: 2;
1272
1313
  }
1273
1314
  .gantt-dependency-critical {
@@ -1293,14 +1334,15 @@
1293
1334
  font-weight: 500;
1294
1335
  pointer-events: none;
1295
1336
  user-select: none;
1296
- opacity: 0.85;
1337
+ opacity: 1;
1297
1338
  }
1298
1339
  .gantt-dependency-coupling {
1299
1340
  fill: none;
1300
- stroke: #fff;
1341
+ stroke: var(--gantt-bar-marker-color, #fff);
1301
1342
  stroke-width: 3;
1302
1343
  stroke-linecap: round;
1303
- opacity: 0.5;
1344
+ filter: drop-shadow(0 0 1px var(--gantt-bar-marker-outline, #000));
1345
+ opacity: 1;
1304
1346
  }
1305
1347
  .gantt-dependency-line-hovered .gantt-dependency-coupling {
1306
1348
  stroke: var(--gantt-dependency-hover-color, #ef4444);
@@ -1308,7 +1350,7 @@
1308
1350
  opacity: 1;
1309
1351
  }
1310
1352
  .gantt-dependency-selected.gantt-dependency-coupling {
1311
- stroke: #ef4444;
1353
+ stroke: var(--gantt-dependency-selected-color, #ef4444);
1312
1354
  opacity: 1;
1313
1355
  }
1314
1356
  .gantt-dependency-cycle.gantt-dependency-coupling {
@@ -1399,9 +1441,9 @@
1399
1441
  background:
1400
1442
  linear-gradient(
1401
1443
  90deg,
1402
- rgba(148, 163, 184, 0.13),
1403
- rgba(148, 163, 184, 0.28),
1404
- rgba(148, 163, 184, 0.13));
1444
+ var(--gantt-skeleton-base-color, rgba(148, 163, 184, 0.13)),
1445
+ var(--gantt-skeleton-highlight-color, rgba(148, 163, 184, 0.28)),
1446
+ var(--gantt-skeleton-base-color, rgba(148, 163, 184, 0.13)));
1405
1447
  background-size: 220% 100%;
1406
1448
  animation: gantt-generation-skeleton-shimmer 1.45s ease-in-out infinite;
1407
1449
  animation-delay: var(--skeleton-shimmer-delay, 0ms);
@@ -1410,9 +1452,9 @@
1410
1452
  background:
1411
1453
  linear-gradient(
1412
1454
  90deg,
1413
- #d9dee7,
1414
- #eef1f5,
1415
- #d9dee7);
1455
+ var(--gantt-skeleton-base-color, #d9dee7),
1456
+ var(--gantt-skeleton-highlight-color, #eef1f5),
1457
+ var(--gantt-skeleton-base-color, #d9dee7));
1416
1458
  background-size: 220% 100%;
1417
1459
  height: var(--gantt-task-bar-height, 24px);
1418
1460
  border-radius: var(--gantt-task-bar-border-radius, 4px);
@@ -1502,7 +1544,7 @@
1502
1544
  pointer-events: none;
1503
1545
  }
1504
1546
  .gantt-tl-overlay.gantt-tl-overlay-shadowed {
1505
- box-shadow: 10px 0 18px -14px rgba(15, 23, 42, 0.45);
1547
+ box-shadow: 10px 0 18px -14px var(--gantt-shadow-color, rgba(15, 23, 42, 0.45));
1506
1548
  }
1507
1549
  .gantt-tl-overlay.gantt-tl-hidden {
1508
1550
  opacity: 0;
@@ -1542,7 +1584,7 @@
1542
1584
  padding: 0 0.5rem;
1543
1585
  font-size: 0.75rem;
1544
1586
  font-weight: 600;
1545
- color: #6b7280;
1587
+ color: var(--gantt-text-muted-color, #6b7280);
1546
1588
  box-sizing: border-box;
1547
1589
  border-right: var(--gantt-tl-vertical-separators);
1548
1590
  position: relative;
@@ -1576,7 +1618,7 @@
1576
1618
  }
1577
1619
  .gantt-tl-headerCell:hover .gantt-tl-column-resize-handle::before,
1578
1620
  .gantt-tl-column-resize-handle:focus-visible::before {
1579
- background: rgba(59, 130, 246, 0.35);
1621
+ background: var(--gantt-selection-overlay-strong, rgba(59, 130, 246, 0.35));
1580
1622
  }
1581
1623
  .gantt-tl-column-resize-icon {
1582
1624
  display: none;
@@ -1597,9 +1639,9 @@
1597
1639
  height: 24px;
1598
1640
  display: block;
1599
1641
  border-radius: 8px;
1600
- background: rgba(255, 255, 255, 0.94);
1601
- box-shadow: 0 1px 4px rgba(15, 23, 42, 0.16);
1602
- color: #2563eb;
1642
+ background: var(--gantt-control-background, rgba(255, 255, 255, 0.94));
1643
+ box-shadow: 0 1px 4px var(--gantt-shadow-color, rgba(15, 23, 42, 0.16));
1644
+ color: var(--gantt-info-foreground, #2563eb);
1603
1645
  opacity: 0;
1604
1646
  pointer-events: none;
1605
1647
  transform: translate(-50%, -50%) scale(0.25);
@@ -1612,7 +1654,7 @@
1612
1654
  transform: translate(-50%, -50%) scale(1);
1613
1655
  }
1614
1656
  .gantt-tl-header[data-column-resize-mode=true] .gantt-tl-column-resize-handle::before {
1615
- background: rgba(59, 130, 246, 0.45);
1657
+ background: var(--gantt-selection-overlay-strong, rgba(59, 130, 246, 0.45));
1616
1658
  }
1617
1659
  }
1618
1660
  .gantt-tl-body {
@@ -1629,8 +1671,8 @@
1629
1671
  position: relative;
1630
1672
  }
1631
1673
  .gantt-tl-row-filter-match {
1632
- --gantt-tl-name-actions-bg: #fef3c7;
1633
- background-color: rgba(250, 204, 21, 0.24);
1674
+ --gantt-tl-name-actions-bg: var(--gantt-warning-background, #fef3c7);
1675
+ background-color: var(--gantt-warning-overlay, rgba(250, 204, 21, 0.24));
1634
1676
  }
1635
1677
  .gantt-tl-row:hover,
1636
1678
  .gantt-tl-row-hovered {
@@ -1639,27 +1681,27 @@
1639
1681
  }
1640
1682
  .gantt-tl-row-filter-match:hover,
1641
1683
  .gantt-tl-row-filter-match.gantt-tl-row-hovered {
1642
- --gantt-tl-name-actions-bg: #fde68a;
1643
- box-shadow: inset 0 0 0 9999px rgba(250, 204, 21, 0.3);
1684
+ --gantt-tl-name-actions-bg: var(--gantt-warning-background, #fde68a);
1685
+ box-shadow: inset 0 0 0 9999px var(--gantt-warning-overlay, rgba(250, 204, 21, 0.3));
1644
1686
  }
1645
1687
  .gantt-tl-row-selected {
1646
1688
  --gantt-tl-name-actions-bg: inherit;
1647
1689
  }
1648
1690
  .gantt-tl-row-dependency-selected {
1649
- --gantt-tl-name-actions-bg: #e8effe;
1650
- box-shadow: inset 0 0 0 9999px rgba(37, 99, 235, 0.12);
1691
+ --gantt-tl-name-actions-bg: var(--gantt-selection-background, #e8effe);
1692
+ box-shadow: inset 0 0 0 9999px var(--gantt-selection-overlay, rgba(37, 99, 235, 0.12));
1651
1693
  }
1652
1694
  .gantt-tl-row-dependency-selected:hover {
1653
- --gantt-tl-name-actions-bg: #e0e9fd;
1654
- box-shadow: inset 0 0 0 9999px rgba(37, 99, 235, 0.16);
1695
+ --gantt-tl-name-actions-bg: var(--gantt-selection-background, #e0e9fd);
1696
+ box-shadow: inset 0 0 0 9999px var(--gantt-selection-overlay, rgba(37, 99, 235, 0.16));
1655
1697
  }
1656
1698
  .gantt-tl-row-dependency-owner {
1657
- --gantt-tl-name-actions-bg: #e8effe;
1658
- box-shadow: inset 0 0 0 9999px rgba(37, 99, 235, 0.12);
1699
+ --gantt-tl-name-actions-bg: var(--gantt-selection-background, #e8effe);
1700
+ box-shadow: inset 0 0 0 9999px var(--gantt-focus-overlay, rgba(37, 99, 235, 0.12));
1659
1701
  }
1660
1702
  .gantt-tl-row-dependency-owner:hover {
1661
- --gantt-tl-name-actions-bg: #e0e9fd;
1662
- box-shadow: inset 0 0 0 9999px rgba(37, 99, 235, 0.16);
1703
+ --gantt-tl-name-actions-bg: var(--gantt-selection-background, #e0e9fd);
1704
+ box-shadow: inset 0 0 0 9999px var(--gantt-focus-overlay, rgba(37, 99, 235, 0.16));
1663
1705
  }
1664
1706
  .gantt-tl-row-child {
1665
1707
  padding-left: 0;
@@ -1673,7 +1715,7 @@
1673
1715
  visibility: hidden;
1674
1716
  }
1675
1717
  .gantt-tl-row-composite-detail .gantt-tl-cell-name {
1676
- color: #5b4b83;
1718
+ color: var(--gantt-text-muted-color, #5b4b83);
1677
1719
  }
1678
1720
  .gantt-tl-compositeToggle {
1679
1721
  position: absolute;
@@ -1811,7 +1853,7 @@
1811
1853
  box-sizing: border-box;
1812
1854
  border-right: var(--gantt-tl-vertical-separators);
1813
1855
  font-size: 0.85rem;
1814
- color: #374151;
1856
+ color: var(--gantt-text-color, #374151);
1815
1857
  }
1816
1858
  .gantt-tl-cell:last-child {
1817
1859
  border-right: none;
@@ -1827,7 +1869,7 @@
1827
1869
  width: 16px;
1828
1870
  height: 16px;
1829
1871
  margin: 0;
1830
- accent-color: #2563eb;
1872
+ accent-color: var(--gantt-focus-color, #2563eb);
1831
1873
  cursor: pointer;
1832
1874
  }
1833
1875
  .gantt-tl-cell-number {
@@ -1852,7 +1894,7 @@
1852
1894
  justify-content: flex-start;
1853
1895
  padding-left: 8px;
1854
1896
  cursor: grab;
1855
- color: #9ca3af;
1897
+ color: var(--gantt-text-muted-color, #9ca3af);
1856
1898
  visibility: hidden;
1857
1899
  user-select: none;
1858
1900
  background: transparent;
@@ -1874,13 +1916,13 @@
1874
1916
  cursor: grabbing;
1875
1917
  }
1876
1918
  .gantt-tl-row-dragging {
1877
- --gantt-tl-name-actions-bg: #d8e7fd;
1878
- background-color: rgba(59, 130, 246, 0.15);
1919
+ --gantt-tl-name-actions-bg: var(--gantt-selection-background, #d8e7fd);
1920
+ background-color: var(--gantt-selection-overlay, rgba(59, 130, 246, 0.15));
1879
1921
  }
1880
1922
  .gantt-tl-row-dragging .gantt-tl-cell,
1881
1923
  .gantt-tl-row-dragging .gantt-tl-name-trigger,
1882
1924
  .gantt-tl-row-dragging .gantt-tl-num-label {
1883
- color: #3b82f6 !important;
1925
+ color: var(--gantt-info-foreground, #3b82f6) !important;
1884
1926
  }
1885
1927
  .gantt-tl-row-drag-over {
1886
1928
  position: relative;
@@ -1893,7 +1935,7 @@
1893
1935
  left: 0;
1894
1936
  right: 0;
1895
1937
  height: 2px;
1896
- background-color: #3b82f6;
1938
+ background-color: var(--gantt-action-solid-background, #3b82f6);
1897
1939
  z-index: 1;
1898
1940
  }
1899
1941
  .gantt-tl-before-first-drop-zone {
@@ -1911,7 +1953,7 @@
1911
1953
  left: 0;
1912
1954
  right: 0;
1913
1955
  height: 2px;
1914
- background-color: #3b82f6;
1956
+ background-color: var(--gantt-action-solid-background, #3b82f6);
1915
1957
  opacity: 0;
1916
1958
  pointer-events: none;
1917
1959
  transition: opacity 80ms linear;
@@ -1930,9 +1972,9 @@
1930
1972
  background:
1931
1973
  linear-gradient(
1932
1974
  180deg,
1933
- rgba(59, 130, 246, 0.26) 0%,
1934
- rgba(59, 130, 246, 0.08) 68%,
1935
- rgba(59, 130, 246, 0) 100%);
1975
+ var(--gantt-selection-overlay-strong, rgba(59, 130, 246, 0.26)) 0%,
1976
+ var(--gantt-selection-overlay, rgba(59, 130, 246, 0.08)) 68%,
1977
+ var(--gantt-selection-overlay-clear, rgba(59, 130, 246, 0)) 100%);
1936
1978
  }
1937
1979
  .gantt-tl-before-first-drop-zone-active::before,
1938
1980
  .gantt-tl-before-first-drop-zone-active::after {
@@ -1955,9 +1997,9 @@
1955
1997
  background:
1956
1998
  linear-gradient(
1957
1999
  180deg,
1958
- rgba(59, 130, 246, 0.26) 0%,
1959
- rgba(59, 130, 246, 0.08) 68%,
1960
- rgba(59, 130, 246, 0) 100%);
2000
+ var(--gantt-selection-overlay-strong, rgba(59, 130, 246, 0.26)) 0%,
2001
+ var(--gantt-selection-overlay, rgba(59, 130, 246, 0.08)) 68%,
2002
+ var(--gantt-selection-overlay-clear, rgba(59, 130, 246, 0)) 100%);
1961
2003
  }
1962
2004
  .gantt-tl-row-drag-over-inside {
1963
2005
  background: transparent;
@@ -1980,9 +2022,9 @@
1980
2022
  background:
1981
2023
  linear-gradient(
1982
2024
  0deg,
1983
- rgba(59, 130, 246, 0.26) 0%,
1984
- rgba(59, 130, 246, 0.08) 68%,
1985
- rgba(59, 130, 246, 0) 100%);
2025
+ var(--gantt-selection-overlay-strong, rgba(59, 130, 246, 0.26)) 0%,
2026
+ var(--gantt-selection-overlay, rgba(59, 130, 246, 0.08)) 68%,
2027
+ var(--gantt-selection-overlay-clear, rgba(59, 130, 246, 0)) 100%);
1986
2028
  }
1987
2029
  .gantt-tl-row-drag-over-nested::before,
1988
2030
  .gantt-tl-row-drag-over-nested::after {
@@ -1998,7 +2040,7 @@
1998
2040
  left: calc(var(--gantt-tl-nested-inside-drop-left, 49px) - 1px);
1999
2041
  width: 2px;
2000
2042
  height: 50%;
2001
- background-color: #3b82f6;
2043
+ background-color: var(--gantt-action-solid-background, #3b82f6);
2002
2044
  border-radius: 1px;
2003
2045
  }
2004
2046
  .gantt-tl-row-drag-over-inside.gantt-tl-row-drag-over-nested::after {
@@ -2009,12 +2051,12 @@
2009
2051
  height: 50%;
2010
2052
  opacity: 1;
2011
2053
  background:
2012
- linear-gradient(#3b82f6, #3b82f6) left bottom / 100% 2px no-repeat,
2054
+ linear-gradient(var(--gantt-action-solid-background, #3b82f6), var(--gantt-action-solid-background, #3b82f6)) left bottom / 100% 2px no-repeat,
2013
2055
  linear-gradient(
2014
2056
  0deg,
2015
- rgba(59, 130, 246, 0.26) 0%,
2016
- rgba(59, 130, 246, 0.08) 68%,
2017
- rgba(59, 130, 246, 0) 100%);
2057
+ var(--gantt-selection-overlay-strong, rgba(59, 130, 246, 0.26)) 0%,
2058
+ var(--gantt-selection-overlay, rgba(59, 130, 246, 0.08)) 68%,
2059
+ var(--gantt-selection-overlay-clear, rgba(59, 130, 246, 0)) 100%);
2018
2060
  }
2019
2061
  .gantt-tl-headerCell.gantt-tl-cell-name {
2020
2062
  padding-left: 4px;
@@ -2069,7 +2111,7 @@
2069
2111
  .gantt-tl-cell-duration:focus-within .gantt-tl-duration-display,
2070
2112
  .gantt-tl-cell-date:hover .gantt-datepicker-trigger,
2071
2113
  .gantt-tl-cell-date:focus-within .gantt-datepicker-trigger {
2072
- background: rgba(107, 114, 128, 0.12);
2114
+ background: var(--gantt-neutral-overlay, rgba(107, 114, 128, 0.12));
2073
2115
  }
2074
2116
  .gantt-tl-cell-progress {
2075
2117
  width: 56px;
@@ -2093,7 +2135,7 @@
2093
2135
  }
2094
2136
  .gantt-tl-cell-progress:hover .gantt-tl-progress-display,
2095
2137
  .gantt-tl-cell-progress:focus-within .gantt-tl-progress-display {
2096
- background: rgba(107, 114, 128, 0.12);
2138
+ background: var(--gantt-neutral-overlay, rgba(107, 114, 128, 0.12));
2097
2139
  }
2098
2140
  .gantt-tl-number-editor {
2099
2141
  position: absolute;
@@ -2104,12 +2146,12 @@
2104
2146
  height: 100%;
2105
2147
  padding: 0 18px 0 6px;
2106
2148
  border-width: 1px;
2107
- border-color: #93c5fd;
2149
+ border-color: var(--gantt-focus-color, #93c5fd);
2108
2150
  border-radius: 8px;
2109
2151
  text-align: left;
2110
2152
  font-size: 0.8rem;
2111
2153
  line-height: 1;
2112
- box-shadow: 0 0 0 1px rgba(147, 197, 253, 0.35);
2154
+ box-shadow: 0 0 0 1px var(--gantt-focus-overlay, rgba(147, 197, 253, 0.35));
2113
2155
  }
2114
2156
  .gantt-tl-number-input::-webkit-outer-spin-button,
2115
2157
  .gantt-tl-number-input::-webkit-inner-spin-button {
@@ -2136,18 +2178,18 @@
2136
2178
  justify-content: center;
2137
2179
  border: none;
2138
2180
  border-radius: 5px;
2139
- background: rgba(248, 250, 252, 0.95);
2140
- color: #64748b;
2181
+ background: var(--gantt-control-background, rgba(248, 250, 252, 0.95));
2182
+ color: var(--gantt-text-muted-color, #64748b);
2141
2183
  padding: 0;
2142
2184
  cursor: pointer;
2143
2185
  transition: background-color 0.15s ease, color 0.15s ease;
2144
2186
  }
2145
2187
  .gantt-tl-number-stepper:hover {
2146
- background: #dbeafe;
2147
- color: #1d4ed8;
2188
+ background: var(--gantt-info-background, #dbeafe);
2189
+ color: var(--gantt-info-foreground, #1d4ed8);
2148
2190
  }
2149
2191
  .gantt-tl-number-stepper:active {
2150
- background: #bfdbfe;
2192
+ background: var(--gantt-info-background, #bfdbfe);
2151
2193
  }
2152
2194
  .gantt-tl-name-trigger {
2153
2195
  display: flex;
@@ -2160,7 +2202,7 @@
2160
2202
  line-height: 1.2;
2161
2203
  font-family: inherit;
2162
2204
  font-weight: inherit;
2163
- color: #374151;
2205
+ color: var(--gantt-text-color, #374151);
2164
2206
  background: transparent;
2165
2207
  border: none;
2166
2208
  cursor: pointer;
@@ -2209,15 +2251,15 @@
2209
2251
  min-width: 520px;
2210
2252
  width: 100%;
2211
2253
  border-width: 2px;
2212
- border-color: #3b82f6;
2213
- box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
2254
+ border-color: var(--gantt-focus-color, #3b82f6);
2255
+ box-shadow: 0 2px 10px var(--gantt-shadow-color, rgba(0, 0, 0, 0.15));
2214
2256
  white-space: nowrap;
2215
2257
  }
2216
2258
  .gantt-tl-name-input-child {
2217
2259
  padding-left: 24px;
2218
2260
  }
2219
2261
  .gantt-tl-name-input:focus {
2220
- box-shadow: 0 2px 10px rgba(59, 130, 246, 0.3);
2262
+ box-shadow: 0 2px 10px var(--gantt-focus-overlay, rgba(59, 130, 246, 0.3));
2221
2263
  }
2222
2264
  .gantt-tl-name-color-stripe {
2223
2265
  position: absolute;
@@ -2295,7 +2337,7 @@
2295
2337
  padding: 2px 8px;
2296
2338
  font-size: 11px;
2297
2339
  border: 1px solid var(--gantt-grid-line-color, #e0e0e0);
2298
- background: white;
2340
+ background: var(--gantt-control-background, white);
2299
2341
  border-radius: 4px;
2300
2342
  cursor: pointer;
2301
2343
  white-space: nowrap;
@@ -2323,32 +2365,32 @@
2323
2365
  display: block;
2324
2366
  min-width: 0;
2325
2367
  flex: 1 1 100%;
2326
- color: #374151;
2368
+ color: var(--gantt-text-color, #374151);
2327
2369
  font-size: 0.75rem;
2328
2370
  line-height: 1.35;
2329
2371
  overflow-wrap: anywhere;
2330
2372
  white-space: normal;
2331
2373
  }
2332
2374
  .gantt-tl-action-insert {
2333
- background-color: #3b82f6;
2334
- color: white;
2375
+ background-color: var(--gantt-action-solid-background, #3b82f6);
2376
+ color: var(--gantt-solid-foreground, white);
2335
2377
  }
2336
2378
  .gantt-tl-action-insert:hover {
2337
- background-color: #2563eb;
2379
+ background-color: var(--gantt-action-solid-background, #2563eb);
2338
2380
  }
2339
2381
  .gantt-tl-action-delete {
2340
- background-color: #ef4444;
2341
- color: white;
2382
+ background-color: var(--gantt-danger-solid-background, #ef4444);
2383
+ color: var(--gantt-solid-foreground, white);
2342
2384
  }
2343
2385
  .gantt-tl-action-delete:hover {
2344
- background-color: #dc2626;
2386
+ background-color: var(--gantt-danger-solid-background, #dc2626);
2345
2387
  }
2346
2388
  .gantt-tl-action-context {
2347
- background-color: #e5e7eb;
2348
- color: #374151;
2389
+ background-color: var(--gantt-header-background, #e5e7eb);
2390
+ color: var(--gantt-text-color, #374151);
2349
2391
  }
2350
2392
  .gantt-tl-action-context:hover {
2351
- background-color: #d1d5db;
2393
+ background-color: var(--gantt-hover-background, #d1d5db);
2352
2394
  }
2353
2395
  .gantt-tl-context-menu {
2354
2396
  min-width: 140px !important;
@@ -2368,22 +2410,22 @@
2368
2410
  font-size: 0.8rem;
2369
2411
  font-family: inherit;
2370
2412
  cursor: pointer;
2371
- color: #374151;
2413
+ color: var(--gantt-text-color, #374151);
2372
2414
  white-space: nowrap;
2373
2415
  }
2374
2416
  .gantt-tl-context-menu-item:hover {
2375
- background-color: rgba(0, 0, 0, 0.05);
2417
+ background-color: var(--gantt-hover-background, rgba(0, 0, 0, 0.05));
2376
2418
  }
2377
2419
  .gantt-tl-context-menu-item-danger {
2378
- color: #ef4444;
2420
+ color: var(--gantt-danger-foreground, #ef4444);
2379
2421
  }
2380
2422
  .gantt-tl-context-menu-item-danger:hover {
2381
- background-color: rgba(239, 68, 68, 0.08);
2382
- color: #dc2626;
2423
+ background-color: var(--gantt-danger-overlay, rgba(239, 68, 68, 0.08));
2424
+ color: var(--gantt-danger-foreground, #dc2626);
2383
2425
  }
2384
2426
  .gantt-tl-context-menu-divider {
2385
2427
  border: none;
2386
- border-top: 1px solid rgba(148, 163, 184, 0.22);
2428
+ border-top: 1px solid var(--gantt-control-border-color, rgba(148, 163, 184, 0.22));
2387
2429
  margin: 2px 0;
2388
2430
  width: 100%;
2389
2431
  }
@@ -2392,13 +2434,13 @@
2392
2434
  flex-direction: column;
2393
2435
  gap: 8px;
2394
2436
  padding: 6px 6px 8px;
2395
- border-bottom: 1px solid rgba(148, 163, 184, 0.22);
2437
+ border-bottom: 1px solid var(--gantt-control-border-color, rgba(148, 163, 184, 0.22));
2396
2438
  margin-bottom: 2px;
2397
2439
  }
2398
2440
  .gantt-tl-context-menu-label {
2399
2441
  font-size: 0.72rem;
2400
2442
  font-weight: 600;
2401
- color: #6b7280;
2443
+ color: var(--gantt-text-muted-color, #6b7280);
2402
2444
  }
2403
2445
  .gantt-tl-context-menu-item-toggle {
2404
2446
  width: 100%;
@@ -2420,10 +2462,10 @@
2420
2462
  z-index: 20;
2421
2463
  min-width: 124px;
2422
2464
  padding: 8px;
2423
- border: 1px solid rgba(148, 163, 184, 0.28);
2465
+ border: 1px solid var(--gantt-control-border-color, rgba(148, 163, 184, 0.28));
2424
2466
  border-radius: 8px;
2425
- background: #ffffff;
2426
- box-shadow: 0 12px 32px rgba(15, 23, 42, 0.16);
2467
+ background: var(--gantt-cell-background, #ffffff);
2468
+ box-shadow: 0 12px 32px var(--gantt-shadow-color, rgba(15, 23, 42, 0.16));
2427
2469
  }
2428
2470
  .gantt-tl-color-grid {
2429
2471
  display: grid;
@@ -2434,7 +2476,7 @@
2434
2476
  width: 24px;
2435
2477
  height: 24px;
2436
2478
  border-radius: 999px;
2437
- border: 1px solid rgba(15, 23, 42, 0.12);
2479
+ border: 1px solid var(--gantt-neutral-overlay, rgba(15, 23, 42, 0.12));
2438
2480
  cursor: pointer;
2439
2481
  position: relative;
2440
2482
  transition: transform 0.12s ease, box-shadow 0.12s ease;
@@ -2448,14 +2490,14 @@
2448
2490
  flex-shrink: 0;
2449
2491
  }
2450
2492
  .gantt-tl-color-swatch.is-selected {
2451
- box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px rgba(59, 130, 246, 0.5);
2493
+ box-shadow: 0 0 0 2px var(--gantt-control-background, #ffffff), 0 0 0 4px var(--gantt-selection-overlay-strong, rgba(59, 130, 246, 0.5));
2452
2494
  }
2453
2495
  .gantt-tl-color-swatch-clear {
2454
2496
  background:
2455
2497
  linear-gradient(
2456
2498
  135deg,
2457
- #f8fafc,
2458
- #e2e8f0);
2499
+ var(--gantt-header-background, #f8fafc),
2500
+ var(--gantt-header-background, #e2e8f0));
2459
2501
  }
2460
2502
  .gantt-tl-color-swatch-clear-line {
2461
2503
  position: absolute;
@@ -2463,7 +2505,7 @@
2463
2505
  left: 50%;
2464
2506
  width: 16px;
2465
2507
  height: 1px;
2466
- background: rgba(100, 116, 139, 0.7);
2508
+ background: var(--gantt-neutral-overlay, rgba(100, 116, 139, 0.7));
2467
2509
  border-radius: 999px;
2468
2510
  transform: translate(-50%, -50%) rotate(-45deg);
2469
2511
  }
@@ -2474,11 +2516,11 @@
2474
2516
  display: inline-flex;
2475
2517
  align-items: center;
2476
2518
  justify-content: center;
2477
- background-color: #4b5563;
2478
- color: white;
2519
+ background-color: var(--gantt-action-solid-background, #4b5563);
2520
+ color: var(--gantt-solid-foreground, white);
2479
2521
  }
2480
2522
  .gantt-tl-action-hierarchy:hover {
2481
- background-color: #374151;
2523
+ background-color: var(--gantt-action-solid-background, #374151);
2482
2524
  }
2483
2525
  @media (max-width: 640px) {
2484
2526
  .gantt-tl-row,
@@ -2531,7 +2573,7 @@
2531
2573
  gap: 2px;
2532
2574
  font-size: 0.75rem;
2533
2575
  font-weight: 600;
2534
- color: #6b7280;
2576
+ color: var(--gantt-text-muted-color, #6b7280);
2535
2577
  background: transparent;
2536
2578
  border: none;
2537
2579
  cursor: pointer;
@@ -2544,7 +2586,7 @@
2544
2586
  opacity: 0.7;
2545
2587
  }
2546
2588
  .gantt-tl-dep-type-trigger:not(:disabled):hover {
2547
- color: #3b82f6;
2589
+ color: var(--gantt-info-foreground, #3b82f6);
2548
2590
  }
2549
2591
  .gantt-tl-dep-type-menu {
2550
2592
  display: flex;
@@ -2564,15 +2606,15 @@
2564
2606
  border: none;
2565
2607
  border-radius: 4px;
2566
2608
  cursor: pointer;
2567
- color: #374151;
2609
+ color: var(--gantt-text-color, #374151);
2568
2610
  }
2569
2611
  .gantt-tl-dep-type-option:hover {
2570
- background-color: rgba(59, 130, 246, 0.1);
2612
+ background-color: var(--gantt-selection-overlay, rgba(59, 130, 246, 0.1));
2571
2613
  }
2572
2614
  .gantt-tl-dep-type-option.active {
2573
- background-color: rgba(59, 130, 246, 0.2);
2615
+ background-color: var(--gantt-selection-overlay-strong, rgba(59, 130, 246, 0.2));
2574
2616
  font-weight: 600;
2575
- color: #1d4ed8;
2617
+ color: var(--gantt-info-foreground, #1d4ed8);
2576
2618
  }
2577
2619
  .gantt-tl-dep-chip-control {
2578
2620
  position: relative;
@@ -2583,11 +2625,11 @@
2583
2625
  display: inline-flex;
2584
2626
  align-items: center;
2585
2627
  gap: 2px;
2586
- background-color: rgba(107, 114, 128, 0.12);
2628
+ background-color: var(--gantt-neutral-overlay, rgba(107, 114, 128, 0.12));
2587
2629
  border-radius: 6px;
2588
2630
  padding: 3px 4px;
2589
2631
  font-size: inherit;
2590
- color: #4b5563;
2632
+ color: var(--gantt-text-muted-color, #4b5563);
2591
2633
  white-space: nowrap;
2592
2634
  line-height: 14px;
2593
2635
  cursor: pointer;
@@ -2617,25 +2659,25 @@
2617
2659
  border: 0;
2618
2660
  border-radius: 5px;
2619
2661
  background: transparent;
2620
- color: #2563eb;
2662
+ color: var(--gantt-info-foreground, #2563eb);
2621
2663
  cursor: pointer;
2622
2664
  transform: translateY(-50%);
2623
2665
  }
2624
2666
  .gantt-tl-dep-expand:hover,
2625
2667
  .gantt-tl-dep-expand:focus-visible {
2626
- background: rgba(37, 99, 235, 0.12);
2668
+ background: var(--gantt-selection-overlay, rgba(37, 99, 235, 0.12));
2627
2669
  outline: none;
2628
2670
  }
2629
2671
  .gantt-tl-dep-chip-with-number:hover {
2630
- background-color: rgba(59, 130, 246, 0.12);
2672
+ background-color: var(--gantt-selection-overlay, rgba(59, 130, 246, 0.12));
2631
2673
  }
2632
2674
  .gantt-tl-dep-chip-with-number:hover .gantt-tl-dep-chip-task-number,
2633
2675
  .gantt-tl-dep-chip-with-number:hover .gantt-tl-dep-chip svg,
2634
2676
  .gantt-tl-dep-chip-with-number:hover .gantt-tl-dep-chip-lag {
2635
- color: #2563eb;
2677
+ color: var(--gantt-info-foreground, #2563eb);
2636
2678
  }
2637
2679
  .gantt-tl-dep-chip-with-number:hover .gantt-tl-dep-chip {
2638
- background-color: rgba(59, 130, 246, 0.18);
2680
+ background-color: var(--gantt-selection-overlay, rgba(59, 130, 246, 0.18));
2639
2681
  }
2640
2682
  .gantt-tl-dep-chip-tooltip {
2641
2683
  position: absolute;
@@ -2649,13 +2691,13 @@
2649
2691
  max-width: min(360px, calc(100vw - 32px));
2650
2692
  padding: 5px 8px;
2651
2693
  border-radius: 4px;
2652
- background: #111827;
2653
- color: #fff;
2694
+ background: var(--gantt-tooltip-background, #111111);
2695
+ color: var(--gantt-tooltip-foreground, #ffffff);
2654
2696
  font-size: 0.75rem;
2655
2697
  line-height: 1.3;
2656
2698
  white-space: normal;
2657
2699
  overflow-wrap: anywhere;
2658
- box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18);
2700
+ box-shadow: 0 6px 18px var(--gantt-shadow-color, rgba(15, 23, 42, 0.18));
2659
2701
  pointer-events: none;
2660
2702
  }
2661
2703
  .gantt-tl-dep-chip-with-number:hover .gantt-tl-dep-chip-tooltip,
@@ -2663,28 +2705,28 @@
2663
2705
  display: block;
2664
2706
  }
2665
2707
  .gantt-tl-dep-chip-task-number {
2666
- color: #4b5563;
2708
+ color: var(--gantt-text-muted-color, #4b5563);
2667
2709
  font-weight: 400;
2668
2710
  line-height: 14px;
2669
2711
  }
2670
2712
  .gantt-tl-dep-chip svg {
2671
- color: #4b5563;
2713
+ color: var(--gantt-text-muted-color, #4b5563);
2672
2714
  }
2673
2715
  .gantt-tl-dep-chip-lag {
2674
- color: #9ca3af;
2716
+ color: var(--gantt-text-muted-color, #9ca3af);
2675
2717
  line-height: 14px;
2676
2718
  }
2677
2719
  .gantt-tl-dep-chip-with-number-selected {
2678
- background-color: #2563eb;
2679
- color: #fff;
2720
+ background-color: var(--gantt-action-solid-background, #2563eb);
2721
+ color: var(--gantt-solid-foreground, #fff);
2680
2722
  }
2681
2723
  .gantt-tl-dep-chip-with-number-selected .gantt-tl-dep-chip {
2682
- background-color: rgba(255, 255, 255, 0.16);
2724
+ background-color: var(--gantt-bar-highlight-color, rgba(255, 255, 255, 0.16));
2683
2725
  }
2684
2726
  .gantt-tl-dep-chip-with-number-selected .gantt-tl-dep-chip-task-number,
2685
2727
  .gantt-tl-dep-chip-with-number-selected .gantt-tl-dep-chip svg,
2686
2728
  .gantt-tl-dep-chip-with-number-selected .gantt-tl-dep-chip-lag {
2687
- color: #fff;
2729
+ color: var(--gantt-solid-foreground, #fff);
2688
2730
  }
2689
2731
  .gantt-tl-dep-chip-with-number-selected .gantt-tl-dep-chip-lag {
2690
2732
  opacity: 0.82;
@@ -2699,12 +2741,12 @@
2699
2741
  align-items: center;
2700
2742
  justify-content: center;
2701
2743
  align-self: stretch;
2702
- background: #ef4444;
2744
+ background: var(--gantt-danger-solid-background, #ef4444);
2703
2745
  border: none;
2704
2746
  border-radius: 3px;
2705
2747
  padding: 0 4px;
2706
2748
  cursor: pointer;
2707
- color: #fff;
2749
+ color: var(--gantt-solid-foreground, #fff);
2708
2750
  flex-shrink: 0;
2709
2751
  line-height: 0;
2710
2752
  }
@@ -2712,11 +2754,11 @@
2712
2754
  display: inline-flex;
2713
2755
  }
2714
2756
  .gantt-tl-dep-chip-trash:hover {
2715
- background-color: #dc2626;
2757
+ background-color: var(--gantt-danger-solid-background, #dc2626);
2716
2758
  }
2717
2759
  .gantt-tl-dep-info-popover {
2718
2760
  font-size: 0.75rem;
2719
- color: #374151;
2761
+ color: var(--gantt-text-color, #374151);
2720
2762
  padding: 6px 10px !important;
2721
2763
  max-width: 260px;
2722
2764
  line-height: 1.4;
@@ -2725,17 +2767,17 @@
2725
2767
  gap: 2px;
2726
2768
  }
2727
2769
  .gantt-tl-dep-info-prefix {
2728
- color: #6b7280;
2770
+ color: var(--gantt-text-muted-color, #6b7280);
2729
2771
  }
2730
2772
  .gantt-tl-dep-info-name {
2731
2773
  font-weight: 500;
2732
- color: #111827;
2774
+ color: var(--gantt-text-color, #111827);
2733
2775
  white-space: normal;
2734
2776
  word-break: break-word;
2735
2777
  }
2736
2778
  .gantt-tl-dep-edit-popover {
2737
2779
  font-size: 0.85rem;
2738
- color: #374151;
2780
+ color: var(--gantt-text-color, #374151);
2739
2781
  padding: 10px 12px;
2740
2782
  display: flex;
2741
2783
  flex-direction: column;
@@ -2757,25 +2799,25 @@
2757
2799
  justify-content: center;
2758
2800
  width: 22px;
2759
2801
  height: 22px;
2760
- border: 1px solid #d1d5db;
2802
+ border: 1px solid var(--gantt-control-border-color, #d1d5db);
2761
2803
  border-radius: 4px;
2762
- background: #f9fafb;
2804
+ background: var(--gantt-header-background, #f9fafb);
2763
2805
  cursor: pointer;
2764
- color: #374151;
2806
+ color: var(--gantt-text-color, #374151);
2765
2807
  padding: 0;
2766
2808
  line-height: 1;
2767
2809
  }
2768
2810
  .gantt-tl-dep-edit-btn:hover {
2769
- background: #e5e7eb;
2811
+ background: var(--gantt-hover-background, #e5e7eb);
2770
2812
  }
2771
2813
  .gantt-tl-dep-edit-type-trigger {
2772
2814
  display: inline-flex;
2773
2815
  align-items: center;
2774
2816
  gap: 4px;
2775
- border: 1px solid #d1d5db;
2817
+ border: 1px solid var(--gantt-control-border-color, #d1d5db);
2776
2818
  border-radius: 4px;
2777
- background: #f9fafb;
2778
- color: #374151;
2819
+ background: var(--gantt-header-background, #f9fafb);
2820
+ color: var(--gantt-text-color, #374151);
2779
2821
  padding: 2px 6px;
2780
2822
  cursor: pointer;
2781
2823
  font-size: 0.75rem;
@@ -2783,26 +2825,26 @@
2783
2825
  line-height: 1.4;
2784
2826
  }
2785
2827
  .gantt-tl-dep-edit-type-trigger:hover {
2786
- background: #e5e7eb;
2828
+ background: var(--gantt-hover-background, #e5e7eb);
2787
2829
  }
2788
2830
  .gantt-tl-dep-edit-type-caret {
2789
- color: #6b7280;
2831
+ color: var(--gantt-text-muted-color, #6b7280);
2790
2832
  font-size: 0.65rem;
2791
2833
  }
2792
2834
  .gantt-tl-dep-type-option-duplicate,
2793
2835
  .gantt-tl-dep-type-option-duplicate:hover {
2794
- color: #9ca3af;
2836
+ color: var(--gantt-text-muted-color, #9ca3af);
2795
2837
  background: transparent;
2796
2838
  cursor: not-allowed;
2797
2839
  }
2798
2840
  .gantt-tl-dep-edit-input {
2799
2841
  width: 56px;
2800
2842
  text-align: center;
2801
- background: rgba(59, 130, 246, 0.1);
2802
- border: 1px solid rgba(59, 130, 246, 0.3);
2843
+ background: var(--gantt-selection-overlay, rgba(59, 130, 246, 0.1));
2844
+ border: 1px solid var(--gantt-focus-color, rgba(59, 130, 246, 0.3));
2803
2845
  border-radius: 4px;
2804
2846
  padding: 2px 4px;
2805
- color: #1d4ed8;
2847
+ color: var(--gantt-info-foreground, #1d4ed8);
2806
2848
  -moz-appearance: textfield;
2807
2849
  }
2808
2850
  .gantt-tl-dep-edit-input::-webkit-outer-spin-button,
@@ -2812,11 +2854,11 @@
2812
2854
  }
2813
2855
  .gantt-tl-dep-edit-input:focus {
2814
2856
  outline: none;
2815
- border-color: rgba(59, 130, 246, 0.6);
2816
- background: rgba(59, 130, 246, 0.15);
2857
+ border-color: var(--gantt-focus-color, rgba(59, 130, 246, 0.6));
2858
+ background: var(--gantt-selection-overlay, rgba(59, 130, 246, 0.15));
2817
2859
  }
2818
2860
  .gantt-tl-dep-edit-input::placeholder {
2819
- color: #1d4ed8;
2861
+ color: var(--gantt-info-foreground, #1d4ed8);
2820
2862
  opacity: 0.7;
2821
2863
  font-style: italic;
2822
2864
  }
@@ -2829,7 +2871,7 @@
2829
2871
  }
2830
2872
  .gantt-tl-dep-edit-pred {
2831
2873
  font-weight: 500;
2832
- color: #111827;
2874
+ color: var(--gantt-text-color, #111827);
2833
2875
  white-space: nowrap;
2834
2876
  overflow: hidden;
2835
2877
  text-overflow: ellipsis;
@@ -2839,7 +2881,7 @@
2839
2881
  }
2840
2882
  .gantt-tl-dep-edit-divider {
2841
2883
  border: none;
2842
- border-top: 1px solid #e5e7eb;
2884
+ border-top: 1px solid var(--gantt-control-border-color, #e5e7eb);
2843
2885
  margin: 2px 0;
2844
2886
  }
2845
2887
  .gantt-tl-dep-edit-delete {
@@ -2848,14 +2890,14 @@
2848
2890
  gap: 6px;
2849
2891
  background: none;
2850
2892
  border: none;
2851
- color: #ef4444;
2893
+ color: var(--gantt-danger-foreground, #ef4444);
2852
2894
  cursor: pointer;
2853
2895
  padding: 4px 0;
2854
2896
  font-size: 0.8rem;
2855
2897
  font-family: inherit;
2856
2898
  }
2857
2899
  .gantt-tl-dep-edit-delete:hover {
2858
- color: #dc2626;
2900
+ color: var(--gantt-danger-foreground, #dc2626);
2859
2901
  text-decoration: underline;
2860
2902
  }
2861
2903
  .gantt-tl-dep-edit-actions {
@@ -2877,22 +2919,22 @@
2877
2919
  padding: 4px 0;
2878
2920
  font-size: 0.8rem;
2879
2921
  font-family: inherit;
2880
- color: #6b7280;
2922
+ color: var(--gantt-text-muted-color, #6b7280);
2881
2923
  cursor: pointer;
2882
2924
  }
2883
2925
  .gantt-tl-dep-edit-close:hover {
2884
- color: #374151;
2926
+ color: var(--gantt-text-color, #374151);
2885
2927
  text-decoration: underline;
2886
2928
  }
2887
2929
  .gantt-tl-dep-summary-chip {
2888
2930
  display: inline-flex;
2889
2931
  align-items: center;
2890
- background-color: rgba(107, 114, 128, 0.12);
2891
- border: 0px solid rgba(107, 114, 128, 0.3);
2932
+ background-color: var(--gantt-neutral-overlay, rgba(107, 114, 128, 0.12));
2933
+ border: 0px solid var(--gantt-control-border-color, rgba(107, 114, 128, 0.3));
2892
2934
  border-radius: 6px;
2893
2935
  padding: 4px 4px;
2894
2936
  font-size: 0.7rem;
2895
- color: #6b7280;
2937
+ color: var(--gantt-text-muted-color, #6b7280);
2896
2938
  cursor: pointer;
2897
2939
  white-space: nowrap;
2898
2940
  font-family: inherit;
@@ -2900,26 +2942,26 @@
2900
2942
  justify-content: center;
2901
2943
  }
2902
2944
  .gantt-tl-dep-summary-chip:hover {
2903
- background-color: rgba(59, 130, 246, 0.1);
2904
- color: #1d4ed8;
2905
- border-color: rgba(59, 130, 246, 0.3);
2945
+ background-color: var(--gantt-selection-overlay, rgba(59, 130, 246, 0.1));
2946
+ color: var(--gantt-info-foreground, #1d4ed8);
2947
+ border-color: var(--gantt-focus-color, rgba(59, 130, 246, 0.3));
2906
2948
  }
2907
2949
  .gantt-tl-dep-overflow-trigger {
2908
2950
  display: inline-flex;
2909
2951
  align-items: center;
2910
- background-color: rgba(107, 114, 128, 0.1);
2911
- border: 1px solid rgba(107, 114, 128, 0.25);
2952
+ background-color: var(--gantt-neutral-overlay, rgba(107, 114, 128, 0.1));
2953
+ border: 1px solid var(--gantt-control-border-color, rgba(107, 114, 128, 0.25));
2912
2954
  border-radius: 4px;
2913
2955
  padding: 1px 4px;
2914
2956
  font-size: 0.7rem;
2915
- color: #6b7280;
2957
+ color: var(--gantt-text-muted-color, #6b7280);
2916
2958
  cursor: pointer;
2917
2959
  white-space: nowrap;
2918
2960
  font-family: inherit;
2919
2961
  }
2920
2962
  .gantt-tl-dep-overflow-trigger:hover {
2921
- background-color: rgba(59, 130, 246, 0.1);
2922
- color: #1d4ed8;
2963
+ background-color: var(--gantt-selection-overlay, rgba(59, 130, 246, 0.1));
2964
+ color: var(--gantt-info-foreground, #1d4ed8);
2923
2965
  }
2924
2966
  .gantt-tl-dep-overflow-list {
2925
2967
  display: flex;
@@ -2935,7 +2977,7 @@
2935
2977
  justify-content: space-between;
2936
2978
  gap: 8px;
2937
2979
  font-size: 0.8rem;
2938
- color: #374151;
2980
+ color: var(--gantt-text-color, #374151);
2939
2981
  }
2940
2982
  .gantt-tl-dep-add {
2941
2983
  display: inline-flex;
@@ -2947,13 +2989,13 @@
2947
2989
  transform: translateY(-50%);
2948
2990
  z-index: 2;
2949
2991
  background: transparent;
2950
- border: 0px solid rgba(59, 130, 246, 0.4);
2951
- background-color: rgba(59, 130, 246, 0.12);
2992
+ border: 0px solid var(--gantt-focus-color, rgba(59, 130, 246, 0.4));
2993
+ background-color: var(--gantt-selection-overlay, rgba(59, 130, 246, 0.12));
2952
2994
  border-radius: 4px;
2953
2995
  width: 30px;
2954
2996
  height: 23px;
2955
2997
  font-size: 0.9rem;
2956
- color: #3b82f6;
2998
+ color: var(--gantt-info-foreground, #3b82f6);
2957
2999
  cursor: pointer;
2958
3000
  padding: 0;
2959
3001
  font-family: inherit;
@@ -2973,22 +3015,22 @@
2973
3015
  display: none !important;
2974
3016
  }
2975
3017
  .gantt-tl-dep-add:hover {
2976
- background-color: rgba(59, 130, 246, 0.1);
2977
- border-color: #3b82f6;
3018
+ background-color: var(--gantt-selection-overlay, rgba(59, 130, 246, 0.1));
3019
+ border-color: var(--gantt-focus-color, #3b82f6);
2978
3020
  }
2979
3021
  .gantt-tl-row-picking .gantt-tl-cell-deps {
2980
3022
  cursor: crosshair;
2981
- background-color: rgba(59, 130, 246, 0.04);
3023
+ background-color: var(--gantt-selection-overlay, rgba(59, 130, 246, 0.04));
2982
3024
  }
2983
3025
  .gantt-tl-row-picking .gantt-tl-cell-deps:hover {
2984
- background-color: rgba(59, 130, 246, 0.15);
3026
+ background-color: var(--gantt-selection-overlay, rgba(59, 130, 246, 0.15));
2985
3027
  }
2986
3028
  .gantt-tl-row-picking-self .gantt-tl-cell-deps {
2987
3029
  cursor: pointer;
2988
3030
  }
2989
3031
  .gantt-tl-dep-source-hint {
2990
3032
  font-size: 0.75rem;
2991
- color: #6b7280;
3033
+ color: var(--gantt-text-muted-color, #6b7280);
2992
3034
  font-style: italic;
2993
3035
  white-space: normal;
2994
3036
  }
@@ -3005,8 +3047,8 @@
3005
3047
  padding: 12px 10px 10px;
3006
3048
  border: none;
3007
3049
  border-radius: 10px;
3008
- background: #ffffff;
3009
- box-shadow: 0 18px 40px rgba(15, 23, 42, 0.28);
3050
+ background: var(--gantt-cell-background, #ffffff);
3051
+ box-shadow: 0 18px 40px var(--gantt-shadow-color, rgba(15, 23, 42, 0.28));
3010
3052
  }
3011
3053
  .gantt-tl-dep-source-direction {
3012
3054
  display: grid;
@@ -3017,20 +3059,20 @@
3017
3059
  border: none;
3018
3060
  border-radius: 8px;
3019
3061
  background: transparent;
3020
- color: #111827;
3062
+ color: var(--gantt-text-color, #111827);
3021
3063
  padding: 6px 8px;
3022
3064
  font-size: 0.75rem;
3023
3065
  font-family: inherit;
3024
3066
  cursor: pointer;
3025
3067
  }
3026
3068
  .gantt-tl-dep-source-direction-btn:hover {
3027
- background: rgba(59, 130, 246, 0.08);
3028
- color: #1d4ed8;
3069
+ background: var(--gantt-selection-overlay, rgba(59, 130, 246, 0.08));
3070
+ color: var(--gantt-info-foreground, #1d4ed8);
3029
3071
  }
3030
3072
  .gantt-tl-dep-source-direction-btn-active,
3031
3073
  .gantt-tl-dep-source-direction-btn-active:hover {
3032
- background: rgba(59, 130, 246, 0.16);
3033
- color: #1d4ed8;
3074
+ background: var(--gantt-selection-overlay, rgba(59, 130, 246, 0.16));
3075
+ color: var(--gantt-info-foreground, #1d4ed8);
3034
3076
  font-weight: 600;
3035
3077
  }
3036
3078
  .gantt-tl-dep-source-types {
@@ -3047,24 +3089,24 @@
3047
3089
  border: none;
3048
3090
  border-radius: 8px;
3049
3091
  background: transparent;
3050
- color: #111827;
3092
+ color: var(--gantt-text-color, #111827);
3051
3093
  padding: 6px 4px;
3052
3094
  cursor: pointer;
3053
3095
  font-size: 0.7rem;
3054
3096
  font-family: inherit;
3055
3097
  }
3056
3098
  .gantt-tl-dep-source-type-btn:hover {
3057
- color: #1d4ed8;
3058
- background: rgba(59, 130, 246, 0.08);
3099
+ color: var(--gantt-info-foreground, #1d4ed8);
3100
+ background: var(--gantt-selection-overlay, rgba(59, 130, 246, 0.08));
3059
3101
  }
3060
3102
  .gantt-tl-dep-source-type-btn-active {
3061
- background: rgba(59, 130, 246, 0.16);
3062
- color: #1d4ed8;
3103
+ background: var(--gantt-selection-overlay, rgba(59, 130, 246, 0.16));
3104
+ color: var(--gantt-info-foreground, #1d4ed8);
3063
3105
  font-weight: 600;
3064
3106
  }
3065
3107
  .gantt-tl-dep-source-type-btn-active:hover {
3066
- background: rgba(59, 130, 246, 0.16);
3067
- color: #1d4ed8;
3108
+ background: var(--gantt-selection-overlay, rgba(59, 130, 246, 0.16));
3109
+ color: var(--gantt-info-foreground, #1d4ed8);
3068
3110
  }
3069
3111
  .gantt-tl-dep-source-type-btn span {
3070
3112
  min-width: 0;
@@ -3081,17 +3123,17 @@
3081
3123
  min-width: 0;
3082
3124
  height: 34px;
3083
3125
  padding: 0 10px;
3084
- border: 1px solid rgba(59, 130, 246, 0.25);
3126
+ border: 1px solid var(--gantt-focus-color, rgba(59, 130, 246, 0.25));
3085
3127
  border-radius: 6px;
3086
- background: #ffffff;
3128
+ background: var(--gantt-cell-background, #ffffff);
3087
3129
  font-size: 0.82rem;
3088
3130
  font-family: inherit;
3089
- color: #111827;
3131
+ color: var(--gantt-text-color, #111827);
3090
3132
  }
3091
3133
  .gantt-tl-dep-source-input:focus {
3092
3134
  outline: none;
3093
- border-color: #3b82f6;
3094
- box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
3135
+ border-color: var(--gantt-focus-color, #3b82f6);
3136
+ box-shadow: 0 0 0 3px var(--gantt-focus-overlay, rgba(59, 130, 246, 0.12));
3095
3137
  }
3096
3138
  .gantt-tl-dep-source-list {
3097
3139
  display: flex;
@@ -3108,7 +3150,7 @@
3108
3150
  border: none;
3109
3151
  border-radius: 6px;
3110
3152
  background: transparent;
3111
- color: #1f2937;
3153
+ color: var(--gantt-text-color, #1f2937);
3112
3154
  text-align: left;
3113
3155
  padding: 6px 8px;
3114
3156
  font-size: 0.75rem;
@@ -3123,17 +3165,17 @@
3123
3165
  }
3124
3166
  .gantt-tl-dep-source-option:hover,
3125
3167
  .gantt-tl-dep-source-option-active {
3126
- background: rgba(59, 130, 246, 0.16);
3127
- color: #1d4ed8;
3168
+ background: var(--gantt-selection-overlay, rgba(59, 130, 246, 0.16));
3169
+ color: var(--gantt-info-foreground, #1d4ed8);
3128
3170
  }
3129
3171
  .gantt-tl-dep-source-option-linked {
3130
- background: rgba(16, 185, 129, 0.12);
3131
- color: #047857;
3172
+ background: var(--gantt-success-overlay, rgba(16, 185, 129, 0.12));
3173
+ color: var(--gantt-success-foreground, #047857);
3132
3174
  }
3133
3175
  .gantt-tl-dep-source-option-linked:hover,
3134
3176
  .gantt-tl-dep-source-option-linked.gantt-tl-dep-source-option-active {
3135
- color: #047857;
3136
- background: rgba(16, 185, 129, 0.14);
3177
+ color: var(--gantt-success-foreground, #047857);
3178
+ background: var(--gantt-success-overlay, rgba(16, 185, 129, 0.14));
3137
3179
  }
3138
3180
  .gantt-tl-dep-source-option-remove {
3139
3181
  display: inline-flex;
@@ -3151,32 +3193,32 @@
3151
3193
  }
3152
3194
  .gantt-tl-dep-source-option-linked:hover .gantt-tl-dep-source-option-remove,
3153
3195
  .gantt-tl-dep-source-option-linked.gantt-tl-dep-source-option-active .gantt-tl-dep-source-option-remove {
3154
- color: #dc2626;
3196
+ color: var(--gantt-danger-foreground, #dc2626);
3155
3197
  }
3156
3198
  .gantt-tl-dep-source-option-remove:hover {
3157
- background: rgba(220, 38, 38, 0.12);
3158
- color: #dc2626;
3199
+ background: var(--gantt-danger-overlay, rgba(220, 38, 38, 0.12));
3200
+ color: var(--gantt-danger-foreground, #dc2626);
3159
3201
  }
3160
3202
  .gantt-tl-dep-delete-label {
3161
3203
  display: inline-flex;
3162
3204
  align-items: center;
3163
3205
  justify-content: center;
3164
3206
  width: 100%;
3165
- background: #059669;
3207
+ background: var(--gantt-success-solid-background, #059669);
3166
3208
  border: none;
3167
3209
  border-radius: 4px;
3168
3210
  padding: 2px 4px;
3169
3211
  font-size: 0.75rem;
3170
3212
  font-family: inherit;
3171
3213
  cursor: pointer;
3172
- color: #fff;
3214
+ color: var(--gantt-solid-foreground, #fff);
3173
3215
  white-space: nowrap;
3174
3216
  overflow: hidden;
3175
3217
  text-overflow: ellipsis;
3176
3218
  text-align: center;
3177
3219
  }
3178
3220
  .gantt-tl-dep-delete-label:hover {
3179
- background: #dc2626;
3221
+ background: var(--gantt-danger-solid-background, #dc2626);
3180
3222
  }
3181
3223
  .gantt-tl-dep-delete-label-default {
3182
3224
  display: inline;
@@ -3184,7 +3226,7 @@
3184
3226
  }
3185
3227
  .gantt-tl-dep-delete-label-hover {
3186
3228
  display: none;
3187
- color: #fff;
3229
+ color: var(--gantt-solid-foreground, #fff);
3188
3230
  font-weight: 600;
3189
3231
  pointer-events: none;
3190
3232
  }
@@ -3201,13 +3243,13 @@
3201
3243
  right: auto;
3202
3244
  min-width: max-content;
3203
3245
  max-width: min(320px, calc(100vw - 32px));
3204
- background-color: #fef2f2;
3205
- border: 1px solid #fca5a5;
3246
+ background-color: var(--gantt-danger-background, #fef2f2);
3247
+ border: 1px solid var(--gantt-danger-foreground, #fca5a5);
3206
3248
  border-radius: 8px;
3207
- box-shadow: 0 10px 24px rgba(127, 29, 29, 0.16);
3249
+ box-shadow: 0 10px 24px var(--gantt-shadow-color, rgba(127, 29, 29, 0.16));
3208
3250
  padding: 6px 10px;
3209
3251
  font-size: 0.75rem;
3210
- color: #dc2626;
3252
+ color: var(--gantt-danger-foreground, #dc2626);
3211
3253
  z-index: 30;
3212
3254
  white-space: normal;
3213
3255
  line-height: 1.35;
@@ -3241,7 +3283,7 @@
3241
3283
  padding: 0;
3242
3284
  }
3243
3285
  .gantt-tl-cell-custom[data-custom-column-active=true] {
3244
- box-shadow: inset 0 0 0 2px #2563eb;
3286
+ box-shadow: inset 0 0 0 2px var(--gantt-focus-color, #2563eb);
3245
3287
  z-index: 1;
3246
3288
  }
3247
3289
  .gantt-tl-cell-custom[data-custom-column-active=true][data-custom-column-editing=true] {
@@ -3280,18 +3322,18 @@
3280
3322
  min-height: 100%;
3281
3323
  border: 1px solid var(--gantt-grid-line-color, #e0e0e0);
3282
3324
  border-radius: 0;
3283
- background: #ffffff;
3325
+ background: var(--gantt-cell-background, #ffffff);
3284
3326
  padding: 0 8px;
3285
3327
  font-size: 0.8125rem;
3286
3328
  line-height: 1;
3287
3329
  font-family: inherit;
3288
- color: #0f172a;
3330
+ color: var(--gantt-text-color, #0f172a);
3289
3331
  box-shadow: none;
3290
3332
  }
3291
3333
  .gantt-tl-inline-editor-input:focus {
3292
3334
  outline: none;
3293
- border-color: #3b82f6;
3294
- box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.18);
3335
+ border-color: var(--gantt-focus-color, #3b82f6);
3336
+ box-shadow: inset 0 0 0 1px var(--gantt-focus-overlay, rgba(59, 130, 246, 0.18));
3295
3337
  }
3296
3338
  .gantt-tl-add-btn:hover {
3297
3339
  background: var(--gantt-hover-bg, rgba(0, 0, 0, 0.04));
@@ -3299,8 +3341,8 @@
3299
3341
  }
3300
3342
  .gantt-tl-add-btn-drag-over {
3301
3343
  position: relative;
3302
- background: rgba(59, 130, 246, 0.08);
3303
- color: #3b82f6;
3344
+ background: var(--gantt-selection-overlay, rgba(59, 130, 246, 0.08));
3345
+ color: var(--gantt-info-foreground, #3b82f6);
3304
3346
  }
3305
3347
  .gantt-tl-add-btn-drag-over::before {
3306
3348
  content: "";
@@ -3309,7 +3351,7 @@
3309
3351
  left: 0;
3310
3352
  right: 0;
3311
3353
  height: 2px;
3312
- background-color: #3b82f6;
3354
+ background-color: var(--gantt-action-solid-background, #3b82f6);
3313
3355
  }
3314
3356
  .gantt-tl-cell-new-name {
3315
3357
  padding: 2px 4px;
@@ -3331,7 +3373,7 @@
3331
3373
  --gantt-resourceTimeline-row-header-width: var(--gantt-resource-row-header-width, 240px);
3332
3374
  --gantt-resourceTimeline-lane-height: var(--gantt-resource-lane-height, 40px);
3333
3375
  --gantt-resourceTimeline-bar-radius: var(--gantt-resource-bar-radius, 4px);
3334
- --gantt-resource-item-duration-chip-bg: rgba(255, 255, 255, 0.22);
3376
+ --gantt-resource-item-duration-chip-bg: var(--gantt-bar-highlight-color, rgba(255, 255, 255, 0.22));
3335
3377
  --gantt-resource-item-title-font-size: 0.75rem;
3336
3378
  --gantt-resource-item-title-font-weight: 700;
3337
3379
  --gantt-resource-item-subtitle-font-size: 0.6875rem;
@@ -3360,7 +3402,7 @@
3360
3402
  border-right: 1px solid var(--gantt-grid-line-color, #e0e0e0);
3361
3403
  }
3362
3404
  .gantt-resourceTimeline-resourceColumnShadowed {
3363
- box-shadow: 10px 0 18px -14px rgba(15, 23, 42, 0.45);
3405
+ box-shadow: 10px 0 18px -14px var(--gantt-shadow-color, rgba(15, 23, 42, 0.45));
3364
3406
  }
3365
3407
  .gantt-resourceTimeline-corner {
3366
3408
  position: sticky;
@@ -3372,7 +3414,7 @@
3372
3414
  background: var(--gantt-cell-background, #ffffff);
3373
3415
  border-bottom: 1px solid var(--gantt-grid-line-color, #e0e0e0);
3374
3416
  box-sizing: border-box;
3375
- color: #6b7280;
3417
+ color: var(--gantt-text-muted-color, #6b7280);
3376
3418
  }
3377
3419
  .gantt-resourceTimeline-resourceHeaderCell {
3378
3420
  display: flex;
@@ -3415,7 +3457,7 @@
3415
3457
  }
3416
3458
  .gantt-resourceTimeline-resourceHeaderCell:hover .gantt-resourceTimeline-columnResizeHandle::before,
3417
3459
  .gantt-resourceTimeline-columnResizeHandle:focus-visible::before {
3418
- background: rgba(59, 130, 246, 0.35);
3460
+ background: var(--gantt-selection-overlay-strong, rgba(59, 130, 246, 0.35));
3419
3461
  }
3420
3462
  .gantt-resourceTimeline-columnResizeHandle:focus-visible {
3421
3463
  outline: none;
@@ -3436,8 +3478,8 @@
3436
3478
  padding: 0 10px;
3437
3479
  box-sizing: border-box;
3438
3480
  border-bottom: 1px solid var(--gantt-grid-line-color, #e0e0e0);
3439
- background: #f7f8fa;
3440
- color: #44546f;
3481
+ background: var(--gantt-header-background, #f7f8fa);
3482
+ color: var(--gantt-text-muted-color, #44546f);
3441
3483
  }
3442
3484
  .gantt-resourceTimeline-resourceGroupToggle {
3443
3485
  display: inline-flex;
@@ -3450,7 +3492,7 @@
3450
3492
  border: 0;
3451
3493
  border-radius: 4px;
3452
3494
  background: transparent;
3453
- color: #5e6c84;
3495
+ color: var(--gantt-text-muted-color, #5e6c84);
3454
3496
  cursor: pointer;
3455
3497
  transition:
3456
3498
  background-color 120ms ease,
@@ -3459,8 +3501,8 @@
3459
3501
  }
3460
3502
  .gantt-resourceTimeline-resourceGroupToggle:hover,
3461
3503
  .gantt-resourceTimeline-resourceGroupToggle:focus-visible {
3462
- background: #ebecf0;
3463
- color: #172b4d;
3504
+ background: var(--gantt-hover-background, #ebecf0);
3505
+ color: var(--gantt-text-color, #172b4d);
3464
3506
  outline: none;
3465
3507
  }
3466
3508
  .gantt-resourceTimeline-resourceGroupToggleCollapsed .gantt-resourceTimeline-resourceGroupChevronIcon {
@@ -3490,8 +3532,8 @@
3490
3532
  height: 18px;
3491
3533
  padding: 0 5px;
3492
3534
  border-radius: 9px;
3493
- background: #dfe1e6;
3494
- color: #42526e;
3535
+ background: var(--gantt-header-background, #dfe1e6);
3536
+ color: var(--gantt-text-muted-color, #42526e);
3495
3537
  font-size: 11px;
3496
3538
  font-weight: 700;
3497
3539
  line-height: 18px;
@@ -3508,7 +3550,7 @@
3508
3550
  border: 0;
3509
3551
  border-radius: 4px;
3510
3552
  background: transparent;
3511
- color: #2563eb;
3553
+ color: var(--gantt-info-foreground, #2563eb);
3512
3554
  cursor: pointer;
3513
3555
  font: inherit;
3514
3556
  font-size: 18px;
@@ -3526,8 +3568,8 @@
3526
3568
  }
3527
3569
  .gantt-resourceTimeline-resourceGroupAddButton:hover,
3528
3570
  .gantt-resourceTimeline-resourceGroupAddButton:focus-visible {
3529
- background: #deebff;
3530
- color: #0747a6;
3571
+ background: var(--gantt-info-background, #deebff);
3572
+ color: var(--gantt-info-foreground, #0747a6);
3531
3573
  outline: none;
3532
3574
  }
3533
3575
  .gantt-resourceTimeline-resourceHeader {
@@ -3538,7 +3580,7 @@
3538
3580
  padding: 6px 0 0;
3539
3581
  box-sizing: border-box;
3540
3582
  border-bottom: 1px solid var(--gantt-grid-line-color, #e0e0e0);
3541
- color: #172b4d;
3583
+ color: var(--gantt-text-color, #172b4d);
3542
3584
  font-size: 14px;
3543
3585
  font-weight: 500;
3544
3586
  background: var(--gantt-cell-background, #ffffff);
@@ -3546,17 +3588,17 @@
3546
3588
  }
3547
3589
  .gantt-resourceTimeline-resourceHeader:hover,
3548
3590
  .gantt-resourceTimeline-resourceHeaderMenuOpen {
3549
- background: #f4f8ff;
3550
- box-shadow: inset 0 0 0 9999px rgba(9, 30, 66, 0.015);
3591
+ background: var(--gantt-hover-background, #f4f8ff);
3592
+ box-shadow: inset 0 0 0 9999px var(--gantt-shadow-color, rgba(9, 30, 66, 0.015));
3551
3593
  }
3552
3594
  .gantt-resourceTimeline-resourceHeaderInactive {
3553
- color: #6b778c;
3595
+ color: var(--gantt-text-muted-color, #6b778c);
3554
3596
  }
3555
3597
  .gantt-resourceTimeline-resourceHeaderInactive .gantt-resourceTimeline-resourceNumber,
3556
3598
  .gantt-resourceTimeline-resourceHeaderInactive .gantt-resourceTimeline-resourceNameButton,
3557
3599
  .gantt-resourceTimeline-resourceHeaderInactive .gantt-resourceTimeline-resourceAssignments,
3558
3600
  .gantt-resourceTimeline-resourceHeaderInactive .gantt-resourceTimeline-resourceScopeChip {
3559
- color: #6b778c;
3601
+ color: var(--gantt-text-muted-color, #6b778c);
3560
3602
  }
3561
3603
  .gantt-resourceTimeline-resourceHeaderInactive .gantt-resourceTimeline-resourceTypeIconButton,
3562
3604
  .gantt-resourceTimeline-resourceHeaderInactive .gantt-resourceTimeline-resourceMenuButton {
@@ -3569,7 +3611,7 @@
3569
3611
  .gantt-resourceTimeline-resourceNumber {
3570
3612
  min-width: 0;
3571
3613
  padding: 1px 6px 0 10px;
3572
- color: #8993a4;
3614
+ color: var(--gantt-text-muted-color, #8993a4);
3573
3615
  font-family:
3574
3616
  ui-monospace,
3575
3617
  SFMono-Regular,
@@ -3607,7 +3649,7 @@
3607
3649
  border: 0;
3608
3650
  border-radius: 0;
3609
3651
  background: transparent;
3610
- color: #172b4d;
3652
+ color: var(--gantt-text-color, #172b4d);
3611
3653
  font: inherit;
3612
3654
  font-size: 13px;
3613
3655
  font-weight: 500;
@@ -3637,7 +3679,7 @@
3637
3679
  outline: none;
3638
3680
  }
3639
3681
  .gantt-resourceTimeline-resourceNameButton:focus-visible {
3640
- box-shadow: 0 0 0 2px rgba(76, 154, 255, 0.22);
3682
+ box-shadow: 0 0 0 2px var(--gantt-focus-overlay, rgba(76, 154, 255, 0.22));
3641
3683
  }
3642
3684
  .gantt-resourceTimeline-resourceNameInput {
3643
3685
  top: 0;
@@ -3650,7 +3692,7 @@
3650
3692
  .gantt-resourceTimeline-resourceStatusMarker {
3651
3693
  display: inline-flex;
3652
3694
  align-items: center;
3653
- color: #5e6c84;
3695
+ color: var(--gantt-text-muted-color, #5e6c84);
3654
3696
  flex: 0 0 auto;
3655
3697
  }
3656
3698
  .gantt-resourceTimeline-resourceStatusIcon {
@@ -3672,19 +3714,19 @@
3672
3714
  margin-top: -1px;
3673
3715
  border: 1px solid transparent;
3674
3716
  border-radius: 4px;
3675
- background: #ffffff;
3676
- color: #6b778c;
3717
+ background: var(--gantt-cell-background, #ffffff);
3718
+ color: var(--gantt-text-muted-color, #6b778c);
3677
3719
  cursor: pointer;
3678
3720
  padding: 0;
3679
3721
  }
3680
3722
  .gantt-resourceTimeline-resourceTypeIconButton:hover:not(:disabled),
3681
3723
  .gantt-resourceTimeline-resourceTypeIconButton:focus-visible {
3682
- background: #ffffff;
3683
- border-color: #4c9aff;
3724
+ background: var(--gantt-cell-background, #ffffff);
3725
+ border-color: var(--gantt-focus-color, #4c9aff);
3684
3726
  outline: none;
3685
3727
  }
3686
3728
  .gantt-resourceTimeline-resourceTypeIconButton:focus-visible {
3687
- box-shadow: 0 0 0 2px rgba(76, 154, 255, 0.22);
3729
+ box-shadow: 0 0 0 2px var(--gantt-focus-overlay, rgba(76, 154, 255, 0.22));
3688
3730
  }
3689
3731
  .gantt-resourceTimeline-resourceTypeIconButton:disabled {
3690
3732
  cursor: default;
@@ -3707,16 +3749,16 @@
3707
3749
  opacity: 0.72;
3708
3750
  }
3709
3751
  .gantt-resourceTimeline-resourceTypeIconPeople {
3710
- color: #0052cc;
3752
+ color: var(--gantt-info-foreground, #0052cc);
3711
3753
  }
3712
3754
  .gantt-resourceTimeline-resourceTypeIconEquipment {
3713
- color: #172b4d;
3755
+ color: var(--gantt-text-color, #172b4d);
3714
3756
  }
3715
3757
  .gantt-resourceTimeline-resourceTypeIconMaterials {
3716
- color: #de350b;
3758
+ color: var(--gantt-danger-foreground, #de350b);
3717
3759
  }
3718
3760
  .gantt-resourceTimeline-resourceTypeIconOther {
3719
- color: #6b778c;
3761
+ color: var(--gantt-text-muted-color, #6b778c);
3720
3762
  }
3721
3763
  .gantt-resourceTimeline-resourceScopeChip span,
3722
3764
  .gantt-resourceTimeline-resourceAssignments span {
@@ -3739,13 +3781,13 @@
3739
3781
  font-family: inherit;
3740
3782
  }
3741
3783
  .gantt-resourceTimeline-resourceScopeChip:hover:not(:disabled) {
3742
- background-color: #ffffff;
3743
- border-color: #dfe1e6;
3784
+ background-color: var(--gantt-cell-background, #ffffff);
3785
+ border-color: var(--gantt-grid-line-color, #dfe1e6);
3744
3786
  }
3745
3787
  .gantt-resourceTimeline-resourceScopeChip:focus-visible {
3746
- background: #ffffff;
3747
- border-color: #4c9aff;
3748
- box-shadow: 0 0 0 2px rgba(76, 154, 255, 0.22);
3788
+ background: var(--gantt-cell-background, #ffffff);
3789
+ border-color: var(--gantt-focus-color, #4c9aff);
3790
+ box-shadow: 0 0 0 2px var(--gantt-focus-overlay, rgba(76, 154, 255, 0.22));
3749
3791
  outline: none;
3750
3792
  }
3751
3793
  .gantt-resourceTimeline-resourceScopeChip:disabled {
@@ -3766,12 +3808,12 @@
3766
3808
  white-space: nowrap;
3767
3809
  }
3768
3810
  .gantt-resourceTimeline-resourceScopeShared {
3769
- background: #deebff;
3770
- color: #0747a6;
3811
+ background: var(--gantt-info-background, #deebff);
3812
+ color: var(--gantt-info-foreground, #0747a6);
3771
3813
  }
3772
3814
  .gantt-resourceTimeline-resourceScopeProject {
3773
- background: #e3fcef;
3774
- color: #006644;
3815
+ background: var(--gantt-success-background, #e3fcef);
3816
+ color: var(--gantt-success-foreground, #006644);
3775
3817
  }
3776
3818
  .gantt-resourceTimeline-resourceAssignments {
3777
3819
  display: flex;
@@ -3786,7 +3828,7 @@
3786
3828
  min-height: 34px;
3787
3829
  margin: 0 6px;
3788
3830
  overflow: hidden;
3789
- color: #5e6c84;
3831
+ color: var(--gantt-text-muted-color, #5e6c84);
3790
3832
  padding: 0;
3791
3833
  font-size: 11px;
3792
3834
  line-height: 1.3;
@@ -3799,7 +3841,7 @@
3799
3841
  align-items: center;
3800
3842
  column-gap: 4px;
3801
3843
  width: 100%;
3802
- color: #97a0af;
3844
+ color: var(--gantt-text-muted-color, #97a0af);
3803
3845
  font-size: 11px;
3804
3846
  font-weight: 500;
3805
3847
  }
@@ -3816,7 +3858,7 @@
3816
3858
  align-items: center;
3817
3859
  column-gap: 4px;
3818
3860
  width: 100%;
3819
- color: #172b4d;
3861
+ color: var(--gantt-text-color, #172b4d);
3820
3862
  font-size: 12px;
3821
3863
  font-weight: 700;
3822
3864
  margin-bottom: 1px;
@@ -3847,7 +3889,7 @@
3847
3889
  border: 0;
3848
3890
  border-radius: 4px;
3849
3891
  background: transparent;
3850
- color: #172b4d;
3892
+ color: var(--gantt-text-color, #172b4d);
3851
3893
  cursor: pointer;
3852
3894
  font: inherit;
3853
3895
  font-size: 12px;
@@ -3857,8 +3899,8 @@
3857
3899
  }
3858
3900
  .gantt-resourceTimeline-resourceOption:hover,
3859
3901
  .gantt-resourceTimeline-resourceOptionActive {
3860
- background: #deebff;
3861
- color: #0747a6;
3902
+ background: var(--gantt-info-background, #deebff);
3903
+ color: var(--gantt-info-foreground, #0747a6);
3862
3904
  }
3863
3905
  .gantt-resourceTimeline-resourceOptionIcon {
3864
3906
  display: inline-flex;
@@ -3893,8 +3935,8 @@
3893
3935
  padding: 0 5px;
3894
3936
  border: 0;
3895
3937
  border-radius: 3px;
3896
- background: #de350b;
3897
- color: #ffffff;
3938
+ background: var(--gantt-danger-solid-background, #de350b);
3939
+ color: var(--gantt-solid-foreground, #ffffff);
3898
3940
  cursor: pointer;
3899
3941
  font-size: 0.6875rem;
3900
3942
  font-weight: 700;
@@ -3903,12 +3945,12 @@
3903
3945
  }
3904
3946
  .gantt-resourceTimeline-conflictBadge:hover,
3905
3947
  .gantt-resourceTimeline-conflictBadge:focus-visible {
3906
- background: #bf2600;
3907
- color: #ffffff;
3948
+ background: var(--gantt-danger-solid-background, #bf2600);
3949
+ color: var(--gantt-solid-foreground, #ffffff);
3908
3950
  outline: none;
3909
3951
  }
3910
3952
  .gantt-resourceTimeline-conflictBadge:focus-visible {
3911
- box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.25);
3953
+ box-shadow: 0 0 0 2px var(--gantt-danger-overlay, rgba(239, 68, 68, 0.25));
3912
3954
  }
3913
3955
  .gantt-resourceTimeline-resourceMenuButton {
3914
3956
  display: inline-flex;
@@ -3920,7 +3962,7 @@
3920
3962
  border: 0;
3921
3963
  border-radius: 4px;
3922
3964
  background: transparent;
3923
- color: #6b7280;
3965
+ color: var(--gantt-text-muted-color, #6b7280);
3924
3966
  cursor: pointer;
3925
3967
  font: inherit;
3926
3968
  font-size: 18px;
@@ -3938,8 +3980,8 @@
3938
3980
  }
3939
3981
  .gantt-resourceTimeline-resourceMenuButton:hover,
3940
3982
  .gantt-resourceTimeline-resourceMenuButton:focus-visible {
3941
- background: #e5e7eb;
3942
- color: #374151;
3983
+ background: var(--gantt-hover-background, #e5e7eb);
3984
+ color: var(--gantt-text-color, #374151);
3943
3985
  outline: none;
3944
3986
  }
3945
3987
  .gantt-resourceTimeline-resourceMenu {
@@ -3958,7 +4000,7 @@
3958
4000
  border: 0;
3959
4001
  border-radius: 4px;
3960
4002
  background: transparent;
3961
- color: #374151;
4003
+ color: var(--gantt-text-color, #374151);
3962
4004
  cursor: pointer;
3963
4005
  font: inherit;
3964
4006
  font-size: 0.8rem;
@@ -3967,7 +4009,7 @@
3967
4009
  }
3968
4010
  .gantt-resourceTimeline-resourceMenuItem:hover:not(:disabled),
3969
4011
  .gantt-resourceTimeline-resourceMenuItem:focus-visible:not(:disabled) {
3970
- background-color: rgba(0, 0, 0, 0.05);
4012
+ background-color: var(--gantt-hover-background, rgba(0, 0, 0, 0.05));
3971
4013
  outline: none;
3972
4014
  }
3973
4015
  .gantt-resourceTimeline-resourceMenuItem:disabled {
@@ -3975,12 +4017,12 @@
3975
4017
  opacity: 0.45;
3976
4018
  }
3977
4019
  .gantt-resourceTimeline-resourceMenuItemDanger {
3978
- color: #ef4444;
4020
+ color: var(--gantt-danger-foreground, #ef4444);
3979
4021
  }
3980
4022
  .gantt-resourceTimeline-resourceMenuItemDanger:hover:not(:disabled),
3981
4023
  .gantt-resourceTimeline-resourceMenuItemDanger:focus-visible:not(:disabled) {
3982
- background-color: rgba(239, 68, 68, 0.08);
3983
- color: #dc2626;
4024
+ background-color: var(--gantt-danger-overlay, rgba(239, 68, 68, 0.08));
4025
+ color: var(--gantt-danger-foreground, #dc2626);
3984
4026
  }
3985
4027
  .gantt-resourceTimeline-resourceInput {
3986
4028
  grid-column: 2 / span 2;
@@ -3995,7 +4037,7 @@
3995
4037
  border: 0;
3996
4038
  border-bottom: 1px solid var(--gantt-grid-line-color, #e0e0e0);
3997
4039
  background: var(--gantt-cell-background, #ffffff);
3998
- color: #2563eb;
4040
+ color: var(--gantt-info-foreground, #2563eb);
3999
4041
  cursor: pointer;
4000
4042
  font: inherit;
4001
4043
  font-size: 14px;
@@ -4004,8 +4046,8 @@
4004
4046
  }
4005
4047
  .gantt-resourceTimeline-addResourceButton:hover,
4006
4048
  .gantt-resourceTimeline-addResourceButton:focus-visible {
4007
- background: #f8fafc;
4008
- color: #1d4ed8;
4049
+ background: var(--gantt-hover-background, #f8fafc);
4050
+ color: var(--gantt-info-foreground, #1d4ed8);
4009
4051
  outline: none;
4010
4052
  }
4011
4053
  .gantt-resourceTimeline-chartSurface {
@@ -4036,7 +4078,7 @@
4036
4078
  pointer-events: none;
4037
4079
  }
4038
4080
  .gantt-resourceTimeline-groupRow {
4039
- background: #f7f8fa;
4081
+ background: var(--gantt-header-background, #f7f8fa);
4040
4082
  }
4041
4083
  .gantt-resourceTimeline-item {
4042
4084
  position: absolute;
@@ -4060,8 +4102,8 @@
4060
4102
  gap: 3px;
4061
4103
  padding: 7px 9px;
4062
4104
  border-radius: 6px;
4063
- background: rgba(15, 23, 42, 0.96);
4064
- color: #ffffff;
4105
+ background: var(--gantt-tooltip-background, #111111);
4106
+ color: var(--gantt-tooltip-foreground, #ffffff);
4065
4107
  font-size: 12px;
4066
4108
  font-weight: 600;
4067
4109
  line-height: 1.25;
@@ -4091,7 +4133,7 @@
4091
4133
  }
4092
4134
  .gantt-resourceTimeline-itemTooltipLineSecondary {
4093
4135
  gap: 5px;
4094
- color: rgba(255, 255, 255, 0.78);
4136
+ color: var(--gantt-tooltip-muted-foreground, #bdbdbd);
4095
4137
  font-size: 11px;
4096
4138
  font-weight: 500;
4097
4139
  }
@@ -4118,7 +4160,7 @@
4118
4160
  }
4119
4161
  .gantt-resourceTimeline-itemActive {
4120
4162
  z-index: 31;
4121
- box-shadow: 0px 0 0px 2px rgb(0 0 0);
4163
+ box-shadow: 0px 0 0px 2px var(--gantt-shadow-color, rgb(0 0 0));
4122
4164
  }
4123
4165
  .gantt-resourceTimeline-itemMenuButton {
4124
4166
  position: absolute;
@@ -4133,7 +4175,7 @@
4133
4175
  padding: 0;
4134
4176
  border: 0;
4135
4177
  border-radius: 4px;
4136
- background: rgba(255, 255, 255, 0.22);
4178
+ background: var(--gantt-bar-highlight-color, rgba(255, 255, 255, 0.22));
4137
4179
  color: inherit;
4138
4180
  cursor: pointer;
4139
4181
  font: inherit;
@@ -4155,7 +4197,7 @@
4155
4197
  }
4156
4198
  .gantt-resourceTimeline-itemMenuButton:hover,
4157
4199
  .gantt-resourceTimeline-itemMenuButton:focus-visible {
4158
- background: rgba(255, 255, 255, 0.34);
4200
+ background: var(--gantt-bar-highlight-color, rgba(255, 255, 255, 0.34));
4159
4201
  outline: none;
4160
4202
  }
4161
4203
  .gantt-resourceTimeline-weekendOverlay {
@@ -4168,8 +4210,8 @@
4168
4210
  background-image:
4169
4211
  repeating-linear-gradient(
4170
4212
  135deg,
4171
- rgba(255, 255, 255, 0.26) 0,
4172
- rgba(255, 255, 255, 0.26) 2px,
4213
+ var(--gantt-bar-highlight-color, rgba(255, 255, 255, 0.26)) 0,
4214
+ var(--gantt-bar-highlight-color, rgba(255, 255, 255, 0.26)) 2px,
4173
4215
  transparent 2px,
4174
4216
  transparent 5px);
4175
4217
  mix-blend-mode: screen;
@@ -4181,7 +4223,7 @@
4181
4223
  z-index: 0;
4182
4224
  pointer-events: none;
4183
4225
  border-radius: inherit;
4184
- background-color: rgba(239, 68, 68, 1);
4226
+ background-color: var(--gantt-danger-solid-background, rgba(239, 68, 68, 1));
4185
4227
  }
4186
4228
  .gantt-resourceTimeline-resizeHandle {
4187
4229
  position: absolute;
@@ -4204,11 +4246,11 @@
4204
4246
  z-index: 5;
4205
4247
  cursor: grabbing;
4206
4248
  opacity: 0.85;
4207
- box-shadow: 0 4px 12px rgba(31, 41, 55, 0.2);
4249
+ box-shadow: 0 4px 12px var(--gantt-shadow-color, rgba(31, 41, 55, 0.2));
4208
4250
  }
4209
4251
  .gantt-resourceTimeline-itemConflictActive {
4210
4252
  z-index: 31;
4211
- box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.85), 0 4px 12px rgba(31, 41, 55, 0.2);
4253
+ box-shadow: 0 0 0 2px var(--gantt-danger-overlay, rgba(239, 68, 68, 0.85)), 0 4px 12px var(--gantt-shadow-color, rgba(31, 41, 55, 0.2));
4212
4254
  }
4213
4255
  .gantt-resourceTimeline-itemDisabled {
4214
4256
  cursor: default;
@@ -4341,7 +4383,7 @@
4341
4383
  font-size: 12px;
4342
4384
  font-weight: 700;
4343
4385
  line-height: 1;
4344
- color: #475569;
4386
+ color: var(--gantt-text-muted-color, #475569);
4345
4387
  text-transform: uppercase;
4346
4388
  letter-spacing: 0.04em;
4347
4389
  background: var(--gantt-cell-background, #ffffff);
@@ -4357,7 +4399,7 @@
4357
4399
  font-size: 12px;
4358
4400
  font-weight: 600;
4359
4401
  line-height: 1;
4360
- color: #64748b;
4402
+ color: var(--gantt-text-muted-color, #64748b);
4361
4403
  background: var(--gantt-cell-background, #ffffff);
4362
4404
  }
4363
4405
  .gantt-mx-row {
@@ -4377,18 +4419,18 @@
4377
4419
  font-weight: 700;
4378
4420
  }
4379
4421
  .gantt-mx-row.gantt-mx-row-highlighted {
4380
- background-color: rgba(250, 204, 21, 0.24);
4422
+ background-color: var(--gantt-warning-overlay, rgba(250, 204, 21, 0.24));
4381
4423
  }
4382
4424
  .gantt-mx-row.gantt-mx-row-hovered {
4383
4425
  box-shadow: inset 0 0 0 9999px var(--gantt-row-hover-background, rgba(59, 130, 246, 0.04));
4384
4426
  }
4385
4427
  .gantt-mx-row.gantt-mx-row-highlighted.gantt-mx-row-hovered {
4386
- box-shadow: inset 0 0 0 9999px rgba(250, 204, 21, 0.3);
4428
+ box-shadow: inset 0 0 0 9999px var(--gantt-warning-overlay, rgba(250, 204, 21, 0.3));
4387
4429
  }
4388
4430
  .gantt-mx-cell {
4389
4431
  position: relative;
4390
4432
  font-size: 13px;
4391
- color: #111827;
4433
+ color: var(--gantt-text-color, #111827);
4392
4434
  background: inherit;
4393
4435
  }
4394
4436
  .gantt-mx-dateOverlay {
@@ -4430,7 +4472,7 @@
4430
4472
  cursor: pointer;
4431
4473
  }
4432
4474
  .gantt-mx-cell-clickable:hover {
4433
- box-shadow: inset 0 0 0 9999px rgba(15, 23, 42, 0.06);
4475
+ box-shadow: inset 0 0 0 9999px var(--gantt-shadow-color, rgba(15, 23, 42, 0.06));
4434
4476
  }
4435
4477
  .gantt-mx-cellAlign-left {
4436
4478
  justify-content: flex-start;
@@ -4451,7 +4493,7 @@
4451
4493
  background: var(--gantt-cell-background, #ffffff);
4452
4494
  --gantt-pf-day-width: 40px;
4453
4495
  --gantt-pf-day-line-width: 0.5px;
4454
- --gantt-pf-day-line-color: rgb(226, 226, 226);
4496
+ --gantt-pf-day-line-color: var(--gantt-plan-fact-day-line-color, rgb(226, 226, 226));
4455
4497
  --gantt-pf-row-line-width: 0.5px;
4456
4498
  --gantt-pf-row-line-color: var(--gantt-plan-fact-row-line-color, rgb(146, 153, 160));
4457
4499
  }
@@ -4516,13 +4558,13 @@
4516
4558
  box-shadow: none;
4517
4559
  }
4518
4560
  .gantt-pf-row-highlighted {
4519
- background-color: rgba(250, 204, 21, 0.24);
4561
+ background-color: var(--gantt-warning-overlay, rgba(250, 204, 21, 0.24));
4520
4562
  }
4521
4563
  .gantt-pf-row.gantt-pf-row-hovered {
4522
4564
  box-shadow: inset 0 calc(-1 * var(--gantt-pf-row-line-width)) 0 var(--gantt-pf-row-line-color), inset 0 0 0 9999px var(--gantt-row-hover-background, rgba(59, 130, 246, 0.04));
4523
4565
  }
4524
4566
  .gantt-pf-row-highlighted.gantt-pf-row-hovered {
4525
- box-shadow: inset 0 calc(-1 * var(--gantt-pf-row-line-width)) 0 var(--gantt-pf-row-line-color), inset 0 0 0 9999px rgba(250, 204, 21, 0.3);
4567
+ box-shadow: inset 0 calc(-1 * var(--gantt-pf-row-line-width)) 0 var(--gantt-pf-row-line-color), inset 0 0 0 9999px var(--gantt-warning-overlay, rgba(250, 204, 21, 0.3));
4526
4568
  }
4527
4569
  .gantt-pf-monthSeparatorLayer {
4528
4570
  position: absolute;
@@ -4544,7 +4586,7 @@
4544
4586
  min-width: 0;
4545
4587
  padding: 0 clamp(2px, calc(var(--gantt-pf-day-width) * 0.1), 4px);
4546
4588
  box-sizing: border-box;
4547
- color: #0f172a;
4589
+ color: var(--gantt-text-color, #0f172a);
4548
4590
  font-size: clamp(10px, calc(var(--gantt-pf-day-width) * 0.3), 12px);
4549
4591
  line-height: 1;
4550
4592
  font-variant-numeric: tabular-nums;
@@ -4570,19 +4612,19 @@
4570
4612
  }
4571
4613
  .gantt-pf-cell-fact.gantt-pf-cell-hasValue {
4572
4614
  background: var(--gantt-plan-fact-fact-fill, rgb(33 196 33 / 25%));
4573
- color: #15803d;
4615
+ color: var(--gantt-success-foreground, #15803d);
4574
4616
  }
4575
4617
  .gantt-pf-cell-fact.gantt-pf-cell-factWarning,
4576
4618
  .gantt-pf-cell-factWarning {
4577
- background: rgb(244 113 143 / 30%);
4578
- color: #dc2626;
4619
+ background: var(--gantt-danger-background, rgb(244 113 143 / 30%));
4620
+ color: var(--gantt-danger-foreground, #dc2626);
4579
4621
  }
4580
4622
  .gantt-pf-cell-active {
4581
4623
  z-index: 1;
4582
4624
  box-shadow: none;
4583
4625
  }
4584
4626
  .gantt-pf-cell-selected {
4585
- box-shadow: inset 0 0 0 9999px rgba(37, 99, 235, 0.12);
4627
+ box-shadow: inset 0 0 0 9999px var(--gantt-selection-background, rgba(37, 99, 235, 0.12));
4586
4628
  }
4587
4629
  .gantt-pf-cell-selected.gantt-pf-cell-rangeAnchor {
4588
4630
  box-shadow: none;
@@ -4591,7 +4633,7 @@
4591
4633
  position: absolute;
4592
4634
  inset: 0;
4593
4635
  z-index: 1;
4594
- border: 1px solid #2563eb;
4636
+ border: 1px solid var(--gantt-selection-foreground, #2563eb);
4595
4637
  box-sizing: border-box;
4596
4638
  content: "";
4597
4639
  pointer-events: none;
@@ -4607,13 +4649,13 @@
4607
4649
  cursor: cell;
4608
4650
  }
4609
4651
  .gantt-pf-cell:not(.gantt-pf-cell-readonly):hover {
4610
- box-shadow: inset 0 0 0 9999px rgba(15, 23, 42, 0.06);
4652
+ box-shadow: inset 0 0 0 9999px var(--gantt-shadow-color, rgba(15, 23, 42, 0.06));
4611
4653
  }
4612
4654
  .gantt-pf-cell-selected:not(.gantt-pf-cell-active):hover {
4613
- box-shadow: inset 0 0 0 9999px rgba(37, 99, 235, 0.16);
4655
+ box-shadow: inset 0 0 0 9999px var(--gantt-selection-background, rgba(37, 99, 235, 0.16));
4614
4656
  }
4615
4657
  .gantt-pf-cell-selected.gantt-pf-cell-active:hover {
4616
- box-shadow: inset 0 0 0 9999px rgba(37, 99, 235, 0.12);
4658
+ box-shadow: inset 0 0 0 9999px var(--gantt-selection-background, rgba(37, 99, 235, 0.12));
4617
4659
  }
4618
4660
  .gantt-pf-cell-selected.gantt-pf-cell-rangeAnchor:hover,
4619
4661
  .gantt-pf-cell-selected.gantt-pf-cell-rangeAnchor.gantt-pf-cell-active:hover {
@@ -4623,7 +4665,7 @@
4623
4665
  box-shadow: none;
4624
4666
  }
4625
4667
  .gantt-pf-cell-active:not(.gantt-pf-cell-selected):hover::after {
4626
- border-color: #1d4ed8;
4668
+ border-color: var(--gantt-focus-color, #1d4ed8);
4627
4669
  }
4628
4670
  .gantt-pf-cell-rangeLeft::before,
4629
4671
  .gantt-pf-cell-rangeRight::before,
@@ -4637,24 +4679,24 @@
4637
4679
  pointer-events: none;
4638
4680
  }
4639
4681
  .gantt-pf-cell-rangeLeft::before {
4640
- border-left: 1px solid #2563eb;
4682
+ border-left: 1px solid var(--gantt-selection-foreground, #2563eb);
4641
4683
  }
4642
4684
  .gantt-pf-cell-rangeRight::before {
4643
- border-right: 1px solid #2563eb;
4685
+ border-right: 1px solid var(--gantt-selection-foreground, #2563eb);
4644
4686
  }
4645
4687
  .gantt-pf-cell-rangeTop::before {
4646
- border-top: 1px solid #2563eb;
4688
+ border-top: 1px solid var(--gantt-selection-foreground, #2563eb);
4647
4689
  }
4648
4690
  .gantt-pf-cell-rangeBottom::before {
4649
- border-bottom: 1px solid #2563eb;
4691
+ border-bottom: 1px solid var(--gantt-selection-foreground, #2563eb);
4650
4692
  }
4651
4693
  .gantt-pf-cell-rangeLeft.gantt-pf-cell-rangeRight::before {
4652
- border-left: 1px solid #2563eb;
4653
- border-right: 1px solid #2563eb;
4694
+ border-left: 1px solid var(--gantt-selection-foreground, #2563eb);
4695
+ border-right: 1px solid var(--gantt-selection-foreground, #2563eb);
4654
4696
  }
4655
4697
  .gantt-pf-cell-rangeTop.gantt-pf-cell-rangeBottom::before {
4656
- border-top: 1px solid #2563eb;
4657
- border-bottom: 1px solid #2563eb;
4698
+ border-top: 1px solid var(--gantt-selection-foreground, #2563eb);
4699
+ border-bottom: 1px solid var(--gantt-selection-foreground, #2563eb);
4658
4700
  }
4659
4701
  .gantt-pf-fillHandle {
4660
4702
  position: absolute;
@@ -4663,9 +4705,9 @@
4663
4705
  z-index: 3;
4664
4706
  width: 7px;
4665
4707
  height: 7px;
4666
- border: 1px solid #ffffff;
4708
+ border: 1px solid var(--gantt-control-border-color, #ffffff);
4667
4709
  box-sizing: border-box;
4668
- background: #2563eb;
4710
+ background: var(--gantt-action-solid-background, #2563eb);
4669
4711
  cursor: crosshair;
4670
4712
  }
4671
4713
  .gantt-pf-cell-editing:hover {
@@ -4686,9 +4728,9 @@
4686
4728
  border: 1px solid var(--gantt-grid-line-color, #e0e0e0);
4687
4729
  border-radius: 0;
4688
4730
  box-sizing: border-box;
4689
- background: #ffffff;
4731
+ background: var(--gantt-control-background, #ffffff);
4690
4732
  padding: 0 clamp(2px, calc(var(--gantt-pf-day-width) * 0.1), 4px);
4691
- color: #0f172a;
4733
+ color: var(--gantt-text-color, #0f172a);
4692
4734
  font: inherit;
4693
4735
  font-variant-numeric: tabular-nums;
4694
4736
  line-height: 1;
@@ -4697,8 +4739,8 @@
4697
4739
  }
4698
4740
  .gantt-pf-editor:focus {
4699
4741
  outline: none;
4700
- border-color: #3b82f6;
4701
- box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.18);
4742
+ border-color: var(--gantt-focus-color, #3b82f6);
4743
+ box-shadow: inset 0 0 0 1px var(--gantt-focus-overlay, rgba(59, 130, 246, 0.18));
4702
4744
  }
4703
4745
  .gantt-pf-overflowTooltip {
4704
4746
  position: absolute;
@@ -4707,11 +4749,11 @@
4707
4749
  pointer-events: none;
4708
4750
  max-width: 160px;
4709
4751
  padding: 4px 8px;
4710
- border: 1px solid rgba(148, 163, 184, 0.35);
4752
+ border: 1px solid var(--gantt-control-border-color, rgba(148, 163, 184, 0.35));
4711
4753
  border-radius: 4px;
4712
- background: #ffffff;
4713
- box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14);
4714
- color: #0f172a;
4754
+ background: var(--gantt-cell-background, #ffffff);
4755
+ box-shadow: 0 8px 24px var(--gantt-shadow-color, rgba(15, 23, 42, 0.14));
4756
+ color: var(--gantt-text-color, #0f172a);
4715
4757
  font-size: 12px;
4716
4758
  font-weight: 500;
4717
4759
  line-height: 1.2;
@@ -4776,12 +4818,12 @@
4776
4818
  max-width: min(360px, calc(100vw - 32px));
4777
4819
  padding: 5px 10px;
4778
4820
  border-radius: 6px 6px 6px 0;
4779
- color: #ffffff;
4821
+ color: var(--gantt-solid-foreground, #ffffff);
4780
4822
  font-size: 0.6875rem;
4781
4823
  line-height: 1.2;
4782
4824
  white-space: normal;
4783
4825
  overflow-wrap: anywhere;
4784
- box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18);
4826
+ box-shadow: 0 6px 18px var(--gantt-shadow-color, rgba(15, 23, 42, 0.18));
4785
4827
  }
4786
4828
  .gantt-timelineTooltip::after {
4787
4829
  content: "";
@@ -4809,9 +4851,9 @@
4809
4851
  margin: 12px auto 0;
4810
4852
  padding: 8px 12px;
4811
4853
  border-radius: 8px;
4812
- color: #991b1b;
4813
- background: #fef2f2;
4814
- box-shadow: 0 6px 18px rgba(127, 29, 29, .14);
4854
+ color: var(--gantt-danger-foreground, #991b1b);
4855
+ background: var(--gantt-danger-background, #fef2f2);
4856
+ box-shadow: 0 6px 18px var(--gantt-shadow-color, rgba(127, 29, 29, .14));
4815
4857
  font-size: .8rem;
4816
4858
  font-weight: 650;
4817
4859
  pointer-events: none;
@@ -4826,7 +4868,7 @@
4826
4868
  padding: 3px 4px 3px 8px;
4827
4869
  border-radius: 7px;
4828
4870
  background: var(--gantt-popover-bg, #fff);
4829
- box-shadow: 0 5px 16px rgba(15, 23, 42, .18), 0 0 0 1px rgba(148, 163, 184, .2);
4871
+ box-shadow: 0 5px 16px var(--gantt-shadow-color, rgba(15, 23, 42, .18)), 0 0 0 1px var(--gantt-neutral-overlay, rgba(148, 163, 184, .2));
4830
4872
  transform: translateY(-50%);
4831
4873
  pointer-events: auto;
4832
4874
  }
@@ -4844,8 +4886,8 @@
4844
4886
  padding: 0;
4845
4887
  border: 0;
4846
4888
  border-radius: 5px;
4847
- color: #991b1b;
4848
- background: #fef2f2;
4889
+ color: var(--gantt-danger-foreground, #991b1b);
4890
+ background: var(--gantt-danger-background, #fef2f2);
4849
4891
  cursor: pointer;
4850
4892
  line-height: 1;
4851
4893
  transition:
@@ -4862,7 +4904,7 @@
4862
4904
  padding: 0;
4863
4905
  border: 0;
4864
4906
  border-radius: 5px;
4865
- color: #64748b;
4907
+ color: var(--gantt-text-muted-color, #64748b);
4866
4908
  background: transparent;
4867
4909
  cursor: pointer;
4868
4910
  font-size: 15px;
@@ -4874,14 +4916,14 @@
4874
4916
  }
4875
4917
  .gantt-dependencyLineMenuDelete:hover,
4876
4918
  .gantt-dependencyLineMenuDelete:focus-visible {
4877
- color: #fff;
4878
- background: #dc2626;
4919
+ color: var(--gantt-solid-foreground, #fff);
4920
+ background: var(--gantt-danger-solid-background, #dc2626);
4879
4921
  outline: none;
4880
4922
  }
4881
4923
  .gantt-dependencyLineMenuClose:hover,
4882
4924
  .gantt-dependencyLineMenuClose:focus-visible {
4883
- color: #0f172a;
4884
- background: rgba(148, 163, 184, .25);
4925
+ color: var(--gantt-text-color, #0f172a);
4926
+ background: var(--gantt-neutral-overlay, rgba(148, 163, 184, .25));
4885
4927
  outline: none;
4886
4928
  }
4887
4929
  .gantt-dependencyLineMenuDelete:active,