From 7ddcb5fe6b7de9df3e0424598d1836d51c3f80eb Mon Sep 17 00:00:00 2001
From: MohamedBassem <me@mbassem.com>
Date: Mon, 22 Apr 2024 18:28:41 +0100
Subject: ui(extension): Use shadcn and better dark mode support

---
 apps/browser-extension/src/Logo.tsx | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

(limited to 'apps/browser-extension/src/Logo.tsx')

diff --git a/apps/browser-extension/src/Logo.tsx b/apps/browser-extension/src/Logo.tsx
index 462bbef0..3e2e6444 100644
--- a/apps/browser-extension/src/Logo.tsx
+++ b/apps/browser-extension/src/Logo.tsx
@@ -1,9 +1,15 @@
+import logoImgWhite from "../public/logo-full-white.png";
 import logoImg from "../public/logo-full.png";
 
 export default function Logo() {
   return (
     <span className="flex items-center justify-center">
-      <img src={logoImg} alt="hoarder logo" className="h-10" />
+      <img src={logoImg} alt="hoarder logo" className="h-10 dark:hidden" />
+      <img
+        src={logoImgWhite}
+        alt="hoarder logo"
+        className="hidden h-10 dark:block"
+      />
     </span>
   );
 }
-- 
cgit v1.2.3-70-g09d2

