Skip to main content

over_image_ratio

Function over_image_ratio 

Source
pub fn over_image_ratio(tokens: &ResolvedTokens, pair: &Pair) -> Option<f32>
Expand description

The ratio of a pair of OVER_IMAGES in a theme, if both tokens are colours: its background painted over black and over white, the poorer of the two.