mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-04-15 18:11:48 +04:00
Use reversed colors for better legibility
This commit is contained in:
parent
3fe38dff05
commit
2955c2c15c
1 changed files with 4 additions and 4 deletions
|
|
@ -56,10 +56,10 @@ if sys.platform == 'win32': # pragma: no cover (windows)
|
||||||
else: # pragma: win32 no cover
|
else: # pragma: win32 no cover
|
||||||
terminal_supports_color = True
|
terminal_supports_color = True
|
||||||
|
|
||||||
RED = '\033[41m'
|
RED = '\033[31;7m'
|
||||||
GREEN = '\033[42m'
|
GREEN = '\033[32;7m'
|
||||||
YELLOW = '\033[43;30m'
|
YELLOW = '\033[33;7m'
|
||||||
TURQUOISE = '\033[46;30m'
|
TURQUOISE = '\033[36;7m'
|
||||||
SUBTLE = '\033[2m'
|
SUBTLE = '\033[2m'
|
||||||
NORMAL = '\033[m'
|
NORMAL = '\033[m'
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue