Skip to content

Commit 1a07d02

Browse files
authored
ux: change colors for inflight workspace actions (#1986)
1 parent e09cd3e commit 1a07d02

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

site/src/util/workspace.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ export const DisplayStatusLanguage = {
6464
queued: "Queued",
6565
}
6666

67+
// Localize workspace status and provide corresponding color from theme
6768
export const getDisplayStatus = (
6869
theme: Theme,
6970
build: WorkspaceBuild,
@@ -85,12 +86,12 @@ export const getDisplayStatus = (
8586
}
8687
case "starting":
8788
return {
88-
color: theme.palette.success.main,
89+
color: theme.palette.primary.main,
8990
status: `⦿ ${DisplayStatusLanguage.starting}`,
9091
}
9192
case "stopping":
9293
return {
93-
color: theme.palette.text.secondary,
94+
color: theme.palette.primary.main,
9495
status: `◍ ${DisplayStatusLanguage.stopping}`,
9596
}
9697
case "stopped":

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy