diff --git a/components/Checkbox.tsx b/components/Checkbox.tsx index feb351c..3b7cd7e 100644 --- a/components/Checkbox.tsx +++ b/components/Checkbox.tsx @@ -22,11 +22,11 @@ export default function Checkbox({ label, state, className, onClick }: Props) { /> {label} diff --git a/components/CollectionCard.tsx b/components/CollectionCard.tsx index 2699705..a639bd5 100644 --- a/components/CollectionCard.tsx +++ b/components/CollectionCard.tsx @@ -47,7 +47,7 @@ export default function CollectionCard({ collection, className }: Props) { settings.theme === "dark" ? "#262626" : "#f3f4f6" } 50%, ${settings.theme === "dark" ? "#262626" : "#f9fafb"} 100%)`, }} - className={`border border-solid border-sky-100 dark:border-neutral-700 self-stretch min-h-[12rem] rounded-2xl shadow duration-100 hover:shadow-none hover:opacity-80 group relative ${ + className={`border border-solid border-neutral self-stretch min-h-[12rem] rounded-2xl shadow duration-100 hover:shadow-none hover:opacity-80 group relative ${ className || "" }`} > @@ -84,7 +84,7 @@ export default function CollectionCard({ collection, className }: Props) { }) .slice(0, 4)} {collection.members.length - 4 > 0 ? ( -
+
+{collection.members.length - 4}
) : null} diff --git a/components/DashboardItem.tsx b/components/DashboardItem.tsx index 3de882e..43ee677 100644 --- a/components/DashboardItem.tsx +++ b/components/DashboardItem.tsx @@ -10,19 +10,14 @@ type Props = { export default function dashboardItem({ name, value, icon }: Props) { return (
-
- +
+

{name}

-

- {value} -

+

{value}

); diff --git a/components/Dropdown.tsx b/components/Dropdown.tsx index fe4ab59..e780487 100644 --- a/components/Dropdown.tsx +++ b/components/Dropdown.tsx @@ -78,7 +78,7 @@ export default function Dropdown({ onClickOutside={onClickOutside} className={`${ className || "" - } py-1 shadow-md border border-sky-100 dark:border-neutral-700 bg-gray-50 dark:bg-neutral-800 rounded-md flex flex-col z-20`} + } py-1 shadow-md border border-neutral-content bg-gray-50 dark:bg-neutral-800 rounded-md flex flex-col z-20`} > {items.map((e, i) => { const inner = e && ( diff --git a/components/FilterSearchDropdown.tsx b/components/FilterSearchDropdown.tsx index be39585..866a556 100644 --- a/components/FilterSearchDropdown.tsx +++ b/components/FilterSearchDropdown.tsx @@ -25,7 +25,7 @@ export default function FilterSearchDropdown({ const target = e.target as HTMLInputElement; if (target.id !== "filter-dropdown") setFilterDropdown(false); }} - className="absolute top-8 right-0 border border-sky-100 dark:border-neutral-700 shadow-md bg-gray-50 dark:bg-neutral-800 rounded-md p-2 z-20 w-40" + className="absolute top-8 right-0 border border-neutral shadow-md bg-gray-50 dark:bg-neutral-800 rounded-md p-2 z-20 w-40" >

Filter by

diff --git a/components/LinkCard.tsx b/components/LinkCard.tsx index 43543a4..dd0ebec 100644 --- a/components/LinkCard.tsx +++ b/components/LinkCard.tsx @@ -138,7 +138,7 @@ export default function LinkCard({ link, count, className }: Props) { return ( <>
@@ -150,7 +150,7 @@ export default function LinkCard({ link, count, className }: Props) { setExpandDropdown({ x: e.clientX, y: e.clientY }); }} id={"expand-dropdown" + link.id} - className="text-gray-500 dark:text-gray-300 inline-flex rounded-md cursor-pointer hover:bg-slate-200 dark:hover:bg-neutral-700 absolute right-4 top-4 z-10 duration-100 p-1" + className="text-neutral-content dark:text-gray-300 inline-flex rounded-md cursor-pointer btn btn-ghost btn-sm btn-square dark:hover:bg-neutral-700 absolute right-4 top-4 z-10 duration-100" >
diff --git a/components/LinkSidebar.tsx b/components/LinkSidebar.tsx index 0963267..08f1ef9 100644 --- a/components/LinkSidebar.tsx +++ b/components/LinkSidebar.tsx @@ -47,7 +47,7 @@ export default function LinkSidebar({ className, onClick }: Props) { return (
diff --git a/components/Modal/Collection/CollectionInfo.tsx b/components/Modal/Collection/CollectionInfo.tsx index 117db41..01c6b38 100644 --- a/components/Modal/Collection/CollectionInfo.tsx +++ b/components/Modal/Collection/CollectionInfo.tsx @@ -98,7 +98,7 @@ export default function CollectionInfo({

Description