From 5ee2dc3fadbf287ecb60638721eb66175a3c1a9d Mon Sep 17 00:00:00 2001 From: marceline-cramer Date: Wed, 27 Jul 2022 21:48:01 -0600 Subject: [PATCH] Fix Color constants --- crates/types/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/types/src/lib.rs b/crates/types/src/lib.rs index 89eaada..b51a26f 100644 --- a/crates/types/src/lib.rs +++ b/crates/types/src/lib.rs @@ -37,8 +37,8 @@ impl Color { pub const BLACK: Self = Self::new(0., 0., 0., 1.); pub const TRANSPARENT: Self = Self::new(0., 0., 0., 0.); pub const RED: Self = Self::new(1., 0., 0., 1.); - pub const GREEN: Self = Self::new(1., 0., 0., 1.); - pub const BLUE: Self = Self::new(0., 1., 0., 1.); + pub const GREEN: Self = Self::new(0., 1., 0., 1.); + pub const BLUE: Self = Self::new(0., 0., 1., 1.); pub const YELLOW: Self = Self::new(1., 1., 0., 1.); pub const MAGENTA: Self = Self::new(1., 0., 1., 1.); pub const CYAN: Self = Self::new(0., 1., 1., 1.);