We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e2c00d commit 9fa80d7Copy full SHA for 9fa80d7
apps/dashboard/components/analytics/favicon-image.tsx
@@ -58,10 +58,12 @@ export function FaviconImage({
58
);
59
}
60
61
+ const isGitHub = hostname === 'github.com';
62
+
63
return (
64
<Image
65
alt={altText || `${domain} favicon`}
- className={className}
66
+ className={`${className} ${isGitHub ? 'dark:invert ' : ''}`}
67
height={size}
68
onError={() => setError(true)}
69
src={`https://icons.duckduckgo.com/ip3/${hostname}.ico`}
0 commit comments