From 2a0304cd24d29d1e924de0258df22ad21ea4aa77 Mon Sep 17 00:00:00 2001 From: Puyodead1 Date: Mon, 25 Sep 2023 11:55:44 -0400 Subject: [PATCH] update blockquote style --- src/components/markdown/MarkdownRenderer.tsx | 6 +++--- src/contexts/Theme.tsx | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/components/markdown/MarkdownRenderer.tsx b/src/components/markdown/MarkdownRenderer.tsx index b74ca82..704c467 100644 --- a/src/components/markdown/MarkdownRenderer.tsx +++ b/src/components/markdown/MarkdownRenderer.tsx @@ -22,11 +22,11 @@ const Container = styled.div` blockquote { margin: 2px 0; - padding: 5px; - background-color: var(--background-secondary); + padding: 5px 15px; + background-color: transparent; width: fit-content; border-radius: 4px; - border-inline-start: 4px solid var(--background-tertiary); + border-inline-start: 4px solid var(--interactive); } code.inline { diff --git a/src/contexts/Theme.tsx b/src/contexts/Theme.tsx index 49dbd39..4fc1cc1 100644 --- a/src/contexts/Theme.tsx +++ b/src/contexts/Theme.tsx @@ -54,6 +54,7 @@ export type ThemeVariables = | "warningLight" | "warningDark" | "warningContrastText" + | "interactive" | "scrollbarTrack" | "scrollbarThumb"; @@ -123,6 +124,7 @@ export const ThemePresets: Record = { warningContrastText: "", scrollbarTrack: "", scrollbarThumb: "", + interactive: "", font: font, }, dark: { @@ -165,6 +167,7 @@ export const ThemePresets: Record = { warningContrastText: "#040404", scrollbarTrack: "#232323", scrollbarThumb: "#171717", + interactive: "#424242", font: font, }, };