File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
site/src/modules/resources/AppLink Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 1
- import { useTheme } from "@emotion/react" ;
2
1
import type * as TypesGen from "api/typesGenerated" ;
3
2
import { DropdownMenuItem } from "components/DropdownMenu/DropdownMenu" ;
4
3
import { Spinner } from "components/Spinner/Spinner" ;
@@ -41,7 +40,6 @@ export const AppLink: FC<AppLinkProps> = ({
41
40
const { proxy } = useProxy ( ) ;
42
41
const host = proxy . preferredWildcardHostname ;
43
42
const [ iconError , setIconError ] = useState ( false ) ;
44
- const theme = useTheme ( ) ;
45
43
const link = useAppLink ( app , { agent, workspace } ) ;
46
44
47
45
// canClick is ONLY false when it's a subdomain app and the admin hasn't
@@ -64,8 +62,7 @@ export const AppLink: FC<AppLinkProps> = ({
64
62
icon = (
65
63
< CircleAlertIcon
66
64
aria-hidden = "true"
67
- className = "size-icon-sm"
68
- css = { { color : theme . palette . warning . light } }
65
+ className = "size-icon-sm text-content-warning"
69
66
/>
70
67
) ;
71
68
primaryTooltip = "Unhealthy" ;
@@ -76,8 +73,7 @@ export const AppLink: FC<AppLinkProps> = ({
76
73
icon = (
77
74
< CircleAlertIcon
78
75
aria-hidden = "true"
79
- className = "size-icon-sm"
80
- css = { { color : theme . palette . grey [ 300 ] } }
76
+ className = "size-icon-sm text-content-secondary"
81
77
/>
82
78
) ;
83
79
primaryTooltip =
You can’t perform that action at this time.
0 commit comments