Skip to content

Commit

Permalink
Reduction contrast of grid lines
Browse files Browse the repository at this point in the history
 change the color of lineColor with #35373B for horizontal grid lines , #2B2E31 for vertical grid lines and background with #232323

Fixes eclipse-cdt-cloud#441

Signed-off-by: Ibrahim Fradj <ibrahim.fradj@ericsson.com>
  • Loading branch information
IbrahimFradj committed Aug 23, 2021
1 parent cb7d812 commit b73e833
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export class TimegraphOutputComponent extends AbstractTreeOutputComponent<Timegr
rowStyleProvider: (row: TimelineChart.TimeGraphRowModel) => ({
backgroundColor: 0x979797,// 0xaaaaff,
backgroundOpacity: row.selected ? 0.1 : 0,
lineColor: 0xdddddd, // hasStates ? 0xdddddd : 0xaa4444, // row.data && row.data.hasStates
lineColor: 0x35373B , // hasStates ? 0xdddddd : 0xaa4444, // row.data && row.data.hasStates
lineThickness: 1, // hasStates ? 1 : 3 // row.data && row.data.hasStates
})
};
Expand Down Expand Up @@ -328,7 +328,7 @@ export class TimegraphOutputComponent extends AbstractTreeOutputComponent<Timegr
}

private getChartContainer() {
const grid = new TimeGraphChartGrid('timeGraphGrid', this.props.style.rowHeight, this.props.style.lineColor);
const grid = new TimeGraphChartGrid('timeGraphGrid', this.props.style.rowHeight, 0x2B2E31);
const selectionRange = new TimeGraphChartSelectionRange('chart-selection-range', { color: this.props.style.cursorColor });
return <ReactTimeGraphContainer
options={
Expand All @@ -337,7 +337,7 @@ export class TimegraphOutputComponent extends AbstractTreeOutputComponent<Timegr
height: parseInt(this.props.style.height.toString()),
width: this.props.style.chartWidth, // this.props.style.mainWidth,
backgroundColor: this.props.style.chartBackgroundColor,
lineColor: this.props.style.lineColor,
lineColor: 0x2B2E31,
classNames: 'horizontal-canvas'
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export class TraceContextComponent extends React.Component<TraceContextProps, Tr
height: this.DEFAULT_COMPONENT_HEIGHT,
rowHeight: this.DEFAULT_COMPONENT_ROWHEIGHT,
naviBackgroundColor: this.props.backgroundTheme === 'light' ? 0xf4f7fb : 0x3f3f3f,
chartBackgroundColor: this.props.backgroundTheme === 'light' ? 0xf4f7fb : 0x3f3f3f,
chartBackgroundColor: this.props.backgroundTheme === 'light' ? 0xf4f7fb : 0x232323,
cursorColor: 0x259fd8,
lineColor: this.props.backgroundTheme === 'light' ? 0x757575 : 0xbbbbbb
},
Expand Down Expand Up @@ -135,7 +135,7 @@ export class TraceContextComponent extends React.Component<TraceContextProps, Tr
height: this.DEFAULT_COMPONENT_HEIGHT,
rowHeight: this.DEFAULT_COMPONENT_ROWHEIGHT,
naviBackgroundColor: theme === 'light' ? 0xf4f7fb : 0x3f3f3f,
chartBackgroundColor: theme === 'light' ? 0xf4f7fb : 0x3f3f3f,
chartBackgroundColor: theme === 'light' ? 0xf4f7fb : 0x232323,
cursorColor: 0x259fd8,
lineColor: theme === 'light' ? 0x757575 : 0xbbbbbb
},
Expand Down

0 comments on commit b73e833

Please sign in to comment.