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