-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f98bfb3
commit 6a87cb5
Showing
1 changed file
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}" |