1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 04:17:35 +00:00

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

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
{