TinyMaterialDesign
Loading...
Searching...
No Matches
Public Attributes | List of all members
ColorScheme< RGB_T > Struct Template Reference

Material Design 3 color roles. More...

#include <MaterialColors.h>

Public Attributes

RGB_T primary
 
RGB_T onPrimary
 
RGB_T primaryContainer
 
RGB_T onPrimaryContainer
 
RGB_T secondary
 
RGB_T onSecondary
 
RGB_T secondaryContainer
 
RGB_T onSecondaryContainer
 
RGB_T error
 
RGB_T onError
 
RGB_T background
 
RGB_T onBackground
 
RGB_T surface
 
RGB_T onSurface
 
RGB_T surfaceVariant
 
RGB_T onSurfaceVariant
 
RGB_T outline
 

Detailed Description

template<typename RGB_T>
struct tinymd::ColorScheme< RGB_T >

Material Design 3 color roles.

Every widget draws using roles from this struct rather than hard-coded colors, so swapping a Screen's theme re-colors every widget on it.

Member Data Documentation

◆ background

RGB_T background

◆ error

RGB_T error

◆ onBackground

RGB_T onBackground

◆ onError

RGB_T onError

◆ onPrimary

RGB_T onPrimary

◆ onPrimaryContainer

RGB_T onPrimaryContainer

◆ onSecondary

RGB_T onSecondary

◆ onSecondaryContainer

RGB_T onSecondaryContainer

◆ onSurface

RGB_T onSurface

◆ onSurfaceVariant

RGB_T onSurfaceVariant

◆ outline

RGB_T outline

◆ primary

RGB_T primary

◆ primaryContainer

RGB_T primaryContainer

◆ secondary

RGB_T secondary

◆ secondaryContainer

RGB_T secondaryContainer

◆ surface

RGB_T surface

◆ surfaceVariant

RGB_T surfaceVariant

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