Skip to content

Commit 89d9cb0

Browse files
authored
Merge pull request #7 from devforth/feature/AdminForth/1358/add-dark-theme-support-for-mar
fix: add dark theme support for markdown renderer
2 parents 99523a6 + f68605b commit 89d9cb0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

custom/MarkdownRenderer.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
prose-hr:my-1
1313
leading-tight
1414
dark: dark:text-gray-300
15+
dark:[&_th]:text-white
16+
dark:[&_td]:text-white
17+
dark:[&_thead]:border-b-gray-600
18+
dark:[&_code]:text-white
1519
dark:[&_h1]:text-white dark:[&_h2]:text-gray-100 dark:[&_h3]:text-gray-200
1620
dark:[&_a]:text-white dark:[&_a:hover]:text-white
1721
dark:[&_pre]:bg-black dark:[&_pre]:border dark:[&_border-slate-800]

0 commit comments

Comments
 (0)