bold property
Whether to apply bold styling (ANSI SGR code 1).
Terminal compatibility:
- Many terminals render bold as bright/intense color instead of increased font weight, especially with the basic 16 colors
- Some terminals (like macOS Terminal.app) may show bold as both brighter AND heavier weight
- With 256-color or truecolor, bold more reliably means font weight
- A few older terminals may ignore bold entirely
Precedence: If both bold and dim are true, bold takes precedence and dim is ignored. They share the same reset code (SGR 22) and have contradictory visual effects.
Implementation
final bool bold;