The index of a theme: which token files make up each variant.
More...
#include <theme.hpp>
|
| std::string | base |
| | The file every variant layers over.
|
| std::map< std::string, std::string, std::less<> > | variants |
| | Named variants, such as light and dark, each one file.
|
| std::map< std::string, std::string, std::less<> > | densities |
| | Densities, such as comfortable and compact, each one file.
|
| std::map< std::string, std::string, std::less<> > | surfaces |
| | Named surfaces, such as sidebar, each one file that overrides the variant for a subtree.
|
| std::map< std::string, std::string, std::less<> > | icons |
| | The icon set: icon name to the bundle's icon file that draws it; empty for none.
|
The index of a theme: which token files make up each variant.
Definition at line 136 of file theme.hpp.
◆ base
| std::string morph::ui::ThemeIndex::base |
The file every variant layers over.
Definition at line 138 of file theme.hpp.
◆ variants
| std::map<std::string, std::string, std::less<> > morph::ui::ThemeIndex::variants |
Named variants, such as light and dark, each one file.
Definition at line 140 of file theme.hpp.
◆ densities
| std::map<std::string, std::string, std::less<> > morph::ui::ThemeIndex::densities |
Densities, such as comfortable and compact, each one file.
Definition at line 142 of file theme.hpp.
◆ surfaces
| std::map<std::string, std::string, std::less<> > morph::ui::ThemeIndex::surfaces |
Named surfaces, such as sidebar, each one file that overrides the variant for a subtree.
Definition at line 144 of file theme.hpp.
◆ icons
| std::map<std::string, std::string, std::less<> > morph::ui::ThemeIndex::icons |
The icon set: icon name to the bundle's icon file that draws it; empty for none.
Definition at line 146 of file theme.hpp.
The documentation for this struct was generated from the following file: