Skip to content

Commit 17812e1

Browse files
Pablo Carmonastarpit
authored andcommitted
add styles overrides for text on tooltips when the themes are dark
1 parent 9a3b0a5 commit 17812e1

File tree

1 file changed

+1
-1
lines changed
  • plugins/plugin-codeflare/src/components

1 file changed

+1
-1
lines changed

plugins/plugin-codeflare/src/components/Chart.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ export default class BaseChart extends React.PureComponent<Props> {
397397
labelComponent={
398398
<ChartLegendTooltip
399399
isCursorTooltip
400-
flyoutStyle={{ fillOpacity: 0.825 }}
400+
flyoutStyle={{ fillOpacity: 0.825, fill: "var(--color-base06)" }}
401401
labelComponent={<MyTooltipContent />}
402402
legendData={this.getLegendData(chart)}
403403
title={(datum: any) => `${new Date(datum.x + this.props.timeRange.min).toLocaleString()}`}

0 commit comments

Comments
 (0)