summaryrefslogtreecommitdiffstats
path: root/widget
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-07-20 15:57:58 +0200
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-07-20 15:57:58 +0200
commit7b0945729a23b90b05a26cd7c10a6a7ba1a46f15 (patch)
tree3d317bf5c5bd455278ad78de12f87f740882db0b /widget
parent58f361d6806084c121c72e8752274c1cdf72fefc (diff)
downloadiced-7b0945729a23b90b05a26cd7c10a6a7ba1a46f15.tar.gz
iced-7b0945729a23b90b05a26cd7c10a6a7ba1a46f15.tar.bz2
iced-7b0945729a23b90b05a26cd7c10a6a7ba1a46f15.zip
Make `container::dark` darker and rounded
Diffstat (limited to 'widget')
-rw-r--r--widget/src/container.rs3
1 files changed, 2 insertions, 1 deletions
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()
}
}