cel-tui
    Preparing search index...

    Interface StyleProps

    Styling props shared by all node types.

    Maps directly to terminal SGR (Select Graphic Rendition) attributes. Containers propagate their styles to descendants — child nodes inherit the nearest ancestor's values unless they set a value explicitly.

    interface StyleProps {
        bgColor?: Color;
        bold?: boolean;
        fgColor?: Color;
        italic?: boolean;
        underline?: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    bgColor?: Color

    Background color.

    bold?: boolean

    Render text with bold weight.

    fgColor?: Color

    Foreground (text) color.

    italic?: boolean

    Render text in italic style.

    underline?: boolean

    Render text with an underline.