gruvbox.h (1477B)
1 #ifndef _color_scheme_ 2 #define _color_scheme_ 3 4 // see colors at: https://github.com/morhetz/gruvbox 5 6 enum colour_names { 7 bg, 8 bg0_h, 9 fg, 10 sel, 11 line, 12 red, 13 dark_green, 14 green, 15 teal, 16 yellow, 17 orange, 18 blue, 19 purple, 20 aqua, 21 gray, 22 }; 23 24 const char * const colors[] = { 25 [bg] = "#282828", 26 [bg0_h] = "#1d2021", 27 [fg] = "#fbf1c7", 28 [sel] = "#504945", 29 [line] = "#32302f", 30 [red] = "#cc251d", 31 [dark_green] = "#98971a", 32 [green] = "#b8bb26", 33 [teal] = "#8ec07c", 34 [yellow] = "#fabd2f", 35 [orange] = "#d65d0e", 36 [blue] = "#458588", 37 [purple] = "#b16286", 38 [aqua] = "#83a598", 39 [gray] = "#a89984", 40 NULL 41 }; 42 43 // default colors 44 struct glyph default_attributes = {.fg = fg, .bg = bg}; 45 unsigned int alternate_bg_bright = sel; 46 unsigned int alternate_bg_dark = bg0_h; 47 48 unsigned int cursor_fg = fg; 49 unsigned int cursor_bg = bg; 50 unsigned int mouse_line_bg = line; 51 52 unsigned int selection_bg = sel; 53 unsigned int highlight_color = yellow; 54 unsigned int path_color = teal; 55 56 unsigned int error_color = red; 57 unsigned int warning_color = yellow; 58 unsigned int ok_color = green; 59 60 #define normal_color {.fg = fg} 61 #define string_color {.fg = gray} 62 #define comment_color {.fg = gray} 63 #define type_color {.fg = teal} 64 #define keyword_color {.fg = green} 65 #define macro_color {.fg = yellow} 66 #define operator_color {.fg = yellow, .mode = ATTR_BOLD} 67 #define constants_color {.fg = dark_green} 68 #define number_color {.fg = gray} 69 #define function_color {.fg = aqua} 70 71 #endif // _color_scheme_