summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBen Bridle <ben@derelict.engineering>2025-02-04 20:20:19 +1300
committerBen Bridle <ben@derelict.engineering>2025-02-04 20:20:36 +1300
commit6de51983b004d7591fea89beac54e0959a4aacc8 (patch)
treee96624387c1d99f465d92f373f5648514b21cd2c /src
downloadansi-6de51983b004d7591fea89beac54e0959a4aacc8.zip
Initial commit
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
new file mode 100644
index 0000000..64a44a6
--- /dev/null
+++ b/src/lib.rs
@@ -0,0 +1,10 @@
+pub const NORMAL: &str = "\x1b[0m";
+pub const BOLD: &str = "\x1b[1m";
+pub const DIM: &str = "\x1b[2m";
+pub const RED: &str = "\x1b[31m";
+pub const GREEN: &str = "\x1b[32m";
+pub const YELLOW: &str = "\x1b[33m";
+pub const BLUE: &str = "\x1b[34m";
+pub const MAGENTA: &str = "\x1b[35m";
+pub const CYAN: &str = "\x1b[36m";
+pub const WHITE: &str = "\x1b[37m";