Draft Instruction DSL in iced_test
This commit is contained in:
parent
327522eb99
commit
921467b5be
12 changed files with 1246 additions and 631 deletions
|
|
@ -698,6 +698,7 @@ pub fn rounded_box(theme: &Theme) -> Style {
|
|||
|
||||
Style {
|
||||
background: Some(palette.background.weak.color.into()),
|
||||
text_color: Some(palette.background.weak.text),
|
||||
border: border::rounded(2),
|
||||
..Style::default()
|
||||
}
|
||||
|
|
@ -709,6 +710,7 @@ pub fn bordered_box(theme: &Theme) -> Style {
|
|||
|
||||
Style {
|
||||
background: Some(palette.background.weakest.color.into()),
|
||||
text_color: Some(palette.background.weakest.text),
|
||||
border: Border {
|
||||
width: 1.0,
|
||||
radius: 5.0.into(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue