File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/gitbook/src/components/SiteSectionTabs Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ export function SiteSectionTabs(props: {
93
93
href = { urls . published ?? '' }
94
94
ref = { isActive ? currentTabRef : null }
95
95
icon = { icon ? (
96
- < SectionIcon className = { tcls ( "text-primary/7 dark:text-primary-400/7 " , isActive && "text-inherit" ) } section = { section } />
96
+ < SectionIcon className = { tcls ( "text-inherit opacity-8 " , isActive && "text-inherit opacity-10 " ) } section = { section } />
97
97
) : null }
98
98
/>
99
99
) } ) }
@@ -138,7 +138,7 @@ const Tab = React.forwardRef<
138
138
return (
139
139
< Link
140
140
className = { tcls (
141
- 'px-3 py-1 my-2 rounded straight-corners:rounded-none transition-colors' ,
141
+ 'group/tab px-3 py-1 my-2 rounded straight-corners:rounded-none transition-colors' ,
142
142
active && 'text-primary dark:text-primary-400' ,
143
143
! active &&
144
144
'text-dark/8 hover:bg-dark/1 hover:text-dark/9 dark:text-light/8 dark:hover:bg-light/2 dark:hover:text-light/9' ,
You can’t perform that action at this time.
0 commit comments