We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e81db9 commit 4ccb57cCopy full SHA for 4ccb57c
src/models.rs
@@ -10,8 +10,8 @@ use validator::Validate;
10
11
use crate::db::models as db_models;
12
13
-pub type Color = Rgb<palette::encoding::srgb::Srgb, u8>;
14
-pub type Color16 = Rgb<palette::encoding::srgb::Srgb, u16>;
+pub type Color = palette::rgb::LinSrgb<u8>;
+pub type Color16 = palette::rgb::LinSrgb<u16>;
15
16
pub trait ServerConfig {
17
fn port(&self) -> u16;
0 commit comments