mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 22:58:11 +00:00
StylePainter: Tweak surface highlight color to match the system warm gray.
This commit is contained in:
parent
598715d4cc
commit
23d45532fc
1 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
|||
void StylePainter::paint_tab_button(Painter& painter, const Rect& rect, bool active, bool hovered, bool enabled)
|
||||
{
|
||||
Color base_color = Color::WarmGray;
|
||||
Color highlight_color2 = Color::from_rgb(0xdfdfdf);
|
||||
Color highlight_color2 = Color::from_rgb(0xe8e7e4);
|
||||
Color shadow_color1 = Color::from_rgb(0x808080);
|
||||
Color shadow_color2 = Color::from_rgb(0x404040);
|
||||
|
||||
|
@ -45,7 +45,7 @@ void StylePainter::paint_tab_button(Painter& painter, const Rect& rect, bool act
|
|||
static void paint_button_new(Painter& painter, const Rect& rect, bool pressed, bool checked, bool hovered, bool enabled)
|
||||
{
|
||||
Color button_color = Color::WarmGray;
|
||||
Color highlight_color2 = Color::from_rgb(0xdfdfdf);
|
||||
Color highlight_color2 = Color::from_rgb(0xe8e7e4);
|
||||
Color shadow_color1 = Color::from_rgb(0x808080);
|
||||
Color shadow_color2 = Color::from_rgb(0x404040);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue