mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-30 20:34:38 +01:00
Updated for default
This commit is contained in:
parent
ab77226972
commit
e486283416
1 changed files with 22 additions and 22 deletions
|
@ -9,26 +9,26 @@ from slpkg.configs import Configs
|
||||||
class Colors:
|
class Colors:
|
||||||
configs = Configs()
|
configs = Configs()
|
||||||
|
|
||||||
bold: str = '\033[1m'
|
bold: str = ''
|
||||||
red: str = '\x1b[91m'
|
red: str = ''
|
||||||
bred: str = f'{bold}{red}'
|
green: str = ''
|
||||||
green: str = '\x1b[32m'
|
yellow: str = ''
|
||||||
bgreen: str = f'{bold}{green}'
|
cyan: str = ''
|
||||||
yellow: str = '\x1b[93m'
|
blue: str = ''
|
||||||
byellow: str = f'{bold}{yellow}'
|
grey: str = ''
|
||||||
cyan: str = '\x1b[96m'
|
violet: str = ''
|
||||||
blue: str = '\x1b[94m'
|
endc: str = ''
|
||||||
grey: str = '\x1b[38;5;247m'
|
|
||||||
violet: str = '\x1b[35m'
|
|
||||||
endc: str = '\x1b[0m'
|
|
||||||
|
|
||||||
if not configs.colors:
|
if configs.colors:
|
||||||
bold: str = ''
|
bold: str = '\033[1m'
|
||||||
red: str = ''
|
red: str = '\x1b[91m'
|
||||||
green: str = ''
|
bred: str = f'{bold}{red}'
|
||||||
yellow: str = ''
|
green: str = '\x1b[32m'
|
||||||
cyan: str = ''
|
bgreen: str = f'{bold}{green}'
|
||||||
blue: str = ''
|
yellow: str = '\x1b[93m'
|
||||||
grey: str = ''
|
byellow: str = f'{bold}{yellow}'
|
||||||
violet: str = ''
|
cyan: str = '\x1b[96m'
|
||||||
endc: str = ''
|
blue: str = '\x1b[94m'
|
||||||
|
grey: str = '\x1b[38;5;247m'
|
||||||
|
violet: str = '\x1b[35m'
|
||||||
|
endc: str = '\x1b[0m'
|
||||||
|
|
Loading…
Add table
Reference in a new issue