Skip to content

Commit 4a604d5

Browse files
committed
chore: hotfixes on styles
1 parent c2bb12f commit 4a604d5

File tree

7 files changed

+25
-16
lines changed

7 files changed

+25
-16
lines changed

components/Common/Banner/index.module.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@
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

components/Common/Button/index.module.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
&.secondary {
3434
@apply rounded-lg
3535
text-neutral-800
36-
disabled:opacity-50
3736
dark:text-neutral-200/100;
3837

3938
&:hover {
@@ -44,7 +43,8 @@
4443
}
4544

4645
&:disabled {
47-
@apply bg-neutral-100/0;
46+
@apply bg-neutral-100/0
47+
opacity-50;
4848
}
4949

5050
&:focus {

components/Common/MetaBar/index.module.css

+6-3
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,12 @@
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 {

components/Common/Pagination/PaginationListItem/index.module.css

+6-3
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,12 @@
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
}

components/Common/ProgressionSidebar/ProgressionSidebarItem/index.module.css

+6-3
Original file line numberDiff line numberDiff 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

components/withNavBar.tsx

+2-2
Original file line numberDiff line numberDiff 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,

navigation.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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": {

0 commit comments

Comments
 (0)