Skip to content

Commit 007090b

Browse files
committed
add dark mode styles for prose elements
1 parent 9b62780 commit 007090b

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

resources/css/app.css

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ nav.docs-navigation > ul > li > ul {
164164
}
165165
}
166166

167+
/* Prose */
167168
.prose h1 {
168169
@apply text-2xl;
169170
}
@@ -241,3 +242,18 @@ nav.docs-navigation > ul > li > ul {
241242
.prose pre code.torchlight .summary-caret {
242243
@apply mr-4;
243244
}
245+
246+
/*
247+
Prose dark mode
248+
*/
249+
.dark .prose strong {
250+
@apply text-gray-300;
251+
}
252+
253+
.dark .prose blockquote {
254+
@apply text-gray-300;
255+
}
256+
257+
.dark .prose code {
258+
@apply text-gray-300;
259+
}

0 commit comments

Comments
 (0)