From 48b41aae5fe018030485502bc274c64cedbf0adb Mon Sep 17 00:00:00 2001 From: MartinBraquet Date: Thu, 30 Apr 2026 16:04:25 +0200 Subject: [PATCH] Add dark mode colors --- .../compatibility-questions-display.tsx | 53 ++++---- web/components/buttons/general-button.tsx | 4 +- web/components/filters/location-filter.tsx | 1 + web/components/filters/search.tsx | 3 +- .../messaging/new-message-button.tsx | 6 +- web/components/multi-checkbox.tsx | 1 + web/components/nav/profile-summary.tsx | 2 +- web/components/nav/sidebar-item.tsx | 6 +- web/components/nav/sidebar.tsx | 32 +++-- web/components/optional-profile-form.tsx | 5 +- web/components/profile-about.tsx | 3 +- web/components/profile-grid.tsx | 18 ++- web/components/searches/button.tsx | 4 +- web/components/select-users.tsx | 1 + .../widgets/hide-profile-button.tsx | 2 +- web/components/widgets/input.tsx | 7 +- web/components/widgets/searchable-select.tsx | 1 + web/components/widgets/stat-box.tsx | 6 +- web/pages/compatibility.tsx | 1 + web/styles/globals.css | 118 +++++++----------- 20 files changed, 140 insertions(+), 134 deletions(-) diff --git a/web/components/answers/compatibility-questions-display.tsx b/web/components/answers/compatibility-questions-display.tsx index 0609ef95..6a3b3d06 100644 --- a/web/components/answers/compatibility-questions-display.tsx +++ b/web/components/answers/compatibility-questions-display.tsx @@ -254,7 +254,7 @@ export function CompatibilityQuestionsDisplay(props: { )} {answeredQuestions.length > 0 && ( -
+
{/*) => { setSearchTerm(e.target.value) }} + searchIcon />
)} @@ -451,9 +452,7 @@ export function CompatibilityAnswerBlock(props: { return ( )} - - {comparedProfile && isAnswered && ( - - - - )} - {isCurrentUser && isAnswered && ( - - setEditOpen(true)} /> - - )} - {/*{question.importance_score == 0 &&
Core Question
}*/} - + {/*{isAnswered && (*/} + {/* */} + {/* {comparedProfile && isAnswered && (*/} + {/* */} + {/* */} + {/* */} + {/* )}*/} + {/* {isCurrentUser && isAnswered && (*/} + {/* */} + {/* setEditOpen(true)} />*/} + {/* */} + {/* )}*/} + {/* /!*{question.importance_score == 0 &&
Core Question
}*!/*/} + {/* */} + {/*)}*/} {showCommunityInfo && ( - + {shortenedPopularity && ( {
diff --git a/web/components/filters/location-filter.tsx b/web/components/filters/location-filter.tsx index 6b1cba95..0c7e780d 100644 --- a/web/components/filters/location-filter.tsx +++ b/web/components/filters/location-filter.tsx @@ -120,6 +120,7 @@ export function LocationFilter(props: { className="h-8 w-full rounded-none border-0 bg-transparent px-1 focus:border-b focus:ring-0 focus:ring-transparent" autoFocus // onBlur // TODO + searchIcon /> diff --git a/web/components/filters/search.tsx b/web/components/filters/search.tsx index 86b6f1d8..21c8a440 100644 --- a/web/components/filters/search.tsx +++ b/web/components/filters/search.tsx @@ -171,6 +171,7 @@ export const Search = forwardRef< onChange={(e: React.ChangeEvent) => { setKeywordInput(e.target.value) }} + searchIcon /> @@ -232,7 +233,7 @@ export const Search = forwardRef< }} size={'xs'} color={'none'} - className={'text-ink-100 bg-primary-500 hover:bg-primary-400 rounded-xl'} + className={'text-white bg-primary-500 hover:bg-primary-400 rounded-xl'} > 🔔 {bookmarked diff --git a/web/components/messaging/new-message-button.tsx b/web/components/messaging/new-message-button.tsx index 402f391e..475ee800 100644 --- a/web/components/messaging/new-message-button.tsx +++ b/web/components/messaging/new-message-button.tsx @@ -20,7 +20,11 @@ export default function NewMessageButton() { const t = useT() return ( <> - diff --git a/web/components/multi-checkbox.tsx b/web/components/multi-checkbox.tsx index 34893501..11a75494 100644 --- a/web/components/multi-checkbox.tsx +++ b/web/components/multi-checkbox.tsx @@ -129,6 +129,7 @@ export const MultiCheckbox = (props: { } }} className="h-10" + searchIcon /> @@ -165,7 +165,7 @@ export function BookmarkStarButton(props: { onClick={() => setOpen(true)} color="gray-outline" size={'xs'} - className={'rounded-xl'} + className={'rounded-xl bg-canvas-50'} > 👥 {t('saved_people.button', 'Saved People')} diff --git a/web/components/select-users.tsx b/web/components/select-users.tsx index 6515f055..3dd6f584 100644 --- a/web/components/select-users.tsx +++ b/web/components/select-users.tsx @@ -84,6 +84,7 @@ export function SelectUsers(props: { value={query} onChange={(e: React.ChangeEvent) => setQuery(e.target.value)} placeholder="Search users..." + searchIcon /> {queryReady && ( diff --git a/web/components/widgets/hide-profile-button.tsx b/web/components/widgets/hide-profile-button.tsx index 8c590e38..0f769681 100644 --- a/web/components/widgets/hide-profile-button.tsx +++ b/web/components/widgets/hide-profile-button.tsx @@ -77,7 +77,7 @@ export function HideProfileButton(props: HideProfileButtonProps) { >