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

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

Public Attributes

Rgba bg
 
Rgba text
 
Rgba text2
 
Rgba text3
 
Rgba surf
 
Rgba surf2
 
Rgba line
 
Rgba teal
 
Rgba teal_fill
 
Rgba teal_soft
 
Rgba amber
 
Rgba amber_fill
 
Rgba coral
 
Rgba coral_fill
 
Rgba coral_line
 
Rgba track
 
Rgba glow
 
Rgba glow_strong
 
Rgba amber_surf
 
Rgba amber_line
 
Rgba pill_ok
 
Rgba pill_ok_ink
 
Rgba rail_active
 
Rgba key_bg
 
Rgba key_fg
 
Rgba hl1
 
Rgba hl2
 
Rgba border
 
Rgba blue
 
Rgba violet
 
Rgba coral_soft
 A removal's soft fill (the header's pill in danger).
 
Rgba well
 The empty part of a progress bar, behind a game's missing cover.
 
Rgba pink
 
Rgba avatar0
 
Rgba avatar1
 
Rgba avatar2
 
Rgba avatar3
 
Rgba knob
 A switch's knob, white on either track, and its edge while off.
 
Rgba knob_line
 
Rgba bar
 A chart's bars, today's lighter.
 
Rgba bar_today
 
Rgba backdrop
 
Rgba toast
 
Rgba toast_text
 
Rgba on_fill
 
Rgba hold_fill
 A held button filling up (ui::hold_confirm), over its own colour.
 
Rgba rail_shadow
 The rail's shadow over the tab while it is out (its darkest).
 
Rgba click_pulse
 A press's flash: the fill teal, faint.
 
Rgba text_off
 
Rgba brand_track
 
Rgba brand_fill
 
Rgba brand_glow
 

Detailed Description

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.

Member Data Documentation

◆ amber

Rgba cadran::palette::Palette::amber

◆ amber_fill

Rgba cadran::palette::Palette::amber_fill

◆ amber_line

Rgba cadran::palette::Palette::amber_line

◆ amber_surf

Rgba cadran::palette::Palette::amber_surf

◆ avatar0

Rgba cadran::palette::Palette::avatar0

The accounts' avatars, in turn: fills under a navy initial, alike on both themes.

◆ avatar1

Rgba cadran::palette::Palette::avatar1

◆ avatar2

Rgba cadran::palette::Palette::avatar2

◆ avatar3

Rgba cadran::palette::Palette::avatar3

◆ backdrop

Rgba cadran::palette::Palette::backdrop

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

◆ bar

Rgba cadran::palette::Palette::bar

A chart's bars, today's lighter.

◆ bar_today

Rgba cadran::palette::Palette::bar_today

◆ bg

Rgba cadran::palette::Palette::bg

◆ blue

Rgba cadran::palette::Palette::blue

◆ border

Rgba cadran::palette::Palette::border

◆ brand_fill

Rgba cadran::palette::Palette::brand_fill

◆ brand_glow

Rgba cadran::palette::Palette::brand_glow

◆ brand_track

Rgba cadran::palette::Palette::brand_track

The loading screen's bar (LoadingBar::setBrand), alike in both themes: its track, its fill and the fill's lighter end.

◆ click_pulse

Rgba cadran::palette::Palette::click_pulse

A press's flash: the fill teal, faint.

◆ coral

Rgba cadran::palette::Palette::coral

◆ coral_fill

Rgba cadran::palette::Palette::coral_fill

◆ coral_line

Rgba cadran::palette::Palette::coral_line

◆ coral_soft

Rgba cadran::palette::Palette::coral_soft

A removal's soft fill (the header's pill in danger).

◆ glow

Rgba cadran::palette::Palette::glow

◆ glow_strong

Rgba cadran::palette::Palette::glow_strong

◆ hl1

Rgba cadran::palette::Palette::hl1

◆ hl2

Rgba cadran::palette::Palette::hl2

◆ hold_fill

Rgba cadran::palette::Palette::hold_fill

A held button filling up (ui::hold_confirm), over its own colour.

◆ key_bg

Rgba cadran::palette::Palette::key_bg

◆ key_fg

Rgba cadran::palette::Palette::key_fg

◆ knob

Rgba cadran::palette::Palette::knob

A switch's knob, white on either track, and its edge while off.

◆ knob_line

Rgba cadran::palette::Palette::knob_line

◆ line

Rgba cadran::palette::Palette::line

◆ on_fill

Rgba cadran::palette::Palette::on_fill

The label on a teal or coral fill (a confirmation's, a primary button's): the navy.

◆ pill_ok

Rgba cadran::palette::Palette::pill_ok

◆ pill_ok_ink

Rgba cadran::palette::Palette::pill_ok_ink

◆ pink

Rgba cadran::palette::Palette::pink

The action tiles' fourth ink (cadran::List::tiles()), after teal, blue and violet: the third avatar's pink, darker on white.

◆ rail_active

Rgba cadran::palette::Palette::rail_active

◆ rail_shadow

Rgba cadran::palette::Palette::rail_shadow

The rail's shadow over the tab while it is out (its darkest).

◆ surf

Rgba cadran::palette::Palette::surf

◆ surf2

Rgba cadran::palette::Palette::surf2

◆ teal

Rgba cadran::palette::Palette::teal

◆ teal_fill

Rgba cadran::palette::Palette::teal_fill

◆ teal_soft

Rgba cadran::palette::Palette::teal_soft

◆ text

Rgba cadran::palette::Palette::text

◆ text2

Rgba cadran::palette::Palette::text2

◆ text3

Rgba cadran::palette::Palette::text3

◆ text_off

Rgba cadran::palette::Palette::text_off

What the app cannot do now (a read-only mode, ui::show_writable): the text, faded.

◆ toast

Rgba cadran::palette::Palette::toast

◆ toast_text

Rgba cadran::palette::Palette::toast_text

◆ track

Rgba cadran::palette::Palette::track

◆ violet

Rgba cadran::palette::Palette::violet

a release note's alerts, a build's tags

◆ well

Rgba cadran::palette::Palette::well

The empty part of a progress bar, behind a game's missing cover.


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