Darken the desktop base palette.

This commit is contained in:
2026-08-15 11:19:50 +02:00
parent ef9a55c2a2
commit 7c2a5bf8c8
19 changed files with 127 additions and 111 deletions

View File

@@ -178,16 +178,16 @@ fn theme_button_style(selected: bool, status: button::Status) -> button::Style {
background: Some(Background::Color(if selected {
Color::from_rgb8(0x1F, 0x45, 0x63)
} else if hovered {
Color::from_rgb8(0x32, 0x32, 0x35)
inputs::HOVER_BG
} else {
Color::from_rgb8(0x24, 0x24, 0x26)
inputs::FIELD_BG
})),
text_color: Color::from_rgb8(0xE4, 0xE4, 0xE4),
border: Border {
color: if selected {
Color::from_rgb8(0x00, 0x7F, 0xD4)
} else {
Color::from_rgb8(0x3C, 0x3C, 0x3C)
inputs::BORDER_COLOR
},
width: if selected { 2.0 } else { 1.0 },
radius: 6.0.into(),