From ce9ce2c5cba9fe081a5a87bd733bee6ee52d367d Mon Sep 17 00:00:00 2001 From: MartinBraquet Date: Thu, 30 Apr 2026 17:02:48 +0200 Subject: [PATCH] Update colors --- .../compatibility-questions-display.tsx | 4 +- web/components/buttons/button.tsx | 2 +- web/components/buttons/sign-up-button.tsx | 2 +- web/components/filters/search.tsx | 2 +- web/components/nav/sidebar-item.tsx | 2 +- web/components/nav/sidebar.tsx | 27 ++++++++----- web/components/photos-modal.tsx | 2 +- web/components/required-profile-form.tsx | 2 +- web/components/searches/button.tsx | 4 +- web/components/site-logo.tsx | 2 +- web/components/widgets/input.tsx | 40 ++++++++++--------- web/components/widgets/searchable-select.tsx | 1 - web/pages/register.tsx | 8 ++-- web/pages/signin.tsx | 6 +-- web/styles/globals.css | 4 ++ 15 files changed, 61 insertions(+), 47 deletions(-) diff --git a/web/components/answers/compatibility-questions-display.tsx b/web/components/answers/compatibility-questions-display.tsx index 6a3b3d06..f00d3224 100644 --- a/web/components/answers/compatibility-questions-display.tsx +++ b/web/components/answers/compatibility-questions-display.tsx @@ -452,7 +452,9 @@ export function CompatibilityAnswerBlock(props: { return ( diff --git a/web/components/nav/sidebar-item.tsx b/web/components/nav/sidebar-item.tsx index a3fa471f..7cb65317 100644 --- a/web/components/nav/sidebar-item.tsx +++ b/web/components/nav/sidebar-item.tsx @@ -28,7 +28,7 @@ export function SidebarItem(props: {item: Item; currentPage?: string}) { } const sidebarClass = clsx( - isCurrentPage ? 'bg-canvas-900 text-primary-600' : 'text-[#776f65] hover:text-primary-700', + isCurrentPage ? 'bg-canvas-900 text-primary-600' : 'sidebar-text hover:text-primary-600', 'group flex items-center rounded-xl px-3 py-2 text-sm font-medium', 'focus-visible:bg-ink-100 outline-none transition-all', ) diff --git a/web/components/nav/sidebar.tsx b/web/components/nav/sidebar.tsx index 7fc1606d..83a6b0be 100644 --- a/web/components/nav/sidebar.tsx +++ b/web/components/nav/sidebar.tsx @@ -2,8 +2,8 @@ import {ArrowLeftOnRectangleIcon, ArrowRightOnRectangleIcon} from '@heroicons/re import clsx from 'clsx' import {ANDROID_APP_URL} from 'common/constants' import {buildArray} from 'common/util/array' -import Image from 'next/image' import Router, {useRouter} from 'next/router' +import {FaGooglePlay} from 'react-icons/fa' import {Button, ColorType, SizeType} from 'web/components/buttons/button' import {LanguagePicker} from 'web/components/language/language-picker' import {useProfile} from 'web/hooks/use-profile' @@ -49,7 +49,7 @@ export default function Sidebar(props: { )} style={style} > - + {user === undefined &&
} @@ -78,16 +78,23 @@ export default function Sidebar(props: {
{!isAndroid && ( - divider router.push(ANDROID_APP_URL)} + + )} + {user === null && ( + )} - {user === null && } {bottomNavOptions.map((item) => ( ))} diff --git a/web/components/photos-modal.tsx b/web/components/photos-modal.tsx index 8b7ec327..8f1a13c7 100644 --- a/web/components/photos-modal.tsx +++ b/web/components/photos-modal.tsx @@ -75,7 +75,7 @@ export const ViewProfileCardButton = (props: { const username = user.username return ( <> - diff --git a/web/components/required-profile-form.tsx b/web/components/required-profile-form.tsx index 576c9569..746edf88 100644 --- a/web/components/required-profile-form.tsx +++ b/web/components/required-profile-form.tsx @@ -94,7 +94,7 @@ export const RequiredProfileUserForm = (props: { {/*)}*/} {(step === 0 || profileCreatedAlready) && ( - + diff --git a/web/components/searches/button.tsx b/web/components/searches/button.tsx index 0eed6d88..6572609a 100644 --- a/web/components/searches/button.tsx +++ b/web/components/searches/button.tsx @@ -36,7 +36,7 @@ export function BookmarkSearchButton(props: {
@@ -175,7 +175,7 @@ function RegisterComponent() { name="password" type="password" required - className="bg-canvas-50 appearance-none rounded-none relative block w-full px-3 py-2 border rounded-b-md border-gray-300 placeholder-gray-500 focus:outline-none focus:ring-blue-500 focus:border-blue-500 focus:z-10 sm:text-sm" + className="bg-canvas-50 appearance-none rounded-none relative block w-full px-3 py-2 border rounded-b-md border-gray-300 placeholder-gray-500 focus:outline-none focus:ring-primary-500 focus:border-blue-500 focus:z-10 sm:text-sm" placeholder={t('signin.password_placeholder', 'Your password')} />
@@ -210,7 +210,7 @@ function RegisterComponent() { diff --git a/web/styles/globals.css b/web/styles/globals.css index e7133cf8..14455674 100644 --- a/web/styles/globals.css +++ b/web/styles/globals.css @@ -568,3 +568,7 @@ select { @apply hover-bold; @apply cursor-pointer; } + +.sidebar-text { + color: #978f85; +}