From a3ab8dcecda0290fad6e705fbbf5404c9476cf7b Mon Sep 17 00:00:00 2001 From: kperdlich Date: Wed, 23 Feb 2022 22:50:00 +0100 Subject: Shell: Use an opaque color for SyntaxError Use an opaque color for SyntaxError in Syntax Highlighter to avoid transparent errors. --- Userland/Shell/SyntaxHighlighter.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'Userland') diff --git a/Userland/Shell/SyntaxHighlighter.cpp b/Userland/Shell/SyntaxHighlighter.cpp index 24e938ea84..da670e4f84 100644 --- a/Userland/Shell/SyntaxHighlighter.cpp +++ b/Userland/Shell/SyntaxHighlighter.cpp @@ -481,6 +481,7 @@ private: auto& span = span_for_node(node); span.attributes.underline = true; span.attributes.background_color = Color(Color::NamedColor::MidRed).lightened(1.3f).with_alpha(128); + span.attributes.color = m_palette.base_text(); } virtual void visit(const AST::Tilde* node) override { -- cgit v1.2.3