mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-28 09:58:21 +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"
|
PROGRESS_SPINNER = "pixel"
|
||||||
|
|
||||||
# Choose color for the progress bar spinner.
|
# 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"
|
SPINNER_COLOR = "green"
|
||||||
|
|
||||||
# Choose color for the border box.
|
# Choose color for the border box.
|
||||||
# Bold colors: [bold_green/bold_cyan/bold_yellow/bold_red/bold_blue]
|
# 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.
|
# Default is bold_green.
|
||||||
BORDER_COLOR = "bold_green"
|
BORDER_COLOR = "bold_green"
|
||||||
|
|
||||||
|
|
|
@ -63,7 +63,7 @@ class ProgressBar(Configs):
|
||||||
'cyan': self.cyan,
|
'cyan': self.cyan,
|
||||||
'grey': self.grey,
|
'grey': self.grey,
|
||||||
'red': self.red,
|
'red': self.red,
|
||||||
'': self.endc
|
'white': self.endc
|
||||||
}
|
}
|
||||||
|
|
||||||
def set_spinner(self) -> None:
|
def set_spinner(self) -> None:
|
||||||
|
|
|
@ -57,10 +57,10 @@ class AsciiBox(Configs):
|
||||||
|
|
||||||
def assign_border_color(self):
|
def assign_border_color(self):
|
||||||
self.border_colors: dict[str] = {
|
self.border_colors: dict[str] = {
|
||||||
'': self.endc,
|
|
||||||
'red': self.red,
|
'red': self.red,
|
||||||
'blue': self.blue,
|
'blue': self.blue,
|
||||||
'cyan': self.cyan,
|
'cyan': self.cyan,
|
||||||
|
'white': self.endc,
|
||||||
'green': self.green,
|
'green': self.green,
|
||||||
'yellow': self.yellow,
|
'yellow': self.yellow,
|
||||||
'bold_red': self.bred,
|
'bold_red': self.bred,
|
||||||
|
|
Loading…
Reference in a new issue