Continued Colorization, pushed it to utils and colorized other helper scripts

This commit is contained in:
Driven-Element
2025-08-24 13:46:20 -04:00
parent 615fb77891
commit bdf3d4b9ec
5 changed files with 105 additions and 91 deletions
+14
View File
@@ -0,0 +1,14 @@
def colorText(text: str, color: str) -> str:
colors = {
"red": "\033[91m",
"green": "\033[92m",
"yellow": "\033[93m",
"blue": "\033[94m",
"magenta": "\033[95m",
"cyan": "\033[96m",
"white": "\033[97m",
"reset": "\033[0m"
}
return f"{colors.get(color, colors['reset'])}{text}{colors['reset']}"