From bfb9f504adfc5d179738411e1a367cf7b4ec1dee Mon Sep 17 00:00:00 2001 From: Ignacio Guridi Date: Mon, 16 Dec 2024 02:58:40 -0800 Subject: [PATCH] buck2: explain: switch colors up a bit Summary: want to show excess cache misses in a different color Reviewed By: perehonchuk Differential Revision: D67180041 fbshipit-source-id: 8d64872bd87736f6bad4fccce39835a52905a0da --- app/buck2_explain/js/src/graph2/GraphImpl2.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/buck2_explain/js/src/graph2/GraphImpl2.tsx b/app/buck2_explain/js/src/graph2/GraphImpl2.tsx index 54ca39dd7db7..b43fcd1f408a 100644 --- a/app/buck2_explain/js/src/graph2/GraphImpl2.tsx +++ b/app/buck2_explain/js/src/graph2/GraphImpl2.tsx @@ -25,12 +25,12 @@ enum DisplayType { } const displayTypeColors: {[key in DisplayType]: string} = { - // https://coolors.co/1c77c3-39a9db-9ec1a3-cfe0c3-e9724c + // https://coolors.co/fb5012-9c528b-00c49a-e6d3a3-2274a5 [DisplayType.rootNode]: '#1a181b', [DisplayType.passesFilters]: '#1c77c3', [DisplayType.changedFiles]: '#00C49A', - [DisplayType.highlighted]: '#e9724c', - [DisplayType.actionsRan]: '#9C528B', + [DisplayType.highlighted]: '#9C528B', + [DisplayType.actionsRan]: '#2274A5', [DisplayType.hidden]: 'gray', // doesn't matter } @@ -232,8 +232,8 @@ export function GraphImpl2(props: {
Green: node with changed files
- Purple: node with actions that ran
- Orange: highlighted node via filter
+ Blue: node with actions that ran
+ Purple: highlighted node via filter