Skip to content

Commit bae57cb

Browse files
authored
profiling: fix differential flamegraph colors (#93853)
Fixes DE-141
1 parent f5fe6b0 commit bae57cb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

static/app/utils/profiling/flamegraph/flamegraphTheme.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -360,8 +360,8 @@ export const makeLightChonkFlamegraphTheme = (
360360
// Preset colors
361361
FRAME_APPLICATION_COLOR: hexToColorChannels(theme.colors.blue400, 0.4),
362362
FRAME_SYSTEM_COLOR: hexToColorChannels(theme.colors.red400, 0.3),
363-
DIFFERENTIAL_DECREASE: hexToColorChannels(theme.colors.yellow200, 1),
364-
DIFFERENTIAL_INCREASE: hexToColorChannels(theme.colors.red300, 1),
363+
DIFFERENTIAL_DECREASE: hexToColorChannels(theme.colors.blue400, 0.6),
364+
DIFFERENTIAL_INCREASE: hexToColorChannels(theme.colors.red400, 0.4),
365365
SAMPLE_TICK_COLOR: hexToColorChannels(theme.colors.red400, 0.5),
366366

367367
// Cursors and labels
@@ -453,8 +453,8 @@ export const makeDarkChonkFlamegraphTheme = (
453453
// Preset colors
454454
FRAME_APPLICATION_COLOR: hexToColorChannels(theme.colors.blue400, 0.6),
455455
FRAME_SYSTEM_COLOR: hexToColorChannels(theme.colors.red400, 0.5),
456-
DIFFERENTIAL_DECREASE: hexToColorChannels(theme.colors.yellow200, 1),
457-
DIFFERENTIAL_INCREASE: hexToColorChannels(theme.colors.red300, 1),
456+
DIFFERENTIAL_DECREASE: hexToColorChannels(theme.colors.blue400, 0.6),
457+
DIFFERENTIAL_INCREASE: hexToColorChannels(theme.colors.red400, 0.4),
458458
SAMPLE_TICK_COLOR: hexToColorChannels(theme.colors.red400, 0.5),
459459

460460
// Cursors and labels

0 commit comments

Comments
 (0)