aboutsummaryrefslogtreecommitdiff
path: root/ansiec/colors.go
diff options
context:
space:
mode:
Diffstat (limited to 'ansiec/colors.go')
-rw-r--r--ansiec/colors.go32
1 files changed, 32 insertions, 0 deletions
diff --git a/ansiec/colors.go b/ansiec/colors.go
new file mode 100644
index 0000000..370e6ec
--- /dev/null
+++ b/ansiec/colors.go
@@ -0,0 +1,32 @@
+package ansiec
+
+var Reset = "\x1b[0m"
+
+var (
+ Black = "\x1b[30m"
+ Red = "\x1b[31m"
+ Green = "\x1b[32m"
+ Yellow = "\x1b[33m"
+ Blue = "\x1b[34m"
+ Magenta = "\x1b[35m"
+ Cyan = "\x1b[36m"
+ White = "\x1b[37m"
+)
+
+var (
+ Bright_Black = "\x1b[30;1m"
+ Bright_Red = "\x1b[31;1m"
+ Bright_Green = "\x1b[32;1m"
+ Bright_Yellow = "\x1b[33;1m"
+ Bright_Blue = "\x1b[34;1m"
+ Bright_Magenta = "\x1b[35;1m"
+ Bright_Cyan = "\x1b[36;1m"
+ Bright_White = "\x1b[37;1m"
+)
+
+var (
+ Bold = "\x1b[1m"
+ Underline = "\x1b[4m"
+ Reversed = "\x1b[7m"
+ Italic = "\x1b[3m"
+)