File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " @guardiafinance/design-system" ,
3- "version" : " 0.0.4 " ,
3+ "version" : " 0.0.5 " ,
44 "type" : " module" ,
55 "exports" : {
66 "." : {
Original file line number Diff line number Diff line change @@ -75,17 +75,17 @@ function NavbarInternal({
7575 onAreaChange ?.( area ) ;
7676 } ;
7777
78- const sidebarStyle = settings . styling ?. background
79- ? { background : settings . styling . background }
80- : { background : "linear-gradient(180deg, #37104C 0%, #4F186D 100%)" } ;
81-
8278 return (
8379 < Sidebar
8480 variant = "sidebar"
8581 collapsible = "icon"
8682 fixed = { settings . styling ?. fixed ?? true }
87- className = { `border-r-0 [&>[data-sidebar=sidebar]]:bg-transparent z-[60] ${ className } ${ settings . styling ?. className || "" } ` }
88- style = { sidebarStyle }
83+ className = { `
84+ border-r-0 [&>[data-sidebar=sidebar]]:bg-transparent z-[60]
85+ ${ settings . styling ?. background ? '' : 'bg-brand-purple' }
86+ ${ className } ${ settings . styling ?. className || "" }
87+ ` }
88+ style = { settings . styling ?. background ? { background : settings . styling . background } : undefined }
8989 >
9090 < When condition = { Boolean ( settings . organization ) } >
9191 < SidebarHeader >
You can’t perform that action at this time.
0 commit comments