I took a look at the palette.rs and I see that when you create a Pair::new() ; the code forces a better contrast. What if I don’t want the text be black or white but rather a different shade? Can the pair auto-constrast be disabled?
Yes. Just create the Pair
directly.
Pair{
color: Color::from_rgb8(0x74,0x8d,0x7e),
text: palette.text
}