Skip to content

Commit

Permalink
Accessibility issues for text and navbar in light mode (shuding#1858)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Khang <brew4k@gmail.com>
Co-authored-by: Dimitri POSTOLOV <en3m@ya.ru>
Co-authored-by: Dimitri POSTOLOV <dmytropostolov@gmail.com>
  • Loading branch information
5 people committed May 24, 2023
1 parent 95c2893 commit 1c1d3af
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/little-mirrors-push.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'nextra-theme-blog': patch
---

accessibility issues for text and navbar in light mode
3 changes: 2 additions & 1 deletion packages/nextra-theme-blog/src/nav.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { useTheme } from 'next-themes'
import Link from 'next/link'
import type { ReactElement } from 'react'
import ThemeSwitch from './theme-switch'
import { useTheme } from 'next-themes'
import { useBlogContext } from './blog-context'
import ThemeSwitch from './theme-switch'
import { collectPostsAndNavs } from './utils/collect'
Expand Down
1 change: 1 addition & 0 deletions packages/nextra-theme-blog/src/posts-layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { MDXTheme } from './mdx-theme'
import Nav from './nav'
import { collectPostsAndNavs } from './utils/collect'
import getTags from './utils/get-tags'
import { useTheme } from 'next-themes'

export const PostsLayout = ({
children
Expand Down

0 comments on commit 1c1d3af

Please sign in to comment.