mirror of
https://github.com/Hopiu/django.git
synced 2026-04-11 02:21:09 +00:00
Fixed #25439 -- Added SUCCESS style to termcolor palettes
This commit is contained in:
parent
af95eee9fb
commit
f06ce6053c
1 changed files with 3 additions and 0 deletions
|
|
@ -76,6 +76,7 @@ LIGHT_PALETTE = 'light'
|
|||
PALETTES = {
|
||||
NOCOLOR_PALETTE: {
|
||||
'ERROR': {},
|
||||
'SUCCESS': {},
|
||||
'WARNING': {},
|
||||
'NOTICE': {},
|
||||
'SQL_FIELD': {},
|
||||
|
|
@ -96,6 +97,7 @@ PALETTES = {
|
|||
},
|
||||
DARK_PALETTE: {
|
||||
'ERROR': {'fg': 'red', 'opts': ('bold',)},
|
||||
'SUCCESS': {'fg': 'green', 'opts': ('bold',)},
|
||||
'WARNING': {'fg': 'yellow', 'opts': ('bold',)},
|
||||
'NOTICE': {'fg': 'red'},
|
||||
'SQL_FIELD': {'fg': 'green', 'opts': ('bold',)},
|
||||
|
|
@ -116,6 +118,7 @@ PALETTES = {
|
|||
},
|
||||
LIGHT_PALETTE: {
|
||||
'ERROR': {'fg': 'red', 'opts': ('bold',)},
|
||||
'SUCCESS': {'fg': 'green', 'opts': ('bold',)},
|
||||
'WARNING': {'fg': 'yellow', 'opts': ('bold',)},
|
||||
'NOTICE': {'fg': 'red'},
|
||||
'SQL_FIELD': {'fg': 'green', 'opts': ('bold',)},
|
||||
|
|
|
|||
Loading…
Reference in a new issue