Fix some more styles

This commit is contained in:
Gregory Schier
2024-08-15 05:58:09 -07:00
parent 795aaae2f5
commit 6bc697e4a7
6 changed files with 11 additions and 12 deletions

View File

@@ -872,9 +872,8 @@ function SidebarItem({
className={classNames(
'w-full flex gap-1.5 items-center h-xs px-1.5 rounded-md focus-visible:ring focus-visible:ring-border-focus outline-0',
editing && 'ring-1 focus-within:ring-focus',
isActive && 'bg-surface-highlight-secondary text',
!isActive &&
'text-text-subtle group-hover/item:text-text active:bg-surface-highlight-secondary',
isActive && 'bg-surface-highlight text',
!isActive && 'text-text-subtle group-hover/item:text-text active:bg-surface-highlight',
selected && useProminentStyles && '!bg-surface-active',
)}
>