A tweak classified as targeting a design token. More...
#include <token_lock.hpp>
Public Attributes | |
| TokenGroup | group |
| std::string | name |
| The token name within the group, e.g. "primary", "md", "lg". | |
| std::string | field |
| For typography tokens only: the field within the level map, e.g. | |
A tweak classified as targeting a design token.
| std::string pulp::view::TokenTarget::field |
For typography tokens only: the field within the level map, e.g.
"fontSize", "fontWeight", "lineHeight". Empty for the other three groups (they are flat scalar maps).
| TokenGroup pulp::view::TokenTarget::group |
| std::string pulp::view::TokenTarget::name |
The token name within the group, e.g. "primary", "md", "lg".