From ddb038bfa253cf60995ed400b760c01d710e8be9 Mon Sep 17 00:00:00 2001 From: Milan Roustan Date: Mon, 4 Sep 2023 10:32:38 +0200 Subject: [PATCH] fix: color rotation in cp charts (#236) Signed-off-by: Milouu --- CHANGELOG.md | 1 + src/features/perfBrowser/usePerfBrowserColors.tsx | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index aaec4984..03d60506 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Properly align handles with inputs & outputs in workflow (#229) - Cancel CP button now usable on workflow page (#234) +- Color rotation on cp charts (#236) ## [0.44.0] - 2023-07-25 diff --git a/src/features/perfBrowser/usePerfBrowserColors.tsx b/src/features/perfBrowser/usePerfBrowserColors.tsx index d78b0076..c483b9ad 100644 --- a/src/features/perfBrowser/usePerfBrowserColors.tsx +++ b/src/features/perfBrowser/usePerfBrowserColors.tsx @@ -11,13 +11,13 @@ type ColorDiscriminantProps = { export const PERF_BROWSER_COLORSCHEMES = [ 'primary', 'orange', - 'blue', - 'pink', 'green', + 'pink', 'yellow', 'cyan', 'red', 'purple', + 'blue', ]; const usePerfBrowserColors = () => {