Skip to content

Commit d236be6

Browse files
nitanmarceltrufae
authored andcommitted
Add gruvbox (dark) theme ##cons
1 parent 19da5ae commit d236be6

File tree

2 files changed

+123
-0
lines changed

2 files changed

+123
-0
lines changed

libr/cons/d/gruvbox

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# Inspired by gruvbox
2+
#https://github.com/morhetz/gruvbox
3+
ecd
4+
ec ai.exec rgb:689d6a
5+
ec ai.read rgb:458588
6+
ec ai.write rgb:cc241d
7+
ec args rgb:b8bb26
8+
ec b0x00 rgb:665c54
9+
ec b0x7f rgb:504945
10+
ec b0xff rgb:ebdbb2
11+
ec btext rgb:8ec07c
12+
ec comment rgb:928374
13+
ec creg rgb:fe8019
14+
ec flag rgb:8ec07c
15+
ec fline rgb:83a598
16+
ec flow rgb:928374
17+
ec flow2 rgb:ebdbb2
18+
ec fname rgb:8ec07c
19+
ec graph.traced rgb:b8bb26
20+
ec graph.box rgb:3c3836
21+
ec graph.box2 rgb:fe8019
22+
ec graph.box3 rgb:83a598
23+
ec graph.box4 rgb:83a598
24+
ec graph.current rgb:ebdbb2
25+
ec graph.false rgb:fb4934
26+
ec graph.true rgb:b8bb26
27+
ec graph.trufae rgb:83a598
28+
ec help rgb:b8bb26
29+
ec input rgb:7c6f64
30+
ec jmp rgb:b8bb26
31+
ec label rgb:8ec07c
32+
ec linehl rgb:3c3836
33+
ec mov rgb:ebdbb2
34+
ec nop rgb:928374
35+
ec num rgb:d3869b
36+
ec offset rgb:d65d0e
37+
ec other rgb:7c6f64
38+
ec prompt rgb:8ec07c
39+
ec call rgb:fb4934
40+
ec reg rgb:fabd2f
41+
ec ret rgb:cc241d
42+
ec swi rgb:cc241d
43+
ec trap rgb:cc241d
44+
ec cmp rgb:8ec07c
45+
ec math rgb:665c54
46+
ec bin rgb:665c54
47+
ec push rgb:8ec07c
48+
ec pop rgb:8ec07c
49+
ec cjmp rgb:b8bb26
50+
ec ucall rgb:83a598
51+
ec ujmp rgb:b8bb26
52+
ec usrcmt rgb:fe8019
53+
54+
ec var rgb:83a598
55+
ec var.type rgb:fabd2f
56+
ec var.addr rgb:fb4934
57+
ec var.name rgb:83a598
58+
59+
ec widget.bg rgb:7c6f64 rgb:282828
60+
ec widget.sel rgb:8ec07c rgb:3c3836

libr/cons/d_themes.inc.c

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1154,6 +1154,68 @@ static const char * const theme_greepy = \
11541154
"ec widget.bg rgb:f0f rgb:0f0\n"
11551155
"ec widget.sel rgb:0f0 rgb:f0f\n"
11561156
;
1157+
static const char * const theme_gruvbox = \
1158+
"# Inspired by gruvbox\n"
1159+
"#https://github.com/morhetz/gruvbox\n"
1160+
"ecd\n"
1161+
"ec ai.exec rgb:689d6a\n"
1162+
"ec ai.read rgb:458588\n"
1163+
"ec ai.write rgb:cc241d\n"
1164+
"ec args rgb:b8bb26\n"
1165+
"ec b0x00 rgb:665c54\n"
1166+
"ec b0x7f rgb:504945\n"
1167+
"ec b0xff rgb:ebdbb2\n"
1168+
"ec btext rgb:8ec07c\n"
1169+
"ec comment rgb:928374\n"
1170+
"ec creg rgb:fe8019\n"
1171+
"ec flag rgb:8ec07c\n"
1172+
"ec fline rgb:83a598\n"
1173+
"ec flow rgb:928374\n"
1174+
"ec flow2 rgb:ebdbb2\n"
1175+
"ec fname rgb:8ec07c\n"
1176+
"ec graph.traced rgb:b8bb26\n"
1177+
"ec graph.box rgb:3c3836\n"
1178+
"ec graph.box2 rgb:fe8019\n"
1179+
"ec graph.box3 rgb:83a598\n"
1180+
"ec graph.box4 rgb:83a598\n"
1181+
"ec graph.current rgb:ebdbb2\n"
1182+
"ec graph.false rgb:fb4934\n"
1183+
"ec graph.true rgb:b8bb26\n"
1184+
"ec graph.trufae rgb:83a598\n"
1185+
"ec help rgb:b8bb26\n"
1186+
"ec input rgb:7c6f64\n"
1187+
"ec jmp rgb:b8bb26\n"
1188+
"ec label rgb:8ec07c\n"
1189+
"ec linehl rgb:3c3836\n"
1190+
"ec mov rgb:ebdbb2\n"
1191+
"ec nop rgb:928374\n"
1192+
"ec num rgb:d3869b\n"
1193+
"ec offset rgb:d65d0e\n"
1194+
"ec other rgb:7c6f64\n"
1195+
"ec prompt rgb:8ec07c\n"
1196+
"ec call rgb:fb4934\n"
1197+
"ec reg rgb:fabd2f\n"
1198+
"ec ret rgb:cc241d\n"
1199+
"ec swi rgb:cc241d\n"
1200+
"ec trap rgb:cc241d\n"
1201+
"ec cmp rgb:8ec07c\n"
1202+
"ec math rgb:665c54\n"
1203+
"ec bin rgb:665c54\n"
1204+
"ec push rgb:8ec07c\n"
1205+
"ec pop rgb:8ec07c\n"
1206+
"ec cjmp rgb:b8bb26\n"
1207+
"ec ucall rgb:83a598\n"
1208+
"ec ujmp rgb:b8bb26\n"
1209+
"ec usrcmt rgb:fe8019\n"
1210+
"\n"
1211+
"ec var rgb:83a598\n"
1212+
"ec var.type rgb:fabd2f\n"
1213+
"ec var.addr rgb:fb4934\n"
1214+
"ec var.name rgb:83a598\n"
1215+
"\n"
1216+
"ec widget.bg rgb:7c6f64 rgb:282828\n"
1217+
"ec widget.sel rgb:8ec07c rgb:3c3836\n"
1218+
;
11571219
static const char * const theme_iaito = \
11581220
"ecd\n"
11591221
"ec comment rgb:8e8c8b\n"
@@ -2261,6 +2323,7 @@ RConsTheme d_themes[] = {
22612323
{ "gb", theme_gb },
22622324
{ "gentoo", theme_gentoo },
22632325
{ "greepy", theme_greepy },
2326+
{ "gruvbox", theme_gruvbox },
22642327
{ "iaito", theme_iaito },
22652328
{ "lima", theme_lima },
22662329
{ "matrix", theme_matrix },

0 commit comments

Comments
 (0)