Struct · cadran::palette

cadran::palette::Contrast

On this page
aurore/cadran/ui/cadran_palette.hpp
#include <aurore/cadran/ui/cadran_palette.hpp>

struct cadran::palette::Contrast

Description

The pairs the palettes promise to keep readable (an ink on a surface, at least minimum:1; a translucent one blended over the background first): what the host suite checks of the palettes (tests/host/contrast_tests.cpp), and Theme::checkContrast of a theme file changing them.

Attributes 3

const char * ink
const char * surface
float minimum

Read from Aurore's headers by Doxygen at each build · library/include