blessed-components - v1.20.0
    Preparing search index...

    Interface CenterData

    Stateful layout and theme data accepted by center.

    interface CenterData {
        capabilities?: Pick<TerminalCapabilities, "colorLevel">;
        backgroundTone?: keyof ThemeColors;
        borderTone?: keyof ThemeColors;
        foregroundTone?: keyof ThemeColors;
        theme?: Theme;
        horizontal?: CenterAlign;
        item?: CenterChildSize;
        vertical?: CenterAlign;
    }

    Hierarchy (View Summary)

    Index

    Properties

    capabilities?: Pick<TerminalCapabilities, "colorLevel">

    Explicit color capability used for deterministic rendering.

    backgroundTone?: keyof ThemeColors

    Semantic background token.

    'background'

    borderTone?: keyof ThemeColors

    Semantic border token.

    'border'

    foregroundTone?: keyof ThemeColors

    Semantic foreground token.

    'foreground'

    theme?: Theme

    Semantic terminal theme.

    horizontal?: CenterAlign

    Horizontal child alignment.

    'center'

    Optional explicit child size. Defaults to the first child dimensions.

    vertical?: CenterAlign

    Vertical child alignment.

    'center'