Skip to main content

check_category

Function check_category 

Source
pub fn check_category(tokens: &ResolvedTokens) -> Vec<Separation>
Expand description

Checks that the categorical palette’s slots are told apart: every two at CATEGORY_ANY and neighbours at CATEGORY_ADJACENT with full colour vision, neighbours at CATEGORY_CVD_ADJACENT with protanopia and deuteranopia. Empty when all pass. Their contrast with the surfaces is in PAIRS.