Skip to content

Commit 2095586

Browse files
authored
Add new theme: Nvim-dark (helix-editor#14403)
1 parent 987b04b commit 2095586

1 file changed

Lines changed: 109 additions & 0 deletions

File tree

runtime/themes/nvim-dark.toml

Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
# A port of Neovim's default dark color scheme created by echasnovski: https://github.com/neovim/neovim/pull/26334
2+
# Based on Kim Nørgaard's Neovim dark (accented) theme for Zed: https://github.com/KimNorgaard/zed-neovim-default
3+
4+
attribute = "fog"
5+
keyword = { fg = "fog", modifiers = ["bold"] }
6+
"keyword.directive" = { fg = "fog", modifiers = ["bold"] }
7+
namespace = "fog"
8+
punctuation = "fog"
9+
"punctuation.delimiter" = "fog"
10+
operator = "fog"
11+
special = "aqua"
12+
"variable.other.member" = "sky"
13+
variable = "fog"
14+
"variable.parameter" = { fg = "aqua" }
15+
"variable.builtin" = "aqua"
16+
type = "fog"
17+
"type.builtin" = "aqua"
18+
constructor = "aqua"
19+
function = "aqua"
20+
"function.macro" = "fog"
21+
"function.builtin" = "aqua"
22+
tag = "aqua"
23+
comment = "stone"
24+
constant = "fog"
25+
"constant.builtin" = "fog"
26+
string = "leaf"
27+
"constant.numeric" = "fog"
28+
"constant.character.escape" = "aqua"
29+
label = { fg = "fog", modifiers = ["bold"] }
30+
tabstop = { modifiers = ["italic"], bg = "panel"}
31+
32+
"markup.heading" = "fog"
33+
"markup.bold" = { modifiers = ["bold"] }
34+
"markup.italic" = { modifiers = ["italic"] }
35+
"markup.strikethrough" = { modifiers = ["crossed_out"] }
36+
"markup.link.url" = { fg = "aqua", modifiers = ["italic"] }
37+
"markup.link.text" = "aqua"
38+
"markup.raw" = "aqua"
39+
40+
"diff.plus" = "leaf"
41+
"diff.minus" = "rose"
42+
"diff.delta" = "sun"
43+
44+
"ui.background" = { bg = "night" }
45+
"ui.background.separator" = { fg = "panel" }
46+
"ui.linenr" = { fg = "slate" }
47+
"ui.linenr.selected" = { fg = "fog" }
48+
49+
"ui.statusline" = { fg = "fog", bg = "panel" }
50+
"ui.statusline.inactive" = { fg = "stone", bg = "panel" }
51+
"ui.statusline.normal" = { bg = "aqua", fg = "panel" }
52+
"ui.statusline.insert" = { bg = "leaf", fg = "panel" }
53+
"ui.statusline.select" = { bg = "sky", fg = "panel" }
54+
55+
"ui.popup" = { bg = "panel" }
56+
"ui.window" = { fg = "panel" }
57+
"ui.help" = { bg = "panel", fg = "fog" }
58+
"ui.text" = { fg = "fog" }
59+
"ui.text.focus" = { fg = "fog" }
60+
"ui.text.inactive" = "stone"
61+
"ui.text.directory" = { fg = "sky" }
62+
"ui.virtual" = { fg = "slate" }
63+
"ui.virtual.ruler" = { bg = "panel" }
64+
"ui.virtual.jump-label" = { fg = "sun", modifiers = ["bold"] }
65+
66+
"ui.virtual.indent-guide" = { fg = "slate" }
67+
68+
"ui.selection" = { bg = "oxford" }
69+
"ui.selection.primary" = { bg = "oxford" }
70+
"ui.cursor.select" = { bg = "aqua" }
71+
"ui.cursor.insert" = { bg = "fog" }
72+
"ui.cursor.primary.select" = { bg = "aqua" }
73+
"ui.cursor.primary.insert" = { bg = "fog" }
74+
"ui.cursor.match" = { fg = "night", bg = "slate" }
75+
"ui.cursor" = { modifiers = ["reversed"] }
76+
"ui.cursorline.primary" = { bg = "panel" }
77+
"ui.highlight" = { bg = "panel" }
78+
"ui.highlight.frameline" = { bg = "slate" }
79+
"ui.debug" = { fg = "slate" }
80+
"ui.debug.breakpoint" = { fg = "sun" }
81+
"ui.menu" = { fg = "fog", bg = "panel" }
82+
"ui.menu.selected" = { fg = "night", bg = "fog" }
83+
"ui.menu.scroll" = { fg = "fog", bg = "panel" }
84+
85+
"diagnostic.hint" = { underline = { color = "stone", style = "curl" } }
86+
"diagnostic.info" = { underline = { color = "aqua", style = "curl" } }
87+
"diagnostic.warning" = { underline = { color = "sun", style = "curl" } }
88+
"diagnostic.error" = { underline = { color = "rose", style = "curl" } }
89+
"diagnostic.unnecessary" = { modifiers = ["dim"] }
90+
"diagnostic.deprecated" = { modifiers = ["crossed_out"] }
91+
92+
warning = "sun"
93+
error = "rose"
94+
info = "aqua"
95+
hint = "stone"
96+
97+
[palette]
98+
fog = "#e0e2ea"
99+
stone = "#9b9ea4"
100+
night = "#14161b"
101+
panel = "#2c2e33"
102+
slate = "#4f5258"
103+
104+
aqua = "#8cf8f7"
105+
leaf = "#b3f6c0"
106+
sun = "#fce094"
107+
rose = "#ffc0b9"
108+
sky = "#a6dbff"
109+
oxford = "#0D2847"

0 commit comments

Comments
 (0)