on master help sign in
Add gruvbox-light theme (#1509)
97e6f2aRohan Jain
runtime/themes/gruvbox_light.tomlnew file+88
@@ -0,0 +1,88 @@
1+# Author : Rohan Jain <crodjer@pm.me>
2+# Author : Jakub Bartodziej <kubabartodziej@gmail.com>
3+# The theme uses the gruvbox light palette with standard contrast: github.com/morhetz/gruvbox
4+
5+"attribute" = "aqua1"
6+"keyword" = { fg = "red1" }
7+"keyword.directive" = "red0"
8+"namespace" = "aqua1"
9+"punctuation" = "orange1"
10+"punctuation.delimiter" = "orange1"
11+"operator" = "purple1"
12+"special" = "purple0"
13+"variable.other.member" = "blue1"
14+"variable" = "fg1"
15+"variable.builtin" = "orange1"
16+"variable.parameter" = "fg2"
17+"type" = "yellow1"
18+"type.builtin" = "yellow1"
19+"constructor" = { fg = "purple1", modifiers = ["bold"] }
20+"function" = { fg = "green1", modifiers = ["bold"] }
21+"function.macro" = "aqua1"
22+"function.builtin" = "yellow1"
23+"comment" = { fg = "gray1", modifiers = ["italic"] }
24+"constant" = { fg = "purple1" }
25+"constant.builtin" = { fg = "purple1", modifiers = ["bold"] }
26+"string" = "green1"
27+"constant.numeric" = "purple1"
28+"constant.character.escape" = { fg = "fg2", modifiers = ["bold"] }
29+"label" = "aqua1"
30+"module" = "aqua1"
31+
32+"diff.plus" = "green1"
33+"diff.delta" = "orange1"
34+"diff.minus" = "red1"
35+
36+"warning" = { fg = "orange1", bg = "bg1" }
37+"error" = { fg = "red1", bg = "bg1" }
38+"info" = { fg = "aqua1", bg = "bg1" }
39+"hint" = { fg = "blue1", bg = "bg1" }
40+
41+"ui.background" = { bg = "bg0" }
42+"ui.linenr" = { fg = "bg4" }
43+"ui.linenr.selected" = { fg = "yellow1" }
44+"ui.statusline" = { fg = "fg1", bg = "bg2" }
45+"ui.statusline.inactive" = { fg = "fg4", bg = "bg1" }
46+"ui.popup" = { bg = "bg1" }
47+"ui.window" = { bg = "bg1" }
48+"ui.help" = { bg = "bg1", fg = "fg1" }
49+"ui.text" = { fg = "fg1" }
50+"ui.text.focus" = { fg = "fg1" }
51+"ui.selection" = { bg = "bg3", modifiers = ["reversed"] }
52+"ui.cursor.primary" = { modifiers = ["reversed"] }
53+"ui.cursor.match" = { modifiers = ["reversed"] }
54+"ui.menu" = { fg = "fg1", bg = "bg2" }
55+"ui.menu.selected" = { fg = "bg2", bg = "blue1", modifiers = ["bold"] }
56+
57+"diagnostic" = { modifiers = ["underlined"] }
58+
59+[palette]
60+bg0 = "#fbf1c7" # main background
61+bg1 = "#ebdbb2"
62+bg2 = "#d5c4a1"
63+bg3 = "#bdae93"
64+bg4 = "#a89984"
65+
66+fg0 = "#282828" # main foreground
67+fg1 = "#3c3836"
68+fg2 = "#504945"
69+fg3 = "#665c54"
70+fg4 = "#7c6f64" # gray0
71+
72+gray0 = "#7c6f64"
73+gray1 = "#928374"
74+
75+red0 = "#cc241d" # neutral
76+red1 = "#9d0006" # bright
77+green0 = "#98971a"
78+green1 = "#79740e"
79+yellow0 = "#d79921"
80+yellow1 = "#b57614"
81+blue0 = "#458588"
82+blue1 = "#076678"
83+purple0 = "#b16286"
84+purple1 = "#8f3f71"
85+aqua0 = "#689d6a"
86+aqua1 = "#427b58"
87+orange0 = "#d65d0e"
88+orange1 = "#af3a03"