Penpot plugins API
    Preparing search index...

    Interface TokenTypographyValueString

    interface TokenTypographyValueString {
        letterSpacing: string;
        fontFamilies: string | string[];
        fontSizes: string;
        fontWeight: string;
        lineHeight: string;
        textCase: string;
        textDecoration: string;
    }
    Index

    Properties

    letterSpacing: string

    The letter spacing, as a number, or a reference to a TokenLetterSpacing.

    fontFamilies: string | string[]

    The list of font families, or a reference to a TokenFontFamilies.

    fontSizes: string

    The font size, as a positive number, or a reference to a TokenFontSizes.

    fontWeight: string

    The font weight, as a weight string ("bold", "strong", etc.), or a reference to a TokenFontWeights.

    lineHeight: string

    The line height, as a number. Note that there not exists an individual token type line height, only part of a Typography token. If you need to put here a reference, use a NumberToken.

    textCase: string

    The text case as a string ("none", "uppercase", "lowercase" "capitalize"), or a reference to a TokenTextCase.

    textDecoration: string

    The text decoration as a string ("none", "underline", "strike-through"), or a reference to a TokenTextDecoration.