From c5bd63c2e5dd0b742cee992a42e348d3f18099b3 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Thu, 18 Dec 2025 15:59:23 +0200 Subject: [PATCH 1/2] Fix contrast for samples/sec with dark theme --- Lib/profiling/sampling/_heatmap_assets/heatmap.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/profiling/sampling/_heatmap_assets/heatmap.css b/Lib/profiling/sampling/_heatmap_assets/heatmap.css index 9999cd6760fd49..0a692ff9a5e79e 100644 --- a/Lib/profiling/sampling/_heatmap_assets/heatmap.css +++ b/Lib/profiling/sampling/_heatmap_assets/heatmap.css @@ -72,7 +72,7 @@ .stat-card:nth-child(1) { --i: 0; --card-color: 55, 118, 171; } .stat-card:nth-child(2) { --i: 1; --card-color: 40, 167, 69; } .stat-card:nth-child(3) { --i: 2; --card-color: 255, 193, 7; } -.stat-card:nth-child(4) { --i: 3; --card-color: 111, 66, 193; } +.stat-card:nth-child(4) { --i: 3; --card-color: 116, 69, 201; } .stat-card:nth-child(5) { --i: 4; --card-color: 220, 53, 69; } .stat-card:nth-child(6) { --i: 5; --card-color: 23, 162, 184; } From ccdfab067d15743e84baf759d4343dd87af713db Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Thu, 18 Dec 2025 16:01:44 +0200 Subject: [PATCH 2/2] Fix contrast for duration and missed samples with light theme --- Lib/profiling/sampling/_heatmap_assets/heatmap.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/profiling/sampling/_heatmap_assets/heatmap.css b/Lib/profiling/sampling/_heatmap_assets/heatmap.css index 0a692ff9a5e79e..2dddb944b1a275 100644 --- a/Lib/profiling/sampling/_heatmap_assets/heatmap.css +++ b/Lib/profiling/sampling/_heatmap_assets/heatmap.css @@ -71,7 +71,7 @@ .stat-card:nth-child(1) { --i: 0; --card-color: 55, 118, 171; } .stat-card:nth-child(2) { --i: 1; --card-color: 40, 167, 69; } -.stat-card:nth-child(3) { --i: 2; --card-color: 255, 193, 7; } +.stat-card:nth-child(3) { --i: 2; --card-color: 184, 140, 5; } .stat-card:nth-child(4) { --i: 3; --card-color: 116, 69, 201; } .stat-card:nth-child(5) { --i: 4; --card-color: 220, 53, 69; } .stat-card:nth-child(6) { --i: 5; --card-color: 23, 162, 184; } @@ -160,7 +160,7 @@ } .rate-card:nth-child(5) { animation-delay: 0.32s; --rate-color: 220, 53, 69; } -.rate-card:nth-child(6) { animation-delay: 0.40s; --rate-color: 255, 152, 0; } +.rate-card:nth-child(6) { animation-delay: 0.40s; --rate-color: 212, 126, 0; } .rate-card:hover { border-color: rgba(var(--rate-color), 0.5);