From 57e6659d19f757d2325c9cc85da19c5060d21984 Mon Sep 17 00:00:00 2001 From: Lucy Date: Thu, 2 Jun 2022 15:36:07 +0000 Subject: [PATCH] ux: change colors for inflight workspace actions --- site/src/util/workspace.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/site/src/util/workspace.ts b/site/src/util/workspace.ts index 5e4f678b48680..8e3e4dfb1f51c 100644 --- a/site/src/util/workspace.ts +++ b/site/src/util/workspace.ts @@ -64,6 +64,7 @@ export const DisplayStatusLanguage = { queued: "Queued", } +// Localize workspace status and provide corresponding color from theme export const getDisplayStatus = ( theme: Theme, build: WorkspaceBuild, @@ -85,12 +86,12 @@ export const getDisplayStatus = ( } case "starting": return { - color: theme.palette.success.main, + color: theme.palette.primary.main, status: `⦿ ${DisplayStatusLanguage.starting}`, } case "stopping": return { - color: theme.palette.text.secondary, + color: theme.palette.primary.main, status: `◍ ${DisplayStatusLanguage.stopping}`, } case "stopped":