Skip to content

Commit 08a782f

Browse files
committed
fix: changed pwa button in light mode
1 parent f6dce48 commit 08a782f

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

src/components/ui/PWAInstallButton.tsx

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -53,34 +53,31 @@ const PWAInstallButton = () => {
5353

5454
return (
5555
<>
56-
57-
<div className="md:hidden flex items-center justify-between rounded-full bg-[#2b2343] px-4 py-2 shadow-md text-white w-fit">
56+
<div className="md:hidden flex items-center justify-between rounded-full dark:bg-[#2b2343] bg-transparent px-4 py-2 shadow-md text-white w-fit border border-[#3A3745] transition hover:bg-black hover:dark:bg-[#2b2b30]">
5857
<div className="flex items-center gap-3">
5958
<Image src="/papers_logo.png" alt="Papers App" width={32} height={32} />
60-
<span className="font-semibold text-lg">Papers App</span>
59+
<span className="font-semibold text-lg text-white">Papers App</span>
6160
</div>
6261
<button
6362
onClick={handleInstall}
64-
className="ml-6 flex items-center gap-2 rounded-full border border-gray-500 bg-[#1e1e24] px-4 py-1 text-sm font-semibold transition hover:bg-[#2b2b30]"
63+
className="ml-6 flex items-center gap-2 rounded-full border border-[#3A3745] dark:bg-[#1e1e24] bg-transparent px-4 py-1 text-sm font-semibold text-white transition hover:bg-black hover:dark:bg-[#2b2b30]"
6564
>
6665
<Download className="h-4 w-4" />
6766
Install
6867
</button>
6968
</div>
7069

71-
7270
<div
73-
onClick={handleInstall}
74-
className="hidden md:flex items-center gap-3 rounded-full px-5 py-2 text-white cursor-pointer bg-[#130e1f] border border-[#FFFFFF26] border-[1.5px]"
75-
>
76-
71+
onClick={handleInstall}
72+
className="hidden md:flex items-center gap-3 rounded-full px-5 py-2 text-white cursor-pointer dark:bg-[#130e1f] bg-transparent border border-[#3A3745] transition hover:bg-black hover:dark:bg-[#1A1823]"
73+
>
7774
<Image
7875
src="/papers_logo.png"
7976
alt="Papers App"
8077
width={28}
8178
height={28}
8279
/>
83-
<span className="font-semibold text-sm">Papers App</span>
80+
<span className="font-semibold text-sm text-white">Papers App</span>
8481
</div>
8582
</>
8683
);

0 commit comments

Comments
 (0)