summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md73
-rw-r--r--elbaite.Xresources37
-rw-r--r--elbaite.stColors44
3 files changed, 154 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..f5c6481
--- /dev/null
+++ b/README.md
@@ -0,0 +1,73 @@
1# Elbaite
2My custom colorscheme
3
4Xresources:
5```
6! special
7*.foreground: #bfbbb6
8*.background: #181411
9*.cursorColor: #bfbbb6
10
11! black
12*.color0: #181411
13*.color8: #2b2722
14
15! red
16*.color1: #a63221
17*.color9: #a63221
18
19! green
20*.color2: #768948
21*.color10: #768948
22
23! yellow
24*.color3: #d6a22e
25*.color11: #d6a22e
26
27! blue
28*.color4: #33658a
29*.color12: #33658a
30
31! magenta
32*.color5: #585481
33*.color13: #7473a3
34
35! cyan
36*.color6: #599a82
37*.color14: #599a82
38
39! white
40*.color7: #9a9a9a
41*.color15: #bfbbb6
42```
43
44Simple/Suckless Terminal:
45```c
46/* Terminal colors (16 first used in escape sequence) */
47static const char *colorname[] = {
48
49 /* 8 normal colors */
50 [0] = "#181411", /* black */
51 [1] = "#a63221", /* red */
52 [2] = "#768948", /* green */
53 [3] = "#d6a22e", /* yellow */
54 [4] = "#33658a", /* blue */
55 [5] = "#585481", /* magenta */
56 [6] = "#599a82", /* cyan */
57 [7] = "#9a9a9a", /* white */
58
59 /* 8 bright colors */
60 [8] = "#2b2722", /* black */
61 [9] = "#a63221", /* red */
62 [10] = "#768948", /* green */
63 [11] = "#d6a22e", /* yellow */
64 [12] = "#33658a", /* blue */
65 [13] = "#7473a3", /* magenta */
66 [14] = "#599a82", /* cyan */
67 [15] = "#bfbbb6", /* white */
68
69 /* special colors */
70 [256] = "#181411", /* background */
71 [257] = "#bfbbb6", /* foreground */
72};
73```
diff --git a/elbaite.Xresources b/elbaite.Xresources
new file mode 100644
index 0000000..6d52c4c
--- /dev/null
+++ b/elbaite.Xresources
@@ -0,0 +1,37 @@
1! special
2*.foreground: #bfbbb6
3*.background: #181411
4*.cursorColor: #bfbbb6
5
6! black
7*.color0: #181411
8*.color8: #2b2722
9
10! red
11*.color1: #a63221
12*.color9: #a63221
13
14! green
15*.color2: #768948
16*.color10: #768948
17
18! yellow
19*.color3: #d6a22e
20*.color11: #d6a22e
21
22! blue
23*.color4: #33658a
24*.color12: #33658a
25
26! magenta
27*.color5: #585481
28*.color13: #7473a3
29
30! cyan
31*.color6: #599a82
32*.color14: #599a82
33
34! white
35*.color7: #9a9a9a
36*.color15: #bfbbb6
37
diff --git a/elbaite.stColors b/elbaite.stColors
new file mode 100644
index 0000000..92f9b3d
--- /dev/null
+++ b/elbaite.stColors
@@ -0,0 +1,44 @@
1/* Terminal colors (16 first used in escape sequence) */
2static const char *colorname[] = {
3
4 /* 8 normal colors */
5 [0] = "#181411", /* black */
6 [1] = "#a63221", /* red */
7 [2] = "#768948", /* green */
8 [3] = "#d6a22e", /* yellow */
9 [4] = "#33658a", /* blue */
10 [5] = "#585481", /* magenta */
11 [6] = "#599a82", /* cyan */
12 [7] = "#9a9a9a", /* white */
13
14 /* 8 bright colors */
15 [8] = "#2b2722", /* black */
16 [9] = "#a63221", /* red */
17 [10] = "#768948", /* green */
18 [11] = "#d6a22e", /* yellow */
19 [12] = "#33658a", /* blue */
20 [13] = "#7473a3", /* magenta */
21 [14] = "#599a82", /* cyan */
22 [15] = "#bfbbb6", /* white */
23
24 /* special colors */
25 [256] = "#181411", /* background */
26 [257] = "#bfbbb6", /* foreground */
27};
28
29/*
30 * Default colors (colorname index)
31 * foreground, background, cursor
32 */
33static unsigned int defaultfg = 257;
34static unsigned int defaultbg = 256;
35static unsigned int defaultcs = 257;
36
37/*
38 * Colors used, when the specific fg == defaultfg. So in reverse mode this
39 * will reverse too. Another logic would only make the simple feature too
40 * complex.
41 */
42static unsigned int defaultitalic = 7;
43static unsigned int defaultunderline = 7;
44