From 4bf59b691b559e69b1a53f4c9b91aff486cf2698 Mon Sep 17 00:00:00 2001 From: Sam Clements Date: Sat, 2 Dec 2023 16:52:34 +0000 Subject: [PATCH] Document light colors in README Closes #124 --- README.md | 24 ++++++++++++++++++++++-- setup.py | 2 +- 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 21ef604..e4edb78 100644 --- a/README.md +++ b/README.md @@ -85,8 +85,28 @@ The following escape codes are made available for use in the format string: - `thin`, `thin_{color}`, `fg_thin_{color}`: Thin colors (terminal dependent). - `reset`: Clear all formatting (both foreground and background colors). -The available color names are `black`, `red`, `green`, `yellow`, `blue`, -`purple`, `cyan` and `white`. +The available color names are: + +- `black` +- `red` +- `green` +- `yellow` +- `blue`, +- `purple` +- `cyan` +- `white` + +You can also use "bright" colors. These aren't standard ANSI codes, and +support for these varies wildly across different terminals. + +- `light_black` +- `light_red` +- `light_green` +- `light_yellow` +- `light_blue` +- `light_purple` +- `light_cyan` +- `light_white` Examples -------- diff --git a/setup.py b/setup.py index 66211da..173dc3b 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setup( name="colorlog", - version="6.8.0", + version="6.8.1", description="Add colours to the output of Python's logging module.", long_description=open("README.md").read(), long_description_content_type="text/markdown",