Skip to content

Commit b43560f

Browse files
authored
Merge pull request #363 from code-hike/update-nextra-example
Update nextra example
2 parents 60b05d7 + 4bc07d4 commit b43560f

File tree

3 files changed

+188
-53
lines changed

3 files changed

+188
-53
lines changed

examples/nextra/package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@
99
},
1010
"dependencies": {
1111
"@code-hike/mdx": "^0.8.2",
12-
"next": "13.1.2",
13-
"nextra": "2.2.3",
14-
"nextra-theme-docs": "2.2.3",
12+
"next": "13.3.4",
13+
"nextra": "2.4.2",
14+
"nextra-theme-docs": "2.4.2",
1515
"react": "^18.1.0",
16-
"react-dom": "^18.1.0"
16+
"react-dom": "^18.1.0",
17+
"shiki": "^0.10.1"
1718
}
1819
}

packages/mdx/src/utils/mixins.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,8 @@
88
padding: 0;
99
border: none;
1010
font-size: inherit;
11-
outline-color: currentColor;
11+
12+
&:focus-visible {
13+
outline-color: currentColor;
14+
}
1215
}

0 commit comments

Comments
 (0)