From b294f732c8c6cdc1be3a802a4727f245302b32d4 Mon Sep 17 00:00:00 2001 From: James Ritchie Date: Fri, 5 Jul 2024 13:46:13 +0100 Subject: [PATCH] code theme has a transparent background so it works on any background --- apps/webapp/app/components/code/CodeBlock.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/webapp/app/components/code/CodeBlock.tsx b/apps/webapp/app/components/code/CodeBlock.tsx index 2035e722d..1c2cf2036 100644 --- a/apps/webapp/app/components/code/CodeBlock.tsx +++ b/apps/webapp/app/components/code/CodeBlock.tsx @@ -59,7 +59,7 @@ const extraLinesWhenClipping = 0.35; const defaultTheme: PrismTheme = { plain: { color: "#9C9AF2", - backgroundColor: "#121317", + backgroundColor: "rgba(0, 0, 0, 0)", }, styles: [ {