composize
    Preparing search index...

    Variable FontSizeConst

    FontSize: {
        Body: 11;
        BodyLarge: 12;
        BodySmall: 10;
        Caption: 8;
        Display: 36;
        DisplayLarge: 48;
        DisplaySmall: 28;
        DisplayXL: 72;
        Footnote: 9;
        Heading: 24;
        HeadingLarge: 26;
        HeadingSmall: 22;
        Subheading: 14;
        Title: 18;
        TitleLarge: 20;
        TitleSmall: 16;
    } = ...

    A collection of standardized font sizes for various text elements.

    The FontSize object provides numeric values for font sizes, organized by usage context:

    • Caption, Footnote, BodySmall: Small text for captions, footnotes, and small body text.
    • Body, BodyLarge: Default and large body text.
    • Subheading: For subheadings.
    • TitleSmall, Title, TitleLarge: For different levels of titles.
    • HeadingSmall, Heading, HeadingLarge: For section headings.
    • DisplaySmall, Display, DisplayLarge, DisplayXL: For display text, including extra-large sizes.

    Type declaration

    • ReadonlyBody: 11
    • ReadonlyBodyLarge: 12
    • ReadonlyBodySmall: 10
    • ReadonlyCaption: 8
    • ReadonlyDisplay: 36
    • ReadonlyDisplayLarge: 48
    • ReadonlyDisplaySmall: 28
    • ReadonlyDisplayXL: 72
    • ReadonlyFootnote: 9
    • ReadonlyHeading: 24
    • ReadonlyHeadingLarge: 26
    • ReadonlyHeadingSmall: 22
    • ReadonlySubheading: 14
    • ReadonlyTitle: 18
    • ReadonlyTitleLarge: 20
    • ReadonlyTitleSmall: 16