diff options
| author | 2022-07-10 15:15:29 +0200 | |
|---|---|---|
| committer | 2022-07-10 15:15:29 +0200 | |
| commit | 4b8ae71b6311f0e4906e445f099a3fdaf4623212 (patch) | |
| tree | fc8211da5e4c1286b1f1b440de882efc9a6fa205 /style/src/theme | |
| parent | 53d93a37dd2b0604897ef3cac9de5acb601ed230 (diff) | |
| download | iced-4b8ae71b6311f0e4906e445f099a3fdaf4623212.tar.gz iced-4b8ae71b6311f0e4906e445f099a3fdaf4623212.tar.bz2 iced-4b8ae71b6311f0e4906e445f099a3fdaf4623212.zip  | |
Add and purify `arc` example by @ThatsNoMoon
Diffstat (limited to '')
| -rw-r--r-- | style/src/theme/palette.rs | 10 | 
1 files changed, 5 insertions, 5 deletions
diff --git a/style/src/theme/palette.rs b/style/src/theme/palette.rs index cb8bb6e6..81aa9cc7 100644 --- a/style/src/theme/palette.rs +++ b/style/src/theme/palette.rs @@ -5,11 +5,11 @@ use palette::{FromColor, Hsl, Mix, RelativeContrast, Srgb};  #[derive(Debug, Clone, Copy, PartialEq)]  pub struct Palette { -    background: Color, -    text: Color, -    primary: Color, -    success: Color, -    danger: Color, +    pub background: Color, +    pub text: Color, +    pub primary: Color, +    pub success: Color, +    pub danger: Color,  }  impl Palette {  | 
