From f5ca13ed3c48549ab50af46c92d3936a595fb5f4 Mon Sep 17 00:00:00 2001 From: Shriram Balaji Date: Sat, 23 Oct 2021 11:41:58 +0530 Subject: [PATCH] fix: consoleBlock text & bg in dark mode --- src/components/MDX/ConsoleBlock.tsx | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/src/components/MDX/ConsoleBlock.tsx b/src/components/MDX/ConsoleBlock.tsx index b2d1cf04cf5..eca3724965b 100644 --- a/src/components/MDX/ConsoleBlock.tsx +++ b/src/components/MDX/ConsoleBlock.tsx @@ -25,9 +25,7 @@ const Box = ({ className?: string; customStyles?: Record; }) => ( -
+
); Box.displayName = 'Box'; @@ -44,20 +42,18 @@ function ConsoleBlock({level = 'info', children}: ConsoleBlockProps) { return (
-
-
- +
+
+
-
+
Console
- - - + + +