diff options
author | stefan <stefan@s00.xyz> | 2023-04-17 12:47:22 -0400 |
---|---|---|
committer | stefan <stefan@s00.xyz> | 2023-04-17 12:47:22 -0400 |
commit | aa975def33e14a19ebce25731f0051f5d27c6123 (patch) | |
tree | 380a959c2ca3f657c8799583d598b9a44693e2a6 /seoul256.h | |
parent | 644a54d987f75dc9036904c4f1ef320fe7fdec7d (diff) | |
download | st-aa975def33e14a19ebce25731f0051f5d27c6123.tar.gz |
stuff and things
Diffstat (limited to 'seoul256.h')
-rw-r--r-- | seoul256.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/seoul256.h b/seoul256.h new file mode 100644 index 0000000..fb56852 --- /dev/null +++ b/seoul256.h @@ -0,0 +1,40 @@ +/* Terminal colors (16 first used in escape sequence) */ +static const char *colorname[] = { + + /* 8 normal colors */ + [0] = "#4e4e4e", /* black */ + [1] = "#af5f5f", /* red */ + [2] = "#5f885f", /* green */ + [3] = "#af8760", /* yellow */ + [4] = "#5f87ae", /* blue */ + [5] = "#875f87", /* magenta */ + [6] = "#5f8787", /* cyan */ + [7] = "#938f8f", /* white */ + + /* 8 bright colors */ + [8] = "#3a3a3a", /* black */ + [9] = "#870100", /* red */ + [10] = "#005f00", /* green */ + [11] = "#d8865f", /* yellow */ + [12] = "#0087af", /* blue */ + [13] = "#87025f", /* magenta */ + [14] = "#008787", /* cyan */ + [15] = "#3a3a3a", /* white */ + + /* special colors */ + [256] = "#dadada", /* background */ + [257] = "#4e4e4e", /* foreground */ + [258] = "#4e4e4e", /* cursor */ + [259] = "#dadada", /* cursor-inverse */ + +}; + + +/* + * Default colors (colorname index) + * foreground, background, cursor, reverse cursor + */ +unsigned int defaultbg = 256; +unsigned int defaultfg = 257; +unsigned int defaultcs = 258; +unsigned int defaultrcs = 259; |