Aurore
A Switch-like interface for your app, on every screen
Loading...
Searching...
No Matches
cadran::palette::Contrast Struct Reference

#include <aurore/cadran/ui/cadran_palette.hpp>

Public Attributes

const char * ink
 
const char * surface
 
float minimum
 

Detailed 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.

Member Data Documentation

◆ ink

const char* cadran::palette::Contrast::ink

◆ minimum

float cadran::palette::Contrast::minimum

◆ surface

const char* cadran::palette::Contrast::surface

The documentation for this struct was generated from the following file: