nannou-sketches/sketchlib/src/palettes.rs

21 lines
521 B
Rust
Raw Normal View History

2021-09-02 02:54:38 +00:00
use once_cell::sync::Lazy;
use crate::prelude::*;
pub const TRANS_FLAG: Lazy<[Rgb; 3]> = Lazy::new(|| {
[
rgb(85.0 / 255.0, 205.0 / 255.0, 252.0 / 255.0),
rgb(1.0, 1.0, 1.0),
rgb(247.0 / 255.0, 168.0 / 255.0, 184.0 / 255.0),
]
});
pub const NON_BINARY_FLAG: Lazy<[Rgb; 4]> = Lazy::new(|| {
[
rgb(1.0, 244.0 / 255.0, 48.0 / 255.0),
rgb(1.0, 1.0, 1.0),
rgb(156.0 / 255.0, 89.0 / 255.0, 209.0 / 255.0),
rgb(0.2, 0.2, 0.2),
]
});