summaryrefslogtreecommitdiff
path: root/srcery.h
diff options
context:
space:
mode:
Diffstat (limited to 'srcery.h')
-rw-r--r--srcery.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/srcery.h b/srcery.h
new file mode 100644
index 0000000..748b3c2
--- /dev/null
+++ b/srcery.h
@@ -0,0 +1,38 @@
+/* Terminal colors (16 first used in escape sequence) */
+static const char *colorname[] = {
+ /* 8 normal colors */
+ "#1c1b19",
+ "#ef2f27",
+ "#519f50",
+ "#fbb829",
+ "#2c78bf",
+ "#e02c6d",
+ "#0aaeb3",
+ "#baa67f",
+
+ /* 8 bright colors */
+ "#918175",
+ "#f75341",
+ "#98bc37",
+ "#fed06e",
+ "#68a8e4",
+ "#ff5c8f",
+ "#2be4d0",
+ "#fce8c3",
+
+ [255] = 0,
+
+ /* more colors can be added after 255 to use with DefaultXX */
+ "#fce8c3", /* foreground */
+ "#1c1b19", /* background */
+ "#fbb829", /* cursor */
+};
+
+/*
+ * Default colors (colorname index)
+ * foreground, background, cursor, reverse cursor
+ */
+unsigned int defaultfg = 256;
+unsigned int defaultbg = 257;
+unsigned int defaultcs = 258;
+static unsigned int defaultrcs = 257;