Hi, I want to customize the style of your Gantt chart, but I’m running into some issues.
I can change colors for summary and task types and other variables shown in your documentation, but I’m having trouble changing the main background for both light and dark themes. I also tried to change color for div .gantt but still don't working
These are your variables for the dark theme (and the same for the light theme), but I don’t see how to change the main background of the Gantt chart.
Could you please explain how I can do this?
Thanks!
.wx-willow-dark-theme {
color-scheme: dark;
--wx-gantt-border: var(--wx-border);
--wx-gantt-form-header-border: none;
--wx-gantt-icon-color: #9fa1ae;
/* bars */
--wx-gantt-bar-font: "Euclid", sans-serif !important;
--wx-gantt-bar-border-radius: 3px;
--wx-gantt-milestone-border-radius: 3px;
--wx-gantt-task-color: #37a9ef;
--wx-gantt-task-font-color: #ffffffe5;
--wx-gantt-task-fill-color: #098cdc;
--wx-gantt-task-border-color: #098cdc;
--wx-gantt-task-border: 1px solid transparent;
--wx-gantt-project-color: #00ba94;
--wx-gantt-project-font-color: #ffffffe5;
--wx-gantt-project-fill-color: #099f81;
--wx-gantt-project-border-color: #099f81;
--wx-gantt-project-border: 1px solid transparent;
--wx-gantt-progress-marker-height: 26px;
--wx-gantt-progress-border-color: #4b5359;
/* temp*/
--wx-gantt-bar-shadow: 0px 1px 2px rgba(44, 47, 60, 0.06), 0px 3px 10px rgba(44, 47, 60, 0.12);
--wx-gantt-milestone-color: #ad44ab;
--wx-gantt-select-color: #384047;
--wx-gantt-link-color: #9fa1ae;
--wx-gantt-link-marker-background: #384047;
--wx-gantt-link-marker-color: #9fa1ae;
/* grid */
--wx-grid-header-font: var(--wx-font-weight-md) var(--wx-font-size) var(--wx-font-family);
--wx-grid-header-font-color: var(--wx-color-font);
--wx-grid-header-text-transform: capitalize;
--wx-grid-header-shadow: none;
--wx-grid-body-font: var(--wx-font-weight) var(--wx-font-size) var(--wx-font-family);
--wx-grid-body-font-color: var(--wx-color-font);
--wx-grid-body-row-border: var(--wx-border);
--wx-grid-body-cell-border: 1px solid transparent;
/* timescale */
--wx-timescale-font: var(--wx-font-weight-md) var(--wx-font-size-sm) var(--wx-font-family);
--wx-timescale-font-color: var(--wx-color-font);
--wx-timescale-text-transform: uppercase;
--wx-timescale-shadow: none;
--wx-timescale-border: var(--wx-border);
/* grid and timescale */
--wx-gantt-holiday-background: #303539;
--wx-gantt-holiday-color: #878994;
/* markers */
--wx-gantt-marker-font: var(--wx-font-weight-md) var(--wx-font-size-sm) var(--wx-font-family);
--wx-gantt-marker-font-color: #fff;
--wx-gantt-marker-color: rgba(6, 189, 248, 0.77);
/* tooltips */
--wx-tooltip-font: var(--wx-font-weight) var(--wx-font-size) var(--wx-font-family);
--wx-tooltip-font-color: #e6e6e6;
--wx-tooltip-background: #4f525a;
/* sidebar */
--wx-sidebar-close-icon: #384047;
}