@@ -1,133 +1,180 @@
1−# Author : RayGervais<raygervais@hotmail.ca>
1+# Nord (Dark Ambiance) port for Helix (https://helix-editor.com/)
2+# https://docs.helix-editor.com/themes.html
3+# https://www.nordtheme.com/docs/colors-and-palettes
24
3−"ui.linenr.selected" = "nord4"
4−"ui.cursorline.primary" = { bg = "nord1" }
5−"ui.text.focus" = { fg = "nord8", modifiers = ["bold"] }
6−"ui.menu" = { fg = "nord6", bg = "nord1" }
7−"ui.menu.selected" = { fg = "nord8", bg = "nord2" }
8−"ui.virtual.ruler" = { bg = "nord1" }
9−
10−"info" = "nord8"
11−"hint" = "nord8"
5+## SYNTAX HIGHLIGHTING
126
13−# Polar Night
14−# nord0 - background color
15−"ui.background" = { bg = "nord0" }
16−
17−"ui.statusline.inactive" = { fg = "nord8", bg = "nord1" }
18−"ui.statusline.normal" = { fg = "nord0", bg = "nord8" }
19−"ui.statusline.insert" = { fg = "nord0", bg = "nord13" }
20−"ui.statusline.select" = { fg = "nord0", bg = "nord15" }
7+# Constants
8+"constant" = "nord4"
9+"constant.builtin" = "nord9"
10+"constant.builtin.boolean" = "nord9"
11+"constant.builtin.character" = "nord15"
12+"constant.character.escape" = "nord13"
13+"constant.macro" = "nord9"
14+"constant.numeric" = "nord15"
15+"constructor" = "nord8"
2116
17+# Diagnostics
18+"diagnostic" = "nord13"
19+"diagnostic.error" = "nord11"
20+"error" = "nord11"
21+"diagnostic.hint" = "nord10"
22+"hint" = "nord10"
23+"diagnostic.info" = "nord8"
24+"info" = "nord8"
25+"diagnostic.warning" = "nord13"
26+"warning" = "nord13"
2227
23−# nord1 - status bars, panels, modals, autocompletion
24−"ui.statusline" = { fg = "nord4", bg = "nord1" }
25−"ui.popup" = { bg = "nord1" }
26−"ui.window" = { bg = "nord1" }
27−"ui.help" = { bg = "nord1", fg = "nord4" }
28+# Diffs
29+"diff.delta" = "nord13"
30+"diff.minus" = "nord11"
31+"diff.plus" = "nord14"
2832
29−# nord2 - active line, highlighting
30−"ui.selection" = { bg = "nord2" }
31−"ui.cursor.match" = { bg = "nord2" }
33+# Functions
34+"function" = "nord8"
35+"function.builtin" = "nord7"
36+"function.method" = "nord8"
37+"function.macro" = "nord9"
38+"function.special" = "nord9"
39+
40+# Git
41+"git.delta.moved" = "nord12"
42+
43+# Keywords
44+"keyword" = "nord9"
45+"keyword.control.conditional" = "nord9"
46+"keyword.control.exception" = "nord9"
47+"keyword.control.repeat" = "nord9"
48+"keyword.directive" = "nord9"
49+"keyword.function" = "nord9"
50+"keyword.operator" = "nord9"
51+"keyword.return" = "nord9"
52+"keyword.storage.modifier" = "nord9"
53+"keyword.storage.type" = "nord7"
54+
55+# Punctuation
56+"punctuation" = "nord6"
57+"punctuation.bracket" = "nord6"
58+"punctuation.delimiter" = "nord6"
59+"punctuation.special" = "nord9"
3260
33−# nord3 - comments, invisible/non-printable characters
34−"comment" = { fg = "nord3_bright", modifiers = ["italic"] }
35−"ui.linenr" = "nord3_bright"
36−"ui.virtual.whitespace" = "nord3_bright"
37−"ui.virtual.inlay-hint" = { fg = "nord3_bright" }
61+# Strings
62+"string" = "nord14"
63+"string.escape" = "nord13"
64+"string.regex" = "nord13"
65+"string.special" = "nord13"
3866
67+# Types
68+"type" = "nord4"
69+"type.builtin" = "nord7"
3970
40−# Snow Storm
41−# nord4 - cursor, variables, constants, attributes, fields
42−"ui.cursor.primary" = { fg = "nord4", modifiers = ["reversed"] }
43−"attribute" = "nord4"
71+# Variables
4472"variable" = "nord4"
45−"constant" = "nord4"
46−"variable.builtin" = "nord4"
47−"constant.builtin" = "nord4"
48−"namespace" = "nord4"
49−
50−# nord5 - subtle UI text
51−
52−# nord6 - base text, punctuation
53−"ui.text" = "nord6"
54−"punctuation" = "nord6"
73+"variable.builint" = "nord9"
74+"variable.other.member" = "nord4"
75+"variable.parameter" = "nord8"
76+"attribute" = "nord4"
5577
56−# Frost
57−# nord7 - classes, types, primitives
58−"type" = "nord7"
59−"type.builtin" = "nord7"
78+# Misc.
6079"label" = "nord7"
61−
62−# nord8 - declaration, methods, routines
63−"constructor" = "nord8"
64−"function" = "nord8"
65−"function.macro" = "nord8"
66−"function.builtin" = "nord8"
67−
68−# nord9 - operator, tags, units, punctuations
69−"punctuation.delimiter" = "nord9"
80+"namespace" = "nord4"
7081"operator" = "nord9"
71−"variable.other.member" = "nord9"
82+"special" = "nord4"
83+"tag" = "nord4"
84+"comment" = { fg = "nord3_bright", modifiers = ["italic"] }
7285
73−# nord10 - keywords, special
74−"keyword" = "nord10"
75−"keyword.directive" = "nord10"
76−"variable.parameter" = "nord10"
86+## EDITOR UI COLORS
7787
78−# Aurora
79−# nord11 - error
80−"error" = "nord11"
88+"ui.background" = { bg = "nord0" }
89+"ui.text" = "nord4"
90+"ui.window" = "nord1"
8191
82−# nord12 - annotations, decorators
83−"special" = "nord12"
84−"module" = "nord12"
92+# Debug
93+"ui.debug.active" = "nord13"
94+"ui.debug.breakpoint" = "nord11"
8595
86−# nord13 - warnings, escape characters, regex
87−"warning" = "nord13"
88−"constant.character.escape" = "nord13"
96+# Popus and menus
97+"ui.menu" = { bg = "nord1" }
98+"ui.menu.scroll" = { fg = "nord4", bg = "nord3" }
99+"ui.menu.selected" = { fg = "nord8", bg = "nord2" }
100+"ui.popup" = { bg = "nord1" }
101+"ui.popup.info" = { bg = "nord1" }
102+"ui.help" = { bg = "nord1" }
89103
90−# nord14 - strings
91−"string" = "nord14"
104+# Gutter
105+"ui.gutter" = "nord5"
106+"ui.linenr" = "nord3"
107+"ui.linenr.selected" = "nord5"
92108
93−# nord15 - integer, floating point
94−"constant.numeric" = "nord15"
109+# Cursor
110+"ui.cursor" = { fg = "nord4", modifiers = [ "reversed" ] }
111+"ui.cursorcolumn.primary" = { bg = "nord1" }
112+"ui.cursorline.primary" = { bg = "nord1" }
95113
96−# markup
97−"markup.heading" = "nord8"
98−"markup.list" = "nord9"
99−"markup.bold" = { modifiers = ["bold"] }
100−"markup.italic" = { modifiers = ["italic"] }
101−"markup.strikethrough" = { modifiers = ["crossed_out"] }
102−"markup.link.text" = "nord8"
103−"markup.raw" = "nord7"
104−
105−# lsp diagnostics
106−"diagnostic.error" = { underline = { color = "nord11", style = "curl" } }
107−"diagnostic.warning" = { underline = { color = "nord13", style = "curl" } }
108−"diagnostic.info" = { underline = { color = "nord8", style = "curl" } }
109−"diagnostic.hint" = { underline = { color = "nord8", style = "curl" } }
110−
111−# vcs
112−"diff.plus" = "nord14"
113−"diff.delta" = "nord12"
114−"diff.minus" = "nord11"
114+"ui.selection" = { bg = "nord2" }
115+"ui.highlight" = { fg = "nord8", bg = "nord2" }
116+
117+# Statusline
118+"ui.statusline" = { bg = "nord1" }
119+"ui.statusline.inactive" = { fg = "nord8", bg = "nord1" }
120+"ui.statusline.insert" = { fg = "nord1", bg = "nord6" }
121+"ui.statusline.normal" = { fg = "nord1", bg = "nord8" }
122+"ui.statusline.select" = { fg = "nord1", bg = "nord7" }
123+"ui.statusline.separator" = "nord3"
124+
125+# Virtual/invisable text
126+"ui.virtual.indent-guide" = "nord3"
127+"ui.virtual.inlay-hint" = { fg = "nord3", modifiers = ["italic"] }
128+"ui.virtual.ruler" = "nord3"
129+"ui.virtual.whitespace" = "nord3"
130+"ui.virtual.wrap" = "nord3"
131+
132+# Bufferline
133+"ui.bufferline" = { fg = "nord5", bg = "nord1" }
134+"ui.bufferline.active" = { fg = "nord6", bg = "nord2", underline = { color = "nord8", style = "line" }, modifiers = [ "italic" ] }
115135
116136[palette]
117−nord0 = "#2e3440"
118−nord1 = "#3b4252"
119−nord2 = "#434c5e"
120−# we use a brighter nord3 based on discussion here:
121−# https://github.com/arcticicestudio/nord/issues/94
122−nord3_bright = "#616e88"
123−nord4 = "#d8dee9"
124−nord6 = "#eceff4"
125−nord7 = "#8fbcbb"
126−nord8 = "#88c0d0"
127−nord9 = "#81a1c1"
128−nord10 = "#5e81ac"
129−nord11 = "#bf616a"
130−nord12 = "#d08770"
131−nord13 = "#ebcb8b"
132−nord14 = "#a3be8c"
133−nord15 = "#b48ead"
137+# Polar Night is made up of four darker colors that are commonly used for base elements like backgrounds or text color in bright ambiance designs.
138+#
139+# The origin color or the Polar Night palette
140+nord0 = "#2e3440"
141+# A brighter shade color based on nord0
142+nord1 = "#3B4252"
143+# An even more brighter shade color of nord0
144+nord2 = "#434C5E"
145+# The brightest shade color based on nord0
146+nord3 = "#4C566A"
147+# 10% brighter for comments, see https://github.com/nordtheme/nord/issues/94
148+nord3_bright = "#616e88"
149+
150+# Snow Storm is made up of three bright colors that are commonly used for text colors or base UI elements in bright ambiance designs.
151+# The origin color or the Snow Storm palette
152+nord4 = "#D8DEE9"
153+# A brighter shade color of nord4
154+nord5 = "#E5E9F0"
155+# The brightest shade color based on nord4
156+nord6 = "#ECEFF4"
157+
158+# Frost can be described as the heart palette of Nord, a group of four bluish colors that are commonly used for primary UI component and text highlighting and essential code syntax elements.
159+#
160+# A calm and highly contrasted color reminiscent of frozen polar water
161+nord7 = "#8FBCBB"
162+# The bright and shiny primary accent color reminiscent of pure and clear ice
163+nord8 = "#88C0D0"
164+# A more darkened and less saturated color reminiscent of arctic waters
165+nord9 = "#81A1C1"
166+# A dark and intensive color reminiscent of the deep arctic ocean
167+ nord10 = "#5E81AC"
168+
169+# Aurora consists of five colorful components reminiscent of the "Aurora borealis", sometimes referred to as polar lights or northern lights.
170+#
171+# Red
172+nord11 = "#BF616A"
173+# Orange
174+nord12 = "#D08770"
175+# Yellow
176+nord13 = "#EBCB8B"
177+# Green
178+nord14 = "#A3BE8C"
179+# Purple
180+nord15 = "#B48EAD"