diff options
author | pryazha <pryadeiniv@mail.ru> | 2025-01-01 22:23:40 +0500 |
---|---|---|
committer | pryazha <pryadeiniv@mail.ru> | 2025-01-01 22:23:40 +0500 |
commit | 4471aa029fb2f52ce6cfa3c480c6343e8fdb31c4 (patch) | |
tree | e453bfb53d930eca2c20df288af1776e8e72373b /srcery.h |
initial commit
Diffstat (limited to 'srcery.h')
-rw-r--r-- | srcery.h | 38 |
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; |