PlatformIndicators: Fix icon colours
This commit is contained in:
parent
11191b5943
commit
ec20556d5c
1 changed files with 1 additions and 1 deletions
|
@ -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; }) => {
|
||||||
|
|
Loading…
Reference in a new issue