mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-28 21:54:40 +03: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
Notes:
sideshowbarker
2024-07-17 18:20:35 +09:00
Author: https://github.com/kperdlich Commit: https://github.com/SerenityOS/serenity/commit/a3ab8dcecd Pull-request: https://github.com/SerenityOS/serenity/pull/12747
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user