Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ec6db57

Browse files
committed
hm
1 parent d643e00 commit ec6db57

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

site/src/pages/HealthPage/Content.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ export const BooleanPill: FC<BooleanPillProps> = ({
195195
...divProps
196196
}) => {
197197
const theme = useTheme();
198-
const color = value ? theme.roles.active.outline : theme.roles.danger.outline;
198+
const color = value ? theme.roles.success.outline : theme.roles.error.outline;
199199

200200
return (
201201
<Pill

site/src/pages/HealthPage/healthyColor.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ import type { HealthSeverity } from "api/typesGenerated";
44
export const healthyColor = (theme: Theme, severity: HealthSeverity) => {
55
switch (severity) {
66
case "ok":
7-
return theme.palette.success.light;
7+
return theme.roles.success.fill.solid;
88
case "warning":
9-
return theme.palette.warning.light;
9+
return theme.roles.warning.fill.solid;
1010
case "error":
11-
return theme.palette.error.light;
11+
return theme.roles.error.fill.solid;
1212
}
1313
};

0 commit comments

Comments
 (0)