Make container::dark darker and rounded

This commit is contained in:
Héctor Ramón Jiménez 2024-07-20 15:57:58 +02:00
parent 58f361d680
commit 7b0945729a
No known key found for this signature in database
GPG key ID: 7CC46565708259A7

View file

@ -659,8 +659,9 @@ pub fn bordered_box(theme: &Theme) -> Style {
/// A [`Container`] with a dark background and white text.
pub fn dark(_theme: &Theme) -> Style {
Style {
background: Some(color!(0x333333).into()),
background: Some(color!(0x111111).into()),
text_color: Some(Color::WHITE),
border: border::rounded(2),
..Style::default()
}
}