Update and rename sign_vars.py to message_prefixes.py

This commit is contained in:
Richard Mwewa
2022-11-25 02:50:59 +02:00
committed by GitHub
parent a6ca1e3c0c
commit d27d9b9168
2 changed files with 14 additions and 14 deletions

View File

@@ -0,0 +1,14 @@
from octosuite.colors import red, white, green, reset
"""
MessagePrefix *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 severity of the notifications you get in a program.
"""
class MessagePrefix:
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}"

View File

@@ -1,14 +0,0 @@
from octosuite.colors import red, white, green, reset
"""
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 severity of the notifications you get in a program.
"""
class SignVar:
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}"