Struct · cadran::palette
cadran::palette::Palette
On this page
#include <aurore/cadran/ui/cadran_palette.hpp>
struct cadran::palette::PaletteDescription
Dark: the boards' navy. Light: the style board's cool white, the inks darkened to 4.5:1 on every surface they are drawn on, the rail's active pill included (teal #0A705F, amber #8A5200, coral #B71C1C); the quiet text too, on both (text3 4.5:1 on the second surface). The focus ring in the dark teal, its glow no lighter than the fill teal: 3:1 or more on the background at any point of its pulse (WCAG 1.4.11). The dark theme's hairline at 14 % white: the cards stay apart on a TV that crushes its blacks.
Attributes 52
Rgba violeta release note's alerts, a build's tags
cadran_palette.hpp:33Rgba coral_softA removal's soft fill (the header's pill in danger).
cadran_palette.hpp:35Rgba wellThe empty part of a progress bar, behind a game's missing cover.
cadran_palette.hpp:37Rgba pinkThe action tiles' fourth ink (cadran::List::tiles()), after teal, blue and violet: the third avatar's pink, darker on white.
cadran_palette.hpp:40Rgba avatar0The accounts' avatars, in turn: fills under a navy initial, alike on both themes.
cadran_palette.hpp:43Rgba knobA switch's knob, white on either track, and its edge while off.
cadran_palette.hpp:45Rgba barA chart's bars, today's lighter.
cadran_palette.hpp:47Rgba backdropBehind a dialog or a picker: the navy, dimmed enough that the screen under it does not read through around a dialog's text and QR codes. A toast: a card of the second surface on the dark theme, navy on the light one, and its text.
cadran_palette.hpp:52Rgba on_fillThe label on a teal or coral fill (a confirmation's, a primary button's): the navy.
cadran_palette.hpp:55Rgba hold_fillA held button filling up (ui::hold_confirm), over its own colour.
cadran_palette.hpp:57Rgba rail_shadowThe rail's shadow over the tab while it is out (its darkest).
cadran_palette.hpp:59Rgba click_pulseA press's flash: the fill teal, faint.
cadran_palette.hpp:61Rgba text_offWhat the app cannot do now (a read-only mode, ui::show_writable): the text, faded.
cadran_palette.hpp:64Rgba brand_trackThe loading screen's bar (LoadingBar::setBrand), alike in both themes: its track, its fill and the fill's lighter end.
cadran_palette.hpp:67Read from Aurore's headers by Doxygen at each build · library/include