Skip to content

Commit 6e35871

Browse files
committed
fix: build error
1 parent df05804 commit 6e35871

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

app/globals.css

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -192,14 +192,15 @@
192192
}
193193

194194
/* shiki multi-theme */
195-
html[class='dark'] code[data-theme*=' '],
196-
html[class='dark'] code[data-theme*=' '] span {
195+
/* https://github.com/vercel/next.js/issues/76052#issuecomment-2676709996 */
196+
html[class='dark'] .prose code[data-theme],
197+
html[class='dark'] .prose code[data-theme] span {
197198
color: var(--shiki-dark);
198199
background-color: var(--shiki-dark-bg);
199200
}
200201

201-
html[class='light'] code[data-theme*=' '],
202-
html[class='light'] code[data-theme*=' '] span {
202+
html[class='light'] .prose code[data-theme],
203+
html[class='light'] .prose code[data-theme] span {
203204
color: var(--shiki-light);
204205
background-color: var(--shiki-light-bg);
205206
}

0 commit comments

Comments
 (0)