One token of the closed ui-theme/1 set: its path, kind and the MorphUi default.
More...
#include <theme.hpp>
|
| std::string_view | path |
| | The dotted path.
|
| ThemeTokenKind | kind |
| | How it is read.
|
| std::string_view | color |
| | A colour's default, #rrggbb; empty for a number.
|
| double | number = 0.0 |
| | A number's default, or a dimension's in px.
|
| ThemeShadowSpec | shadow {} |
| | A shadow's default.
|
| std::string_view | family |
| | A font family's default; empty for none, which draws in the platform font.
|
One token of the closed ui-theme/1 set: its path, kind and the MorphUi default.
Definition at line 971 of file theme.hpp.
◆ path
| std::string_view morph::ui::ThemeTokenSpec::path |
◆ kind
◆ color
| std::string_view morph::ui::ThemeTokenSpec::color |
A colour's default, #rrggbb; empty for a number.
Definition at line 977 of file theme.hpp.
◆ number
| double morph::ui::ThemeTokenSpec::number = 0.0 |
A number's default, or a dimension's in px.
Definition at line 979 of file theme.hpp.
◆ shadow
A shadow's default.
Definition at line 981 of file theme.hpp.
◆ family
| std::string_view morph::ui::ThemeTokenSpec::family |
A font family's default; empty for none, which draws in the platform font.
Definition at line 983 of file theme.hpp.
The documentation for this struct was generated from the following file: