From 7b0945729a23b90b05a26cd7c10a6a7ba1a46f15 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Sat, 20 Jul 2024 15:57:58 +0200 Subject: Make `container::dark` darker and rounded --- widget/src/container.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'widget/src') diff --git a/widget/src/container.rs b/widget/src/container.rs index b991e0f1..9224f2ce 100644 --- a/widget/src/container.rs +++ b/widget/src/container.rs @@ -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() } } -- cgit