|
psychic-ui 0.0.0
|
#include <Theme.hpp>
Public Attributes | |
| std::string_view | name {} |
| ColorScheme | scheme {ColorScheme::Dark} |
| Palette | palette {} |
| Elevation | elevation {} |
| Typography | type {} |
| Metrics | metrics {} |
What a skin set and app stylesheets draw with: values only, so any theme works with any skin set. Read it with manager->theme() in StyleSheet::load (and the sizes of the current density with manager->sizes()); switching themes or densities replays the loaded stylesheets. Groups mix with designated initializers: Theme{.palette = themes::pivotalLight.palette}.