🎨 fix: Use presentation background for header buttons (#11147)

This commit is contained in:
Joel Hirzel 2025-12-30 03:27:50 +01:00 committed by GitHub
parent eb1a59d2fd
commit 131eab7bff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View file

@ -29,7 +29,7 @@ export default function HeaderNewChat() {
variant="outline"
data-testid="wide-header-new-chat-button"
aria-label={localize('com_ui_new_chat')}
className="rounded-xl duration-0 hover:bg-surface-active-alt max-md:hidden"
className="rounded-xl bg-presentation duration-0 hover:bg-surface-active-alt max-md:hidden"
onClick={clickHandler}
>
<NewChatIcon />

View file

@ -44,7 +44,10 @@ export default function OpenSidebar({
aria-label={localize('com_nav_open_sidebar')}
aria-expanded={false}
aria-controls="chat-history-nav"
className={cn('rounded-xl duration-0 hover:bg-surface-active-alt', className)}
className={cn(
'rounded-xl bg-presentation duration-0 hover:bg-surface-active-alt',
className,
)}
onClick={handleClick}
>
<Sidebar aria-hidden="true" />