Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::view::TokenTarget Struct Reference

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.

Detailed Description

A tweak classified as targeting a design token.

Member Data Documentation

◆ field

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).

◆ group

TokenGroup pulp::view::TokenTarget::group

◆ name

std::string pulp::view::TokenTarget::name

The token name within the group, e.g. "primary", "md", "lg".


The documentation for this struct was generated from the following file:
  • /home/runner/work/pulp/pulp/core/view/include/pulp/view/token_lock.hpp