@@ -93,7 +93,7 @@ export class Navbar extends Component<Props> {
93
93
class = { classNames (
94
94
'no-underline block px-4 py-2 hover:text-primary hover:bg-slate-100 dark:hover:bg-zinc-600 rounded-md p-2 dark:text-foreground' ,
95
95
{
96
- 'text-gray -600 md:text-gray -800' : this . state . active !== navbarItemChild . value ,
96
+ 'text-zinc -600 md:text-zinc -800' : this . state . active !== navbarItemChild . value ,
97
97
'text-primary md:text-primary' : this . state . active === navbarItemChild . value ,
98
98
'dark:bg-zinc-200/20' : this . state . active === navbarItemChild . value ,
99
99
} ,
@@ -102,7 +102,7 @@ export class Navbar extends Component<Props> {
102
102
href = { `${ navbarItemChild . href } ` }
103
103
>
104
104
{ navbarItemChild . text }
105
- < div class = "w-3 h-3 inline-block text-gray -600 ml-1" >
105
+ < div class = "w-3 h-3 inline-block text-zinc -600 ml-1" >
106
106
< svg xmlns = "http://www.w3.org/2000/svg" fill = "currentColor" viewBox = "0 0 24 24" class = "w-full h-full" >
107
107
< path d = "M0 0h24v24H0V0z" fill = "none" />
108
108
< path d = "M9 5v2h6.59L4 18.59 5.41 20 17 8.41V15h2V5H9z" />
@@ -119,7 +119,7 @@ export class Navbar extends Component<Props> {
119
119
class = { classNames (
120
120
'no-underline block px-4 py-2 hover:text-primary hover:bg-slate-100 dark:hover:bg-zinc-600 rounded-md p-2 dark:text-foreground' ,
121
121
{
122
- 'text-gray -600 md:text-gray -800' : this . state . active !== navbarItemChild . value ,
122
+ 'text-zinc -600 md:text-zinc -800' : this . state . active !== navbarItemChild . value ,
123
123
'text-primary md:text-primary' : this . state . active === navbarItemChild . value ,
124
124
'dark:bg-zinc-200/20' : this . state . active === navbarItemChild . value ,
125
125
} ,
@@ -140,7 +140,7 @@ export class Navbar extends Component<Props> {
140
140
onClick = { this . onClick }
141
141
data-collapse-toggle = "navbar-multi-level"
142
142
type = "button"
143
- class = "inline-flex items-center p-2 w-10 h-10 justify-center text-sm text-gray -500 rounded-lg md:hidden hover:bg-gray -100 focus:outline-none focus:ring-2 focus:ring-gray -200 dark:text-gray -400 dark:hover:bg-gray -700 dark:focus:ring-gray -600"
143
+ class = "inline-flex items-center p-2 w-10 h-10 justify-center text-sm text-zinc -500 rounded-lg md:hidden hover:bg-zinc -100 focus:outline-none focus:ring-2 focus:ring-zinc -200 dark:text-zinc -400 dark:hover:bg-zinc -700 dark:focus:ring-zinc -600"
144
144
aria-controls = "navbar-multi-level"
145
145
aria-expanded = "false"
146
146
>
@@ -199,7 +199,7 @@ export class Navbar extends Component<Props> {
199
199
} ) }
200
200
>
201
201
< a
202
- class = "block text-gray -800 cursor-pointer hover:text-primary p-2 md:py-1"
202
+ class = "block text-zinc -800 cursor-pointer hover:text-primary p-2 md:py-1"
203
203
target = { navbarItem . href ? navbarItem . target || '_blank' : '_self' }
204
204
unsafeHTML = { navbarItem . inner ? { html : navbarItem . inner } : null }
205
205
href = {
@@ -221,7 +221,7 @@ export class Navbar extends Component<Props> {
221
221
{ navbarItem . text }
222
222
</ span >
223
223
{ navbarItem . href && (
224
- < div class = "w-3 h-3 inline-block text-gray -600 ml-1 dark:text-foreground" >
224
+ < div class = "w-3 h-3 inline-block text-zinc -600 ml-1 dark:text-foreground" >
225
225
< svg
226
226
xmlns = "http://www.w3.org/2000/svg"
227
227
fill = "currentColor"
@@ -251,7 +251,7 @@ export class Navbar extends Component<Props> {
251
251
</ svg >
252
252
) }
253
253
{ navbarItem . children && (
254
- < ul class = "md:absolute md:left-1/2 md:-translate-x-1/2 w-auto mt-2 text-sm md:text-base dark:bg-background bg-[#fafafa] md:border static text-gray -600 overflow-hidden md:shadow-md md:invisible group-hover:visible transition-all duration-150 delay-100 rounded-md hover:text-primary" >
254
+ < ul class = "md:absolute md:left-1/2 md:-translate-x-1/2 w-auto mt-2 text-sm md:text-base dark:bg-background bg-[#fafafa] md:border static text-zinc -600 overflow-hidden md:shadow-md md:invisible group-hover:visible transition-all duration-150 delay-100 rounded-md hover:text-primary" >
255
255
{ navbarItem . children . map ( ( navbarItemChild : NavbarItem ) => {
256
256
return this . renderNavbarItemChild ( navbarItemChild )
257
257
} ) }
0 commit comments