Skip to content

Commit b74b3eb

Browse files
rusackasclaude
andcommitted
fix(timeseries): use theme fill token for percent-change baseline drag zone
The literal rgba(0, 0, 0, 0.02) fill tripped the custom-rules-frontend pre-commit lint (no literal colors). Swap it for theme.colorFillSecondary. Co-Authored-By: Claude Opus 4.8 <[email protected]>
1 parent ab71b7a commit b74b3eb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎superset-frontend/plugins/plugin-chart-echarts/src/Timeseries/EchartsTimeseries.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ export default function EchartsTimeseries({
144144
{
145145
type: 'rect',
146146
shape: { x: 0, y: 0, width: 8, height: gridRect.height },
147-
style: { fill: 'rgba(0, 0, 0, 0.02)' },
147+
style: { fill: theme.colorFillSecondary },
148148
},
149149
{
150150
type: 'rect',

0 commit comments

Comments
 (0)