From b2557fd7146048e889975badc0eb60d345e41726 Mon Sep 17 00:00:00 2001 From: Richard Mwewa <74001397+rly0nheart@users.noreply.github.com> Date: Thu, 23 Jun 2022 12:31:33 +0200 Subject: [PATCH] Create sign_vars.py --- octosuite/sign_vars.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 octosuite/sign_vars.py diff --git a/octosuite/sign_vars.py b/octosuite/sign_vars.py new file mode 100644 index 0000000..dc95755 --- /dev/null +++ b/octosuite/sign_vars.py @@ -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}'