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

@ -58,7 +58,7 @@ const PlatformIcon = ({ platform, status }: { platform: Platform, status: string
const tooltip = platform[0].toUpperCase() + platform.slice(1); const tooltip = platform[0].toUpperCase() + platform.slice(1);
const Icon = Icons[platform] ?? Icons.desktop; 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; }) => { const PlatformIndicator = ({ user }: { user: User; }) => {