Implement additional helpers for Border and container::Appearance

This commit is contained in:
Héctor Ramón Jiménez 2024-03-07 21:02:17 +01:00
parent b8f05eb8dd
commit 7ece5eea50
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
12 changed files with 71 additions and 35 deletions

View file

@ -1692,10 +1692,10 @@ pub fn default(theme: &Theme, status: Status) -> Appearance {
let scrollbar = Scrollbar {
background: Some(palette.background.weak.color.into()),
border: Border::with_radius(2),
border: Border::rounded(2),
scroller: Scroller {
color: palette.background.strong.color,
border: Border::with_radius(2),
border: Border::rounded(2),
},
};