diff --git a/lib/utils/icons.tsx b/lib/utils/icons.tsx
index 82a212d..14aee6e 100644
--- a/lib/utils/icons.tsx
+++ b/lib/utils/icons.tsx
@@ -58,6 +58,8 @@ export function getBrowserIcon(browserName: string) {
return
}
+const OS_DARK_INVERT = new Set(['macos', 'playstation'])
+
const OS_ICON_MAP: Record = {
'windows': 'windows',
'macos': 'macos',
@@ -81,7 +83,8 @@ export function getOSIcon(osName: string) {
if (!osName) return
const file = OS_ICON_MAP[osName.toLowerCase()]
if (!file) return
- return
+ const cls = OS_DARK_INVERT.has(file) ? 'inline-block dark:invert' : 'inline-block'
+ return
}
export function getDeviceIcon(deviceName: string) {