Updated for colors

This commit is contained in:
Dimitris Zlatanidis 2023-05-17 13:34:50 +03:00
parent a1af2b1898
commit 80352422a9
3 changed files with 4 additions and 4 deletions

View file

@ -52,12 +52,12 @@ SPINNING_BAR = true
PROGRESS_SPINNER = "pixel"
# Choose color for the progress bar spinner.
# Default is green. [green/violet/yellow/blue/cyan/grey/red]
# Default is green. [white/green/violet/yellow/blue/cyan/grey/red]
SPINNER_COLOR = "green"
# Choose color for the border box.
# Bold colors: [bold_green/bold_cyan/bold_yellow/bold_red/bold_blue]
# Colors: [green/cyan/yellow/red/blue]
# Colors: [white/green/cyan/yellow/red/blue]
# Default is bold_green.
BORDER_COLOR = "bold_green"

View file

@ -63,7 +63,7 @@ class ProgressBar(Configs):
'cyan': self.cyan,
'grey': self.grey,
'red': self.red,
'': self.endc
'white': self.endc
}
def set_spinner(self) -> None:

View file

@ -57,10 +57,10 @@ class AsciiBox(Configs):
def assign_border_color(self):
self.border_colors: dict[str] = {
'': self.endc,
'red': self.red,
'blue': self.blue,
'cyan': self.cyan,
'white': self.endc,
'green': self.green,
'yellow': self.yellow,
'bold_red': self.bred,