A set of paints, one per state. States left unset fall back to the normal paint. GuiShapeStyle(rest)....
GuiShapeStyle cardStyle() const
A raised card: gradient surface, outline, drop shadow; a glowing accent outline when focused.
float padding
Space inside a card.
PixelColor text
Primary text.
PixelColor surface
Panels and resting cards.
PixelColor good
Positive state (connected, charged).
GuiShapeStyle panelStyle() const
A quiet container: flat surface with a thin outline.
PixelColor outline
Quiet outlines.
GuiShapeStyle chipStyle() const
A small label background (a "chip")
static GuiTheme & current()
The theme the rest of the library reads. Starts as the default dark theme.
PixelColor accentLight
Light end of the focused-button gradient.
PixelColor accent
Highlight: focus outline, focused button.
float spacing
Gap between siblings.
float strokeWidth
Outline width.
PixelColor textMuted
Secondary text.
GuiShapeStyle buttonStyle() const
A capsule or rounded button: lights up in the accent color when focused, darkens when pressed.
PixelColor outlineStrong
Resting button outline and fill.
PixelColor surfaceRaised
Lighter end of a card's gradient, chips.
GuiShapeStyle barStyle() const
A dark strip for a hint or status bar.
GuiTheme()
The default dark theme.
float radius
Corner radius of cards and panels.
PixelColor accentDark
Pressed-button fill.
GuiShapeStyle rowStyle() const
A flat list row: invisible at rest, a gray bar when focused, tinted when pressed.
PixelColor background
Screen background.
float shadowBlur
Softness of a resting card's shadow.
PixelColor textOnAccent
Text drawn over the accent color.
8-bit-per-channel RGBA color used by the video interfaces.