From e374d5ba611696a487b1b467e9a73a6626d5087a Mon Sep 17 00:00:00 2001 From: spencerwooo Date: Sun, 29 Aug 2021 15:32:27 +0100 Subject: [PATCH] fix markdown bg and text colors --- components/previews/PDFPreview.tsx | 4 ++-- components/previews/TextPreview.tsx | 2 +- styles/markdown-github.css | 6 ++++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/components/previews/PDFPreview.tsx b/components/previews/PDFPreview.tsx index 8148fb6..bdb5142 100644 --- a/components/previews/PDFPreview.tsx +++ b/components/previews/PDFPreview.tsx @@ -26,10 +26,10 @@ const PDFPreview: FunctionComponent<{ file: any }> = ({ file }) => { return ( <>
-
+
= ({ file }) => { return ( <> -
+
{data}
diff --git a/styles/markdown-github.css b/styles/markdown-github.css index 3453a7b..be03a50 100644 --- a/styles/markdown-github.css +++ b/styles/markdown-github.css @@ -990,8 +990,10 @@ @media (prefers-color-scheme: dark) { .markdown-body { - color: #c9d1d9; - background-color: #0d1117; + /* color: #c9d1d9; */ + /* background-color: #0d1117; */ + color: #F3F4F6; + background-color: #18181B; } .markdown-body a { color: #58a6ff;