diff options
-rw-r--r-- | src/colours.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/colours.rs b/src/colours.rs index edd4305..d78b188 100644 --- a/src/colours.rs +++ b/src/colours.rs @@ -5,9 +5,7 @@ // Bear in mind that the first eight (and their bold variants) are // user-definable and can look different on different terminals, but -// the other 256 have their values fixed. Prefer using a fixed grey, -// such as Fixed(244), to bold black, as bold black looks really weird -// on some terminals. +// the other 256 have their values fixed. pub enum Colour { Black, Red, Green, Yellow, Blue, Purple, Cyan, White, Fixed(u8), @@ -46,6 +44,9 @@ impl Colour { } } +// Prefer using a fixed grey, such as Fixed(244), to bold black, as +// bold black looks really weird on some terminals. + pub static Grey: Colour = Fixed(244); // There are only three different styles: plain (no formatting), only |