From af39384efbe389740ab3b9df897291ab1e428535 Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 4 May 2026 09:39:37 -0500 Subject: [PATCH] chore: better contrast for highlighted button on control bar (#28217) --- .../lib/components/shared-components/ControlAppBar.svelte | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/web/src/lib/components/shared-components/ControlAppBar.svelte b/web/src/lib/components/shared-components/ControlAppBar.svelte index b515e9a165..85990a3b5c 100644 --- a/web/src/lib/components/shared-components/ControlAppBar.svelte +++ b/web/src/lib/components/shared-components/ControlAppBar.svelte @@ -30,7 +30,7 @@ trailing, }: Props = $props(); - let appBarBorder = $state('bg-light border border-transparent'); + let appBarBorder = $state('border border-subtle'); const onScroll = () => { if (window.scrollY > 80) { @@ -40,7 +40,7 @@ appBarBorder = 'border border-gray-600'; } } else { - appBarBorder = 'bg-light border border-transparent'; + appBarBorder = 'border border-subtle'; } }; @@ -66,9 +66,9 @@ !multiRow && 'grid-cols-[10%_80%_10%] sm:grid-cols-[25%_50%_25%]', 'justify-between lg:grid-cols-[25%_50%_25%]', appBarBorder, - 'm-2 place-items-center rounded-lg p-2 transition-all max-md:p-0', + 'm-2 place-items-center rounded-full p-2 transition-all max-md:p-0', tailwindClasses, - forceDark ? 'bg-immich-dark-gray! text-white' : 'bg-subtle dark:bg-immich-dark-gray', + forceDark ? 'bg-immich-dark-gray! text-white' : 'bg-light-50 dark:bg-immich-dark-gray', ]} >