Penpot plugins API
    Preparing search index...

    Type Alias TokenValueString

    TokenValueString:
        | TokenShadowValueString
        | TokenTypographyValueString
        | string
        | string[]
        | number

    Any possible type of value field in a token.

    Token values are always stored as strings, including for numeric token types such as spacing, dimension or borderRadius (e.g. "16" or "16px"). A plain number is also accepted on input and coerced to its string representation.