mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
fix: improve the selected sidebar item text color in dark mode (#22640)
This commit is contained in:
parent
01660b20fd
commit
25142bb6c6
1 changed files with 3 additions and 1 deletions
|
|
@ -57,7 +57,9 @@
|
|||
draggable="false"
|
||||
aria-current={isSelected ? 'page' : undefined}
|
||||
class="flex w-full place-items-center gap-4 rounded-e-full py-3 transition-[padding] delay-100 duration-100 hover:cursor-pointer hover:bg-subtle hover:text-immich-primary dark:text-immich-dark-fg dark:hover:bg-immich-dark-gray dark:hover:text-immich-dark-primary
|
||||
{isSelected ? 'bg-immich-primary/10 text-primary hover:bg-immich-primary/10 dark:bg-immich-dark-primary/10' : ''}"
|
||||
{isSelected
|
||||
? 'bg-immich-primary/10 dark:text-primary text-primary hover:bg-immich-primary/10 dark:bg-immich-dark-primary/10'
|
||||
: ''}"
|
||||
>
|
||||
<div class="flex w-full place-items-center gap-4 ps-5 overflow-hidden truncate">
|
||||
<Icon {icon} size="1.5em" class="shrink-0" flipped={flippedLogo} aria-hidden />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue