Skip to content

Commit

Permalink
Update sign_vars.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rly0nheart authored Jul 2, 2022
1 parent f98bfb3 commit 6a87cb5
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions octosuite/sign_vars.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
from octosuite.colors import Color
from octosuite.colors import red, white, green, reset

'''
Attributes
SignVar
*Even here, I couldn't think of a good name.*
The Attributes class holds the signs/symbols that show what a notification in OctoSuite might be all about.
This might not be very important or necessary in some cases, but I think it's better to know the severerity of the notifications you get in a program.
'''
class SignVar:
prompt = f'{Color.white}[{Color.green} ? {Color.white}]{Color.reset}'
warning = f'{Color.white}[{Color.red} ! {Color.white}]{Color.reset}'
error = f'{Color.white}[{Color.red} x {Color.white}]{Color.reset}'
positive = f'{Color.white}[{Color.green} + {Color.white}]{Color.reset}'
negative = f'{Color.white}[{Color.red} - {Color.white}]{Color.reset}'
info = f'{Color.white}[{Color.green} * {Color.white}]{Color.reset}'
prompt = f"{white}[{green} ? {white}]{reset}"
warning = f"{white}[{red} ! {white}]{reset}"
error = f"{white}[{red} x {white}]{reset}"
positive = f"{white}[{green} + {white}]{reset}"
negative = f"{white}[{red} - {white}]{reset}"
info = f"{white}[{green} * {white}]{reset}"

0 comments on commit 6a87cb5

Please # to comment.