Update color docs with bright_* and bg_bright_* entries

This commit is contained in:
Kirill A. Korinsky 2026-01-25 12:05:40 +01:00
parent 9dafaf0502
commit 1dd2cd019f
No known key found for this signature in database
GPG key ID: 98D8D9867759226E
2 changed files with 14 additions and 8 deletions

View file

@ -472,13 +472,13 @@ CODE_BY_COLOR = {
"normal": 0,
"bold": 1,
"faint": 2,
# "italic": 3,
"italic": 3,
"underline": 4,
# "blink_slow": 5,
# "blink_rapid": 6,
"blink_slow": 5,
"blink_rapid": 6,
"inverse": 7,
# "conceal": 8,
# "crossed_out": 9
"conceal": 8,
"crossed_out": 9,
# Text colors.
"black": 30,
"red": 31,

View file

@ -467,14 +467,20 @@ Available attributes:
Foreground colors
``black``, ``red``, ``green``, ``yellow``, ``blue``, ``magenta``, ``cyan``,
``white``
``white``, ``bright_black``, ``bright_red``, ``bright_green``,
``bright_yellow``, ``bright_blue``, ``bright_magenta``, ``bright_cyan``,
``bright_white``
Background colors
``bg_black``, ``bg_red``, ``bg_green``, ``bg_yellow``, ``bg_blue``,
``bg_magenta``, ``bg_cyan``, ``bg_white``
``bg_magenta``, ``bg_cyan``, ``bg_white``, ``bg_bright_black``,
``bg_bright_red``, ``bg_bright_green``, ``bg_bright_yellow``,
``bg_bright_blue``, ``bg_bright_magenta``, ``bg_bright_cyan``,
``bg_bright_white``
Text styles
``normal``, ``bold``, ``faint``, ``underline``, ``reverse``
``normal``, ``bold``, ``faint``, ``italic``, ``underline``, ``blink_slow``,
``blink_rapid``, ``inverse``, ``conceal``, ``crossed_out``
terminal_width
~~~~~~~~~~~~~~