File tree Expand file tree Collapse file tree
apps/showcase/demo/styled/drawer Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -77,21 +77,20 @@ export default function BasicDemo() {
7777 < Menu . List className = "gap-0" >
7878 { navSections . map ( ( section , sectionIndex ) => (
7979 < React . Fragment key = { section . label } >
80- < Menu . Label className = { `text-primary font-semibold text-xs tracking-wider px-0 py-1${ sectionIndex > 0 ? ' mt-4' : '' } ` } >
80+ < Menu . Label
81+ className = { `text-surface-500 dark:text-surface-500 font-semibold text-xs tracking-wider py-1${ sectionIndex > 0 ? ' mt-4' : '' } ` }
82+ >
8183 { section . label }
8284 </ Menu . Label >
8385 { section . items . map ( ( item ) => (
8486 < Menu . Item
8587 key = { item . label }
86- className = { `text-sm hover:bg-transparent px-0 py-2.5${ item . active ? ' text-primary font-semibold' : '' } ` }
88+ className = { `text-sm py-2.5${ item . active ? ' text-primary font-semibold' : '' } ` }
8789 >
8890 < i className = { `${ item . icon } text-base${ item . active ? ' text-primary' : '' } ` } />
8991 { item . label }
9092 { item . badge && (
91- < Badge
92- shape = "circle"
93- className = "ml-auto"
94- >
93+ < Badge shape = "circle" className = "ml-auto" >
9594 { item . badge }
9695 </ Badge >
9796 ) }
@@ -100,9 +99,11 @@ export default function BasicDemo() {
10099 </ React . Fragment >
101100 ) ) }
102101
103- < Menu . Label className = "text-primary font-semibold text-xs tracking-wider px-0 py-1 mt-4" > RECENT</ Menu . Label >
102+ < Menu . Label className = "text-surface-500 dark:text-surface-500 font-semibold text-xs tracking-wider py-1 mt-4" >
103+ RECENT
104+ </ Menu . Label >
104105 { recentItems . map ( ( item ) => (
105- < Menu . Item key = { item . label } className = "text-sm hover:bg-transparent px-0 py-2.5" >
106+ < Menu . Item key = { item . label } className = "text-sm py-2.5" >
106107 < span className = { `${ item . color } w-2 h-2 rounded-full shrink-0` } />
107108 < span className = "truncate" > { item . label } </ span >
108109 < span className = "text-xs text-surface-400 ml-auto shrink-0" > { item . time } </ span >
You can’t perform that action at this time.
0 commit comments