@chromakit/core
    Preparing search index...

    Function bold

    • Apply bold (SGR 1) to text.

      Parameters

      • text: string

      Returns string

      The input wrapped with \u001b[1m\u001b[22m.

      Bold may render as a brighter color on some terminals instead of a heavier font weight. Behavior depends on the emulator; it remains active until reset with SGR 22 or a full reset 0. See inverse and underline for related emphasis styles.

      bold("Build succeeded"); // "\u001b[1mBuild succeeded\u001b[22m"