From a9367d444ab49689043bb2b43a7229f61117ce3b Mon Sep 17 00:00:00 2001 From: ilja Date: Sat, 12 Oct 2024 14:39:33 +0200 Subject: [PATCH] Make text faint for blockquotes In code review it was decided that faint text for blockquotes should be used. I copied how it was done in other places to faint text. When making a theme for *oma-fe, there's a check for how readable things remain. I'm unsure how that exactly works, but timestamps for a status is also faint, so by using the same way of doing this, this should also be taken into account for the theming engine. --- src/components/rich_content/rich_content.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/rich_content/rich_content.scss b/src/components/rich_content/rich_content.scss index baccbfa3..899c9fc8 100644 --- a/src/components/rich_content/rich_content.scss +++ b/src/components/rich_content/rich_content.scss @@ -1,9 +1,13 @@ +@import './../../_variables.scss'; + .RichContent { blockquote { margin: 0.2em 0 0.2em 0.2em; padding: 0 0 0 1em; border-width: 0 0 0 0.3em; border-style: solid; + color: $fallback--faint; + color: var(--faint, $fallback--faint); } pre {