Implement additional helpers for Border and container::Appearance
This commit is contained in:
parent
b8f05eb8dd
commit
7ece5eea50
12 changed files with 71 additions and 35 deletions
|
|
@ -543,7 +543,7 @@ fn styled(pair: palette::Pair) -> Appearance {
|
|||
Appearance {
|
||||
background: Some(Background::Color(pair.color)),
|
||||
text_color: pair.text,
|
||||
border: Border::with_radius(2),
|
||||
border: Border::rounded(2),
|
||||
..Appearance::default()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue