mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-26 09:58:31 +01:00
Updated for colors
This commit is contained in:
parent
a1af2b1898
commit
80352422a9
3 changed files with 4 additions and 4 deletions
|
@ -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"
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue