From 20f554748ebbc80406f9a37800559089d3e80e2b Mon Sep 17 00:00:00 2001 From: _ov4 Date: Tue, 1 Sep 2026 12:11:55 +0000 Subject: color --- include/util/color.h | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 include/util/color.h (limited to 'include/util/color.h') 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 + +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"; + +} -- cgit v1.3.1-4-g156e