-
Notifications
You must be signed in to change notification settings - Fork 20
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
431c6ea
commit 2c569e0
Showing
4 changed files
with
34 additions
and
0 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,8 +1,25 @@ | ||
//! Colors for use in logging and testing | ||
|
||
/// Reset color formatting | ||
pub const RESET: &str = "\x1b[00m\x1b[0m"; | ||
|
||
/// Bright red | ||
pub const RED: &str = "\x1b[31m\x1b[1m"; | ||
|
||
/// Bright green | ||
pub const GREEN: &str = "\x1b[32m\x1b[1m"; | ||
|
||
/// Bright yellow | ||
pub const YELLOW: &str = "\x1b[33m\x1b[1m"; | ||
|
||
/// Bright purple | ||
pub const PURPLE: &str = "\x1b[34m\x1b[1m"; | ||
|
||
/// Bright pink | ||
pub const PINK: &str = "\x1b[35m\x1b[1m"; | ||
|
||
/// Bright cyan | ||
pub const CYAN: &str = "\x1b[36m\x1b[1m"; | ||
|
||
/// Bright white | ||
pub const WHITE: &str = "\x1b[37m\x1b[1m"; |
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
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
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