aboutsummaryrefslogtreecommitdiff
path: root/include/util
diff options
context:
space:
mode:
author_ov4 <ov4@ov4.org>2026-09-01 12:11:55 +0000
committer_ov4 <ov4@ov4.org>2026-09-01 12:11:55 +0000
commit20f554748ebbc80406f9a37800559089d3e80e2b (patch)
tree1a39878a8aa4721970a02bc5691d6ea2e898cb25 /include/util
parent66e23046f3e6766064ed570d6a6a1fa53a0b9d32 (diff)
color
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";
+
+}