PlatformIndicators: Fix icon colours

This commit is contained in:
Vendicated 2022-11-22 17:06:24 +01:00
parent 11191b5943
commit ec20556d5c
No known key found for this signature in database
GPG Key ID: EC781ADFB93EFFA3
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ const PlatformIcon = ({ platform, status }: { platform: Platform, status: string
const tooltip = platform[0].toUpperCase() + platform.slice(1);
const Icon = Icons[platform] ?? Icons.desktop;
return <Icon color={getStatusColor(status)} tooltip={tooltip} />;
return <Icon color={`var(--${getStatusColor(status)}`} tooltip={tooltip} />;
};
const PlatformIndicator = ({ user }: { user: User; }) => {