Skip to content

Commit f57e049

Browse files
authored
docs: update rehype and make accessibility CSS changes (#7358)
1 parent f3aec78 commit f57e049

File tree

3 files changed

+144
-59
lines changed

3 files changed

+144
-59
lines changed

packages/docs/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
"qwik-image": "0.0.10",
4444
"react": "18.3.1",
4545
"react-dom": "18.3.1",
46-
"rehype-pretty-code": "0.11.0",
47-
"shiki": "0.14.7",
46+
"rehype-pretty-code": "0.14.0",
47+
"shiki": "1.29.1",
4848
"snarkdown": "2.0.0",
4949
"tailwindcss": "3.4.6",
5050
"terser": "5.31.3",

packages/docs/src/routes/docs/docs.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,10 @@ h6 a:hover .icon {
206206
font-weight: bold;
207207
}
208208

209+
[data-highlighted-chars] {
210+
background: #ac7ef4;
211+
}
212+
209213
.docs article pre {
210214
padding: 18px 15px;
211215
overflow: auto;

0 commit comments

Comments
 (0)