From dac86a3e50178778c0bd42bbf940dde94d3529c9 Mon Sep 17 00:00:00 2001 From: Edgaraszs Date: Wed, 17 Jan 2024 17:03:21 +0200 Subject: [PATCH 1/2] style: fix blockstyle style, closes #217 --- src/ui/components/RichText/styles.css.ts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/ui/components/RichText/styles.css.ts b/src/ui/components/RichText/styles.css.ts index a9fe41eb..2499ca9e 100644 --- a/src/ui/components/RichText/styles.css.ts +++ b/src/ui/components/RichText/styles.css.ts @@ -209,6 +209,7 @@ globalStyle(`${content} blockquote`, { borderLeft: '3px solid #b9a2b2', background: '#35001d', padding: '0.5rem 1rem', + color: '#ffffff', '@media': { '(prefers-color-scheme: dark)': { @@ -219,6 +220,24 @@ globalStyle(`${content} blockquote`, { }, }) +globalStyle(`${content} blockquote p`, { + color: '#cbc0c7', +}) + +globalStyle(`${content} blockquote a`, { + color: '#cbc0c7', + + '@media': { + '(prefers-color-scheme: dark)': { + color: '#d397b6', + }, + }, +}) + +globalStyle(`${content} blockquote code`, { + background: '#35021b', +}) + globalStyle(`${content} mark`, { backgroundColor: '#fffe25', }) From d54612f3562aff6d22a317008453e86354709dd8 Mon Sep 17 00:00:00 2001 From: Edgaraszs Date: Wed, 17 Jan 2024 17:07:12 +0200 Subject: [PATCH 2/2] style: remove color --- src/ui/components/RichText/styles.css.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ui/components/RichText/styles.css.ts b/src/ui/components/RichText/styles.css.ts index 2499ca9e..daae2b0c 100644 --- a/src/ui/components/RichText/styles.css.ts +++ b/src/ui/components/RichText/styles.css.ts @@ -209,7 +209,6 @@ globalStyle(`${content} blockquote`, { borderLeft: '3px solid #b9a2b2', background: '#35001d', padding: '0.5rem 1rem', - color: '#ffffff', '@media': { '(prefers-color-scheme: dark)': {