mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 02:07: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:
parent
2c1252b92e
commit
a3ab8dcecd
1 changed files with 1 additions and 0 deletions
|
@ -481,6 +481,7 @@ private:
|
||||||
auto& span = span_for_node(node);
|
auto& span = span_for_node(node);
|
||||||
span.attributes.underline = true;
|
span.attributes.underline = true;
|
||||||
span.attributes.background_color = Color(Color::NamedColor::MidRed).lightened(1.3f).with_alpha(128);
|
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
|
virtual void visit(const AST::Tilde* node) override
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue