From bd5ce1bfd34c4f493e82c438cdf537cc041f1b15 Mon Sep 17 00:00:00 2001 From: Danilo Leal <67129314+danilo-leal@users.noreply.github.com> Date: Fri, 14 Jun 2024 10:00:09 -0300 Subject: [PATCH] de-saturate the code block a bit --- docs/src/modules/components/DemoEditor.tsx | 2 +- docs/src/modules/components/ThemeViewer.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/modules/components/DemoEditor.tsx b/docs/src/modules/components/DemoEditor.tsx index bdee7f8daaa130..25680a5d755ff3 100644 --- a/docs/src/modules/components/DemoEditor.tsx +++ b/docs/src/modules/components/DemoEditor.tsx @@ -16,7 +16,7 @@ const StyledMarkdownElement = styled(MarkdownElement)(({ theme }) => [ maxHeight: 'min(68vh, 1000px)', overflow: 'auto', marginTop: -1, - backgroundColor: 'hsl(210, 35%, 9%)', // a special, one-off, color tailored for the code blocks using MUI's branding theme blue palette as the starting point. It has a less saturaded color but still maintaining a bit of the blue tint. + backgroundColor: 'hsl(210, 25%, 9%)', // a special, one-off, color tailored for the code blocks using MUI's branding theme blue palette as the starting point. It has a less saturaded color but still maintaining a bit of the blue tint. border: 0, colorScheme: 'dark', '&:hover': { diff --git a/docs/src/modules/components/ThemeViewer.tsx b/docs/src/modules/components/ThemeViewer.tsx index f9f4a07d22fe54..8d8b9629ebc548 100644 --- a/docs/src/modules/components/ThemeViewer.tsx +++ b/docs/src/modules/components/ThemeViewer.tsx @@ -210,7 +210,7 @@ export default function ThemeViewer({ sx={{ color: '#FFF', p: 1.5, - bgcolor: 'hsl(210, 35%, 9%)', // one-off code container color + bgcolor: 'hsl(210, 25%, 9%)', // one-off code container color borderRadius: 3, border: `1px solid ${blueDark[700]}`, }}