Shell: Use an opaque color for SyntaxError

Use an opaque color for SyntaxError in
Syntax Highlighter to avoid transparent errors.
This commit is contained in:
kperdlich 2022-02-23 22:50:00 +01:00 committed by Linus Groh
parent 2c1252b92e
commit a3ab8dcecd
Notes: sideshowbarker 2024-07-17 18:20:35 +09:00

View File

@ -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
{