aboutsummaryrefslogtreecommitdiff
path: root/include/util
diff options
context:
space:
mode:
Diffstat (limited to 'include/util')
-rw-r--r--include/util/color.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/include/util/color.h b/include/util/color.h
new file mode 100644
index 0000000..01711d6
--- /dev/null
+++ b/include/util/color.h
@@ -0,0 +1,35 @@
+#pragma once
+
+#include <string>
+
+namespace ov4
+{
+
+std::string make_color(const std::string s, const std::string color);
+
+}
+
+namespace ov4::color
+{
+
+const std::string
+ black = "30",
+ red = "31",
+ green = "32",
+ yellow = "33",
+ blue = "34",
+ purple = "35",
+ cyan = "36",
+ white = "37";
+
+const std::string
+ bright_black = "90",
+ bright_red = "91",
+ bright_green = "92",
+ bright_yellow = "93",
+ bright_blue = "94",
+ bright_purple = "95",
+ bright_cyan = "96",
+ bright_white = "97";
+
+}