File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
site/src/pages/HealthPage Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ export const BooleanPill: FC<BooleanPillProps> = ({
195
195
...divProps
196
196
} ) => {
197
197
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 ;
199
199
200
200
return (
201
201
< Pill
Original file line number Diff line number Diff line change @@ -4,10 +4,10 @@ import type { HealthSeverity } from "api/typesGenerated";
4
4
export const healthyColor = ( theme : Theme , severity : HealthSeverity ) => {
5
5
switch ( severity ) {
6
6
case "ok" :
7
- return theme . palette . success . light ;
7
+ return theme . roles . success . fill . solid ;
8
8
case "warning" :
9
- return theme . palette . warning . light ;
9
+ return theme . roles . warning . fill . solid ;
10
10
case "error" :
11
- return theme . palette . error . light ;
11
+ return theme . roles . error . fill . solid ;
12
12
}
13
13
} ;
You can’t perform that action at this time.
0 commit comments