Add Shadow to container::Appearance
This commit is contained in:
parent
e736038d5f
commit
bf375587aa
4 changed files with 11 additions and 6 deletions
|
|
@ -1,5 +1,5 @@
|
|||
//! Change the appearance of a container.
|
||||
use crate::core::{Background, Border, Color, Pixels};
|
||||
use crate::core::{Background, Border, Color, Pixels, Shadow};
|
||||
|
||||
/// The appearance of a container.
|
||||
#[derive(Debug, Clone, Copy, Default)]
|
||||
|
|
@ -10,6 +10,8 @@ pub struct Appearance {
|
|||
pub background: Option<Background>,
|
||||
/// The [`Border`] of the container.
|
||||
pub border: Border,
|
||||
/// The [`Shadow`] of the container.
|
||||
pub shadow: Shadow,
|
||||
}
|
||||
|
||||
impl Appearance {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue