Skip to content

Commit 0490e89

Browse files
committed
rowback the changes on latency color
1 parent bc1a216 commit 0490e89

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

site/src/utils/latency.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ export const getLatencyColor = (theme: Theme, latency?: number) => {
55
return theme.palette.text.secondary;
66
}
77

8-
let color = theme.experimental.roles.success.outline;
8+
let color = theme.experimental.roles.success.fill;
99

1010
if (latency >= 150 && latency < 300) {
11-
color = theme.experimental.roles.warning.outline;
11+
color = theme.experimental.roles.warning.fill;
1212
} else if (latency >= 300) {
13-
color = theme.experimental.roles.error.outline;
13+
color = theme.experimental.roles.error.fill;
1414
}
1515
return color;
1616
};

0 commit comments

Comments
 (0)