Skip to content

Commit

Permalink
fix: blog dark theme styling (#342)
Browse files Browse the repository at this point in the history
  • Loading branch information
iuioiua authored Jul 5, 2023
1 parent 520a404 commit 107d702
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"imports": {
"@/": "./",
"$fresh/": "https://deno.land/x/fresh@1.2.0/",
"$gfm": "https://deno.land/x/gfm@0.2.3/mod.ts",
"$gfm": "https://deno.land/x/gfm@0.2.4/mod.ts",
"preact": "https://esm.sh/preact@10.15.1",
"preact/": "https://esm.sh/preact@10.15.1/",
"preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.1.0",
Expand Down
2 changes: 1 addition & 1 deletion routes/blog/[slug].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export default function PostPage(props: PageProps<BlogPostPageData>) {
</time>
)}
<div
class="mt-8 markdown-body"
class="mt-8 markdown-body !bg-transparent !dark:text-white"
data-color-mode="auto"
data-light-theme="light"
data-dark-theme="dark"
Expand Down

0 comments on commit 107d702

Please sign in to comment.