From 1701ba07d448c1d4a0b589d7500638ff23e566fc Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 14 Aug 2023 23:25:25 -0400 Subject: [PATCH] much better coloring --- components/CollectionCard.tsx | 8 +-- components/Dropdown.tsx | 4 +- components/FilterSearchDropdown.tsx | 2 +- .../InputSelect/CollectionSelection.tsx | 2 + components/InputSelect/TagSelection.tsx | 2 + components/LinkCard.tsx | 14 ++--- .../Modal/Collection/CollectionInfo.tsx | 6 +- .../Modal/Collection/DeleteCollection.tsx | 10 +-- .../Modal/Collection/TeamManagement.tsx | 34 +++++----- components/Modal/Collection/index.tsx | 6 +- components/Modal/Link/AddOrEditLink.tsx | 12 ++-- components/Modal/Link/LinkDetails.tsx | 49 +++++++++------ components/Modal/Link/index.tsx | 8 +-- components/Modal/User/BillingPortal.tsx | 9 ++- components/Modal/User/ChangePassword.tsx | 4 +- components/Modal/User/PrivacySettings.tsx | 26 +++++--- components/Modal/User/ProfileSettings.tsx | 6 +- components/Modal/User/index.tsx | 10 +-- components/Modal/index.tsx | 4 +- components/Navbar.tsx | 30 ++++++--- components/NoLinksFound.tsx | 2 +- components/ProfilePhoto.tsx | 4 +- components/PublicPage/LinkCard.tsx | 8 ++- components/RadioButton.tsx | 4 +- components/Search.tsx | 2 +- components/Sidebar.tsx | 12 ++-- components/SortDropdown.tsx | 2 +- components/SubmitButton.tsx | 2 +- layouts/CenteredForm.tsx | 2 +- pages/_app.tsx | 19 ++++-- pages/choose-username.tsx | 17 ++--- pages/collections/[id].tsx | 10 +-- pages/collections/index.tsx | 8 +-- pages/confirmation.tsx | 10 +-- pages/dashboard.tsx | 14 +++-- pages/forgot.tsx | 21 ++++--- pages/links.tsx | 4 +- pages/login.tsx | 15 +++-- pages/public/collections/[id].tsx | 4 +- pages/register.tsx | 48 ++++++++------ pages/search/[query].tsx | 10 +-- pages/subscribe.tsx | 9 +-- pages/tags/[id].tsx | 6 +- styles/globals.css | 63 ++++++++++++++++--- 44 files changed, 331 insertions(+), 211 deletions(-) diff --git a/components/CollectionCard.tsx b/components/CollectionCard.tsx index 8828944..ca5253b 100644 --- a/components/CollectionCard.tsx +++ b/components/CollectionCard.tsx @@ -32,24 +32,24 @@ export default function CollectionCard({ collection, className }: Props) { return (
setExpandDropdown(!expandDropdown)} id={"expand-dropdown" + collection.id} - className="inline-flex absolute top-5 right-5 rounded-md cursor-pointer hover:bg-slate-200 hover:dark:bg-sky-800 duration-100 p-1" + className="inline-flex absolute top-5 right-5 rounded-md cursor-pointer hover:bg-slate-200 hover:dark:bg-neutral-700 duration-100 p-1" >
-

+

{collection.name}

diff --git a/components/Dropdown.tsx b/components/Dropdown.tsx index 375b5b0..abc9e46 100644 --- a/components/Dropdown.tsx +++ b/components/Dropdown.tsx @@ -25,12 +25,12 @@ export default function Dropdown({ onClickOutside, className, items }: Props) { return ( {items.map((e, i) => { const inner = e && (
-
+

{e.name}

diff --git a/components/FilterSearchDropdown.tsx b/components/FilterSearchDropdown.tsx index 3c424bb..2c835ab 100644 --- a/components/FilterSearchDropdown.tsx +++ b/components/FilterSearchDropdown.tsx @@ -20,7 +20,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-sky-800 shadow-md bg-gray-50 dark:bg-sky-900 rounded-md p-2 z-20 w-40" + 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" >

Filter by diff --git a/components/InputSelect/CollectionSelection.tsx b/components/InputSelect/CollectionSelection.tsx index f140bbc..234d5bc 100644 --- a/components/InputSelect/CollectionSelection.tsx +++ b/components/InputSelect/CollectionSelection.tsx @@ -45,6 +45,8 @@ export default function CollectionSelection({ onChange, defaultValue }: Props) { return (