Create sign_vars.py

This commit is contained in:
Richard Mwewa
2022-06-23 12:31:33 +02:00
committed by GitHub
parent 2a025190bd
commit b2557fd714

15
octosuite/sign_vars.py Normal file
View File

@@ -0,0 +1,15 @@
from octosuite.colors import Color
'''
Attributes
*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}'