File tree Expand file tree Collapse file tree 7 files changed +25
-16
lines changed Expand file tree Collapse file tree 7 files changed +25
-16
lines changed Original file line number Diff line number Diff line change 1818 a {
1919 @apply w-fit
2020 underline
21- decoration-white-opaque ;
21+ decoration-white/50 ;
2222 }
2323
2424 svg {
2525 @apply h-4
2626 w-4
27- text-white-opaque ;
27+ text-white/50 ;
2828 }
2929}
3030
Original file line number Diff line number Diff line change 3333 & .secondary {
3434 @apply rounded-lg
3535 text-neutral-800
36- disabled:opacity-50
3736 dark:text-neutral-200/100;
3837
3938 & : hover {
4443 }
4544
4645 & : disabled {
47- @apply bg-neutral-100/0;
46+ @apply bg-neutral-100/0
47+ opacity-50;
4848 }
4949
5050 & : focus {
Original file line number Diff line number Diff line change 3838 @apply font-semibold
3939 text-neutral-900
4040 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+ }
4447 }
4548
4649 ol {
Original file line number Diff line number Diff line change 1010 px-3
1111 py-2.5
1212 text-neutral-800
13- hover:bg-neutral-100
1413 aria-current:bg-green-600
1514 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+ }
1821}
Original file line number Diff line number Diff line change @@ -9,9 +9,12 @@ a.item {
99 text-sm
1010 font-regular
1111 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+ }
1518
1619 svg {
1720 @apply flex-shrink-0
Original file line number Diff line number Diff line change @@ -18,15 +18,15 @@ const WithNavBar: FC = () => {
1818
1919 const locale = useLocale ( ) ;
2020
21- const toggleCurrnetTheme = ( ) =>
21+ const toggleCurrentTheme = ( ) =>
2222 setTheme ( resolvedTheme === 'dark' ? 'light' : 'dark' ) ;
2323
2424 return (
2525 < >
2626 < WithBanner section = "index" />
2727
2828 < NavBar
29- onThemeTogglerClick = { toggleCurrnetTheme }
29+ onThemeTogglerClick = { toggleCurrentTheme }
3030 languages = { {
3131 currentLanguage : locale ,
3232 availableLanguages : availableLocales ,
Original file line number Diff line number Diff line change 11{
22 "topNavigation" : {
33 "learn" : {
4- "link" : " /learn/getting-started/introduction-to-nodejs " ,
4+ "link" : " /learn" ,
55 "label" : " components.header.links.learn"
66 },
77 "about" : {
You can’t perform that action at this time.
0 commit comments