New functions for generating secondary palettes for patterns and text: get_secondary_colours() and get_text_colours(). Secondary and text colours have been chosen to meet minimum accessibility standards for contrast.
New functions for computing relative luminance and contrast ratio: relative_luminance() and contrast_ratio(). These functions can be used to check that colour combinations meet accessibility standards. (1)
Fixes
check_font_families() now correctly checks for the presence of Public Sans before loading it (#32, 1)
doestyle 0.2.2
Include example dataset public_schools (1)
Fixes
Switch vignette renderer to knitr, to avoid package installation problems on some systems (1)