diff --git a/components/Header/DesktopNav.module.css b/components/Header/DesktopNav.module.css index 1a75d59eb..87a452953 100644 --- a/components/Header/DesktopNav.module.css +++ b/components/Header/DesktopNav.module.css @@ -1,12 +1,12 @@ -a.light[href], -a.dark[href] { +.light.light[class], +.dark.dark[class] { @apply hover:text-primary focus:text-primary; } -a.light[href] { +.light.light[class] { @apply text-light; } -a.dark[href] { +.dark.dark[class] { @apply text-dark; } diff --git a/components/Header/DesktopNav.tsx b/components/Header/DesktopNav.tsx index 2686d2054..3100f1cbd 100644 --- a/components/Header/DesktopNav.tsx +++ b/components/Header/DesktopNav.tsx @@ -66,9 +66,9 @@ const DesktopNav = ({ fixed, posts }: Props): JSX.Element => ( key: 'theme', label: ( ), diff --git a/components/Header/__snapshots__/Header.test.tsx.snap b/components/Header/__snapshots__/Header.test.tsx.snap index f19dbddd1..057c32658 100644 --- a/components/Header/__snapshots__/Header.test.tsx.snap +++ b/components/Header/__snapshots__/Header.test.tsx.snap @@ -330,7 +330,7 @@ exports[`Header should render correctly (snapshot) 1`] = ` >