From 8d3115d878dcc02a6754d5bd1939cf95bee34f6b Mon Sep 17 00:00:00 2001 From: danysmall Date: Wed, 9 Nov 2022 17:35:25 +0300 Subject: [PATCH] Updated style for MD code view --- src/components/Markdown.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/Markdown.tsx b/src/components/Markdown.tsx index f8e05b7..dc39c62 100755 --- a/src/components/Markdown.tsx +++ b/src/components/Markdown.tsx @@ -14,9 +14,8 @@ import Heading from "./typography/Heading"; /* Code */ /* -------------------------------------------------------------------------- */ import { Prism as SyntaxHighlighter } from "react-syntax-highlighter"; -import { dark } from "react-syntax-highlighter/dist/esm/styles/prism"; +import { oneLight } from "react-syntax-highlighter/dist/esm/styles/prism"; import Link from "./typography/Link"; -import style from "react-syntax-highlighter/dist/esm/styles/hljs/a11y-dark"; export type Props = { markdown: string; @@ -153,7 +152,7 @@ const Markdown = ({ markdown }: Props) => { return !inline && match ? (