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

    Interface SpacerData

    Stateful layout and theme data accepted by spacer.

    interface SpacerData {
        capabilities?: Pick<TerminalCapabilities, "colorLevel">;
        backgroundTone?: keyof ThemeColors;
        borderTone?: keyof ThemeColors;
        foregroundTone?: keyof ThemeColors;
        theme?: Theme;
        axis?: SpacerAxis;
        crossAxis?: SpacerCrossAxis;
        size?: SpacerSize;
    }

    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.

    axis?: SpacerAxis

    Main axis consumed by the spacer.

    'vertical'

    crossAxis?: SpacerCrossAxis

    Cross-axis behavior.

    'stretch'

    size?: SpacerSize

    Main-axis size. fill consumes the parent inner size.

    'fill'