Make container::dark darker and rounded
This commit is contained in:
parent
58f361d680
commit
7b0945729a
1 changed files with 2 additions and 1 deletions
|
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue