mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-23 19:05:16 +02:00
refactor(styles): unify panel and sidebar colors for consistent theming; update hover effects for buttons in the right panel and sidebar
This commit is contained in:
parent
2e1367b00e
commit
cdce6a8f14
7 changed files with 44 additions and 26 deletions
|
|
@ -116,7 +116,7 @@ export function Sidebar({
|
|||
return (
|
||||
<div
|
||||
className={cn(
|
||||
"relative flex h-full flex-col bg-sidebar text-sidebar-foreground overflow-hidden select-none",
|
||||
"relative flex h-full flex-col bg-panel text-sidebar-foreground overflow-hidden select-none",
|
||||
isCollapsed ? "w-[60px] transition-[width] duration-200" : "",
|
||||
!isCollapsed && !isResizing ? "transition-[width] duration-200" : "",
|
||||
className
|
||||
|
|
@ -296,7 +296,7 @@ export function Sidebar({
|
|||
)}
|
||||
|
||||
{/* Footer */}
|
||||
<div className="mt-auto border-t border-border/60">
|
||||
<div className="mt-auto border-t">
|
||||
{/* Platform navigation */}
|
||||
{footerNavItems.length > 0 && (
|
||||
<NavSection
|
||||
|
|
@ -346,7 +346,7 @@ function SidebarUsageFooter({
|
|||
|
||||
const containerClass = cn(
|
||||
"px-3 py-3 space-y-3",
|
||||
hasNavSectionAbove && "border-t border-border/60"
|
||||
hasNavSectionAbove && "border-t"
|
||||
);
|
||||
|
||||
if (isAnonymous) {
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ export function SidebarCollapseButton({
|
|||
variant="ghost"
|
||||
size="icon"
|
||||
onClick={onToggle}
|
||||
className="h-8 w-8 shrink-0 text-muted-foreground hover:text-muted-foreground hover:bg-muted/40"
|
||||
className="h-8 w-8 shrink-0 text-muted-foreground hover:text-muted-foreground hover:bg-accent"
|
||||
>
|
||||
<PanelLeft className="h-4 w-4" />
|
||||
<span className="sr-only">{isCollapsed ? t("expand_sidebar") : t("collapse_sidebar")}</span>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue