Skip to content

Commit af60172

Browse files
Match toggle color styling between flamegraph and heatmap
1 parent 500c484 commit af60172

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Lib/profiling/sampling/_flamegraph_assets/flamegraph.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1003,3 +1003,13 @@ body.resizing-sidebar {
10031003
.d3-flame-graph g:first-of-type .d3-flame-graph-label {
10041004
color: var(--text-muted);
10051005
}
1006+
1007+
/* --------------------------------------------------------------------------
1008+
Flamegraph-Specific Toggle Override
1009+
-------------------------------------------------------------------------- */
1010+
1011+
#toggle-invert .toggle-track.on {
1012+
background: #8e44ad;
1013+
border-color: #8e44ad;
1014+
box-shadow: 0 0 8px rgba(142, 68, 173, 0.3);
1015+
}

0 commit comments

Comments
 (0)