diff --git a/components/Modal/Link/LinkDetails.tsx b/components/Modal/Link/LinkDetails.tsx
index 0151c98..984af8b 100644
--- a/components/Modal/Link/LinkDetails.tsx
+++ b/components/Modal/Link/LinkDetails.tsx
@@ -131,7 +131,7 @@ export default function LinkDetails({ link }: Props) {
height={42}
alt=""
id={"favicon-" + link.id}
- className="select-none mt-2 rounded-md shadow border-[3px] border-white bg-white aspect-square"
+ className="select-none mt-2 rounded-md shadow border-[3px] border-white dark:border-sky-800 bg-white dark:bg-blue-950 aspect-square"
draggable="false"
onLoad={(e) => {
try {
@@ -151,14 +151,14 @@ export default function LinkDetails({ link }: Props) {
/>
)}
-
+
{link.name}
{url ? url.host : link.url}
@@ -176,7 +176,7 @@ export default function LinkDetails({ link }: Props) {
/>
{collection?.name}
@@ -194,19 +194,19 @@ export default function LinkDetails({ link }: Props) {
{link.description && (
<>
-
+
{link.description}
>
)}
-
+
-
Archived Formats:
+
Archived Formats:
@@ -214,16 +214,16 @@ export default function LinkDetails({ link }: Props) {
-
+
-
+
-
Screenshot
+
Screenshot
-
+
-
+
-
diff --git a/components/Modal/User/ChangePassword.tsx b/components/Modal/User/ChangePassword.tsx
index f4f59ed..3ca0b03 100644
--- a/components/Modal/User/ChangePassword.tsx
+++ b/components/Modal/User/ChangePassword.tsx
@@ -81,23 +81,23 @@ export default function ChangePassword({
return (
-
New Password
+
New Password
setNewPassword1(e.target.value)}
type="password"
placeholder="••••••••••••••"
- className="w-full rounded-md p-3 mx-auto border-sky-100 border-solid border outline-none focus:border-sky-700 duration-100"
+ className="w-full rounded-md p-3 mx-auto border-sky-100 dark:border-sky-800 dark:bg-blue-950 border-solid border outline-none focus:border-sky-700 duration-100"
/>
-
Confirm New Password
+
Confirm New Password
setNewPassword2(e.target.value)}
type="password"
placeholder="••••••••••••••"
- className="w-full rounded-md p-3 mx-auto border-sky-100 border-solid border outline-none focus:border-sky-700 duration-100"
+ className="w-full rounded-md p-3 mx-auto border-sky-100 dark:border-sky-800 dark:bg-blue-950 border-solid border outline-none focus:border-sky-700 duration-100"
/>
-
Profile Photo
+
Profile Photo
-
Display Name
+
Display Name
setUser({ ...user, name: e.target.value })}
- className="w-full rounded-md p-2 border-sky-100 border-solid border outline-none focus:border-sky-700 duration-100"
+ className="w-full rounded-md p-2 border-sky-100 dark:border-sky-800 dark:bg-blue-950 border-solid border outline-none focus:border-sky-700 duration-100"
/>
-
Username
+
Username
setUser({ ...user, username: e.target.value })}
- className="w-full rounded-md p-2 border-sky-100 border-solid border outline-none focus:border-sky-700 duration-100"
+ className="w-full rounded-md p-2 border-sky-100 dark:border-sky-800 dark:bg-blue-950 border-solid border outline-none focus:border-sky-700 duration-100"
/>
diff --git a/components/Modal/User/index.tsx b/components/Modal/User/index.tsx
index bc56e4b..86d44c9 100644
--- a/components/Modal/User/index.tsx
+++ b/components/Modal/User/index.tsx
@@ -27,12 +27,12 @@ export default function UserModal({
return (
-
+
selected
- ? "px-2 py-1 bg-sky-200 duration-100 rounded-md outline-none"
- : "px-2 py-1 hover:bg-slate-200 rounded-md duration-100 outline-none"
+ ? "px-2 py-1 bg-sky-200 dark:bg-sky-500 dark:text-sky-100 duration-100 rounded-md outline-none"
+ : "px-2 py-1 hover:bg-slate-200 hover:dark:bg-sky-700 rounded-md duration-100 outline-none"
}
>
Profile Settings
@@ -41,8 +41,8 @@ export default function UserModal({
selected
- ? "px-2 py-1 bg-sky-200 duration-100 rounded-md outline-none"
- : "px-2 py-1 hover:bg-slate-200 rounded-md duration-100 outline-none"
+ ? "px-2 py-1 bg-sky-200 dark:bg-sky-500 dark:text-sky-100 duration-100 rounded-md outline-none"
+ : "px-2 py-1 hover:bg-slate-200 hover:dark:bg-sky-600 rounded-md duration-100 outline-none"
}
>
Privacy Settings
@@ -51,8 +51,8 @@ export default function UserModal({
selected
- ? "px-2 py-1 bg-sky-200 duration-100 rounded-md outline-none"
- : "px-2 py-1 hover:bg-slate-200 rounded-md duration-100 outline-none"
+ ? "px-2 py-1 bg-sky-200 dark:bg-sky-500 dark:text-sky-100 duration-100 rounded-md outline-none"
+ : "px-2 py-1 hover:bg-slate-200 hover:dark:bg-sky-600 rounded-md duration-100 outline-none"
}
>
Password
diff --git a/components/ProfilePhoto.tsx b/components/ProfilePhoto.tsx
index e7c4aa2..a94558a 100644
--- a/components/ProfilePhoto.tsx
+++ b/components/ProfilePhoto.tsx
@@ -33,7 +33,7 @@ export default function ProfilePhoto({
return error || !src ? (
diff --git a/components/Search.tsx b/components/Search.tsx
index 834670d..f31e15d 100644
--- a/components/Search.tsx
+++ b/components/Search.tsx
@@ -44,7 +44,7 @@ export default function Search() {
router.push("/search/" + encodeURIComponent(searchQuery))
}
autoFocus={searchBox}
- className="border border-sky-100 dark:border-sky-800 rounded-md pl-10 py-2 pr-2 w-44 sm:w-60 focus:border-sky-700 md:focus:w-80 hover:border-sky-700 duration-100 outline-none dark:bg-sky-950"
+ className="border border-sky-100 dark:border-sky-800 rounded-md pl-10 py-2 pr-2 w-44 sm:w-60 focus:border-sky-700 md:focus:w-80 hover:border-sky-700 duration-100 outline-none dark:bg-blue-950"
/>
);
diff --git a/components/Sidebar.tsx b/components/Sidebar.tsx
index 5f7e318..730c47e 100644
--- a/components/Sidebar.tsx
+++ b/components/Sidebar.tsx
@@ -196,7 +196,7 @@ export default function Sidebar({ className }: { className?: string }) {
diff --git a/layouts/CenteredForm.tsx b/layouts/CenteredForm.tsx
index b3cf8a2..a612957 100644
--- a/layouts/CenteredForm.tsx
+++ b/layouts/CenteredForm.tsx
@@ -18,12 +18,12 @@ export default function CenteredForm({ text, children }: Props) {
className="h-12 w-fit mx-auto"
/>
{text ? (
-
+
{text}
) : undefined}
{children}
-
+
© {new Date().getFullYear()} Linkwarden. All rights reserved.
diff --git a/pages/login.tsx b/pages/login.tsx
index f96abf9..939eeaa 100644
--- a/pages/login.tsx
+++ b/pages/login.tsx
@@ -47,13 +47,13 @@ export default function Login() {
return (
-
-
+
+
Enter your credentials
-
+
Username
{emailEnabled ? "/Email" : undefined}
@@ -63,12 +63,12 @@ export default function Login() {
placeholder="johnny"
value={form.username}
onChange={(e) => setForm({ ...form, username: e.target.value })}
- className="w-full rounded-md p-2 mx-auto border-sky-100 border-solid border outline-none focus:border-sky-700 duration-100"
+ className="w-full rounded-md p-2 mx-auto border-sky-100 dark:border-sky-800 dark:bg-sky-800 border-solid border outline-none focus:border-sky-700 duration-100"
/>
-
+
Password
@@ -77,7 +77,7 @@ export default function Login() {
placeholder="••••••••••••••"
value={form.password}
onChange={(e) => setForm({ ...form, password: e.target.value })}
- className="w-full rounded-md p-2 mx-auto border-sky-100 border-solid border outline-none focus:border-sky-700 duration-100"
+ className="w-full rounded-md p-2 mx-auto border-sky-100 dark:border-sky-800 dark:bg-sky-800 border-solid border outline-none focus:border-sky-700 duration-100"
/>
{emailEnabled && (
@@ -95,8 +95,8 @@ export default function Login() {
loading={submitLoader}
/>
-
New here?
-
+
New here?
+
Sign Up
diff --git a/pages/tags/[id].tsx b/pages/tags/[id].tsx
index afbd1a5..2050f38 100644
--- a/pages/tags/[id].tsx
+++ b/pages/tags/[id].tsx
@@ -36,9 +36,9 @@ export default function Index() {