From bf375587aa52808cdabf4191571f20784315ea99 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Sat, 20 Jan 2024 13:34:07 +0100 Subject: Add `Shadow` to `container::Appearance` --- style/src/container.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'style/src/container.rs') diff --git a/style/src/container.rs b/style/src/container.rs index a490c187..00649c25 100644 --- a/style/src/container.rs +++ b/style/src/container.rs @@ -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, /// The [`Border`] of the container. pub border: Border, + /// The [`Shadow`] of the container. + pub shadow: Shadow, } impl Appearance { -- cgit