Spaces:
Sleeping
Sleeping
File size: 1,100 Bytes
2542bcb |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
"""Colors for the console"""
ULTRASINGER_HEAD = "\033[92m[UltraSinger]\033[0m"
def blue_highlighted(text: str) -> str:
"""Returns a blue highlighted text"""
return f"{Bcolors.blue}{text}{Bcolors.endc}"
def gold_highlighted(text: str) -> str:
"""Returns a gold highlighted text"""
return f"{Bcolors.gold}{text}{Bcolors.endc}"
def light_blue_highlighted(text: str) -> str:
"""Returns a light blue highlighted text"""
return f"{Bcolors.light_blue}{text}{Bcolors.endc}"
def underlined(text: str) -> str:
"""Returns an underlined text"""
return f"{Bcolors.underline}{text}{Bcolors.endc}"
def red_highlighted(text: str) -> str:
"""Returns a red highlighted text"""
return f"{Bcolors.red}{text}{Bcolors.endc}"
def cyan_highlighted(text: str) -> str:
"""Returns a cyan highlighted text"""
return f"{Bcolors.cyan}{text}{Bcolors.endc}"
class Bcolors:
"""Colors for the console"""
blue = "\033[94m"
red = "\033[91m"
light_blue = "\033[96m"
cyan = "\033[36m"
gold = "\033[93m"
underline = "\033[4m"
endc = "\033[0m"
|