guillaume 2026.6.1
A C++ UI framework designed for modern desktop and extended reality (XR) applications.
Loading...
Searching...
No Matches
guillaume::theme::ElevationToken Struct Reference

What one elevation level looks like: how much the surface is tinted and how large and dark its shadow is. More...

#include <headers/guillaume/theme/tokens.hpp>

Public Attributes

float tintOpacity
float shadowSpread { 0.0f }
std::uint8_t shadowAlpha
 Opacity of the shadow where it is darkest, 0 to 255.

Detailed Description

What one elevation level looks like: how much the surface is tinted and how large and dark its shadow is.

Definition at line 144 of file tokens.hpp.

Member Data Documentation

◆ shadowAlpha

std::uint8_t guillaume::theme::ElevationToken::shadowAlpha
Initial value:
{
0
}

Opacity of the shadow where it is darkest, 0 to 255.

Definition at line 151 of file tokens.hpp.

◆ shadowSpread

float guillaume::theme::ElevationToken::shadowSpread { 0.0f }

How far the shadow extends beyond the surface, in dp.

Definition at line 149 of file tokens.hpp.

◆ tintOpacity

float guillaume::theme::ElevationToken::tintOpacity
Initial value:
{
0.0f
}

Opacity of the SurfaceTint color blended over the Surface color, 0 to 1.

Definition at line 145 of file tokens.hpp.


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