Updated for default

This commit is contained in:
Dimitris Zlatanidis 2023-04-24 19:58:55 +03:00
parent ab77226972
commit e486283416

View file

@ -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'