Added
- Add colour and attribute codes as strings and functions (#167) @hugovk
- For example:
f"{green}{on_blue}{underline}{bold}Hello, {yellow}{italic}World!{reset}"green(bold(on_blue(underline("Hello, World!")))fg.green(bg.blue(attrs.bold("Hello, World!"))
- Add support for Python 3.16 (#169) @hugovk
- Use lazy imports on Python 3.15+ (#162) @hugovk
Changed
- Combine colour codes (#152) @hugovk
- Drop support for Python 3.10 (#156) @hugovk
- Validate RGB colours are 3-tuples of 0-255 (#135) @hugovk