File tree 7 files changed +25
-16
lines changed
7 files changed +25
-16
lines changed Original file line number Diff line number Diff line change 18
18
a {
19
19
@apply w-fit
20
20
underline
21
- decoration-white-opaque ;
21
+ decoration-white/50 ;
22
22
}
23
23
24
24
svg {
25
25
@apply h-4
26
26
w-4
27
- text-white-opaque ;
27
+ text-white/50 ;
28
28
}
29
29
}
30
30
Original file line number Diff line number Diff line change 33
33
& .secondary {
34
34
@apply rounded-lg
35
35
text-neutral-800
36
- disabled:opacity-50
37
36
dark:text-neutral-200/100;
38
37
39
38
& : hover {
44
43
}
45
44
46
45
& : disabled {
47
- @apply bg-neutral-100/0;
46
+ @apply bg-neutral-100/0
47
+ opacity-50;
48
48
}
49
49
50
50
& : focus {
Original file line number Diff line number Diff line change 38
38
@apply font-semibold
39
39
text-neutral-900
40
40
underline
41
- hover:text-neutral-800
42
- dark:text-white
43
- dark:hover:text-neutral-200;
41
+ dark:text-white;
42
+
43
+ & : hover {
44
+ @apply text-neutral-800
45
+ dark:text-neutral-200;
46
+ }
44
47
}
45
48
46
49
ol {
Original file line number Diff line number Diff line change 10
10
px-3
11
11
py-2.5
12
12
text-neutral-800
13
- hover:bg-neutral-100
14
13
aria-current:bg-green-600
15
14
aria-current:text-white
16
- dark:text-neutral-200
17
- hover:dark:bg-neutral-900;
15
+ dark:text-neutral-200;
16
+
17
+ & : hover {
18
+ @apply bg-neutral-100
19
+ dark:bg-neutral-900;
20
+ }
18
21
}
Original file line number Diff line number Diff line change @@ -9,9 +9,12 @@ a.item {
9
9
text-sm
10
10
font-regular
11
11
text-neutral-800
12
- hover:text-neutral-900
13
- dark:text-neutral-200
14
- dark:hover:text-white;
12
+ dark:text-neutral-200;
13
+
14
+ & : hover {
15
+ @apply text-neutral-900
16
+ dark:text-white;
17
+ }
15
18
16
19
svg {
17
20
@apply flex-shrink-0
Original file line number Diff line number Diff line change @@ -18,15 +18,15 @@ const WithNavBar: FC = () => {
18
18
19
19
const locale = useLocale ( ) ;
20
20
21
- const toggleCurrnetTheme = ( ) =>
21
+ const toggleCurrentTheme = ( ) =>
22
22
setTheme ( resolvedTheme === 'dark' ? 'light' : 'dark' ) ;
23
23
24
24
return (
25
25
< >
26
26
< WithBanner section = "index" />
27
27
28
28
< NavBar
29
- onThemeTogglerClick = { toggleCurrnetTheme }
29
+ onThemeTogglerClick = { toggleCurrentTheme }
30
30
languages = { {
31
31
currentLanguage : locale ,
32
32
availableLanguages : availableLocales ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"topNavigation" : {
3
3
"learn" : {
4
- "link" : " /learn/getting-started/introduction-to-nodejs " ,
4
+ "link" : " /learn" ,
5
5
"label" : " components.header.links.learn"
6
6
},
7
7
"about" : {
You can’t perform that action at this time.
0 commit comments