From 191fff7902ebda165122c7c991c86c3002b7c4b3 Mon Sep 17 00:00:00 2001 From: Shriram Balaji Date: Tue, 26 Oct 2021 19:17:58 +0530 Subject: [PATCH] fix: consoleBlock text & bg in dark mode (#3983) --- beta/src/components/MDX/ConsoleBlock.tsx | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/beta/src/components/MDX/ConsoleBlock.tsx b/beta/src/components/MDX/ConsoleBlock.tsx index 810ab5d7..9195cdac 100644 --- a/beta/src/components/MDX/ConsoleBlock.tsx +++ b/beta/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
- - - + + +