mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-21 10:19:03 +03:00
LibWeb: Use SystemColor::button_text for ButtonText CSS values
This commit is contained in:
parent
0060fe3095
commit
7df48756d6
Notes:
sideshowbarker
2024-07-16 23:08:48 +09:00
Author: https://github.com/trflynn89 Commit: https://github.com/SerenityOS/serenity/commit/7df48756d6 Pull-request: https://github.com/SerenityOS/serenity/pull/20791
@ -165,7 +165,7 @@ Color IdentifierStyleValue::to_color(Optional<Layout::NodeWithStyle const&> node
|
|||||||
case ValueID::Threedface:
|
case ValueID::Threedface:
|
||||||
return SystemColor::button_face();
|
return SystemColor::button_face();
|
||||||
case ValueID::Buttontext:
|
case ValueID::Buttontext:
|
||||||
return SystemColor::button_face();
|
return SystemColor::button_text();
|
||||||
case ValueID::Canvas:
|
case ValueID::Canvas:
|
||||||
case ValueID::Appworkspace:
|
case ValueID::Appworkspace:
|
||||||
case ValueID::Background:
|
case ValueID::Background:
|
||||||
|
Loading…
Reference in New Issue
Block a user