Add and purify arc example by @ThatsNoMoon
This commit is contained in:
parent
53d93a37dd
commit
4b8ae71b63
5 changed files with 155 additions and 5 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue