summaryrefslogtreecommitdiffstats
path: root/style
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-07-10 15:15:29 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-07-10 15:15:29 +0200
commit4b8ae71b6311f0e4906e445f099a3fdaf4623212 (patch)
treefc8211da5e4c1286b1f1b440de882efc9a6fa205 /style
parent53d93a37dd2b0604897ef3cac9de5acb601ed230 (diff)
downloadiced-4b8ae71b6311f0e4906e445f099a3fdaf4623212.tar.gz
iced-4b8ae71b6311f0e4906e445f099a3fdaf4623212.tar.bz2
iced-4b8ae71b6311f0e4906e445f099a3fdaf4623212.zip
Add and purify `arc` example by @ThatsNoMoon
Diffstat (limited to 'style')
-rw-r--r--style/src/theme/palette.rs10
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 {