diff options
author | Vendicated <vendicated@riseup.net> | 2022-11-22 17:06:24 +0100 |
---|---|---|
committer | Vendicated <vendicated@riseup.net> | 2022-11-22 17:06:24 +0100 |
commit | ec20556d5c59d9ad766e8a2e6d63dfc20e80c396 (patch) | |
tree | ca0982a5a43dda291d7ede1eccb13a8c07e1dbf5 /src/plugins | |
parent | 11191b59438e560109b3cb929690b91fed5af8f9 (diff) | |
download | Vencord-ec20556d5c59d9ad766e8a2e6d63dfc20e80c396.tar.gz Vencord-ec20556d5c59d9ad766e8a2e6d63dfc20e80c396.tar.bz2 Vencord-ec20556d5c59d9ad766e8a2e6d63dfc20e80c396.zip |
PlatformIndicators: Fix icon colours
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/platformIndicators.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platformIndicators.tsx b/src/plugins/platformIndicators.tsx index 2917ba8..1c9bbf1 100644 --- a/src/plugins/platformIndicators.tsx +++ b/src/plugins/platformIndicators.tsx @@ -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; }) => { |