@@ -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
3−"ui.linenr.selected" = "nord4"
5+## SYNTAX HIGHLIGHTING
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" }
13−# Polar Night
7+# Constants
14−# nord0 - background color
8+"constant" = "nord4"
15−"ui.background" = { bg = "nord0" }
9+"constant.builtin" = "nord9"
16−
10+"constant.builtin.boolean" = "nord9"
17−"ui.statusline.inactive" = { fg = "nord8", bg = "nord1" }
11+"constant.builtin.character" = "nord15"
18−"ui.statusline.normal" = { fg = "nord0", bg = "nord8" }
12+"constant.character.escape" = "nord13"
19−"ui.statusline.insert" = { fg = "nord0", bg = "nord13" }
13+"constant.macro" = "nord9"
20−"ui.statusline.select" = { fg = "nord0", bg = "nord15" }
14+"constant.numeric" = "nord15"
15+"constructor" = "nord8"
18+"diagnostic" = "nord13"
19+"diagnostic.error" = "nord11"
21+"diagnostic.hint" = "nord10"
23+"diagnostic.info" = "nord8"
25+"diagnostic.warning" = "nord13"
23−# nord1 - status bars, panels, modals, autocompletion
28+# Diffs
24−"ui.statusline" = { fg = "nord4", bg = "nord1" }
29+"diff.delta" = "nord13"
25−"ui.popup" = { bg = "nord1" }
30+"diff.minus" = "nord11"
26−"ui.window" = { bg = "nord1" }
31+"diff.plus" = "nord14"
27−"ui.help" = { bg = "nord1", fg = "nord4" }
29−# nord2 - active line, highlighting
33+# Functions
30−"ui.selection" = { bg = "nord2" }
34+"function" = "nord8"
31−"ui.cursor.match" = { bg = "nord2" }
35+"function.builtin" = "nord7"
36+"function.method" = "nord8"
37+"function.macro" = "nord9"
38+"function.special" = "nord9"
41+"git.delta.moved" = "nord12"
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"
56+"punctuation" = "nord6"
57+"punctuation.bracket" = "nord6"
58+"punctuation.delimiter" = "nord6"
59+"punctuation.special" = "nord9"
33−# nord3 - comments, invisible/non-printable characters
61+# Strings
34−"comment" = { fg = "nord3_bright", modifiers = ["italic"] }
62+"string" = "nord14"
35−"ui.linenr" = "nord3_bright"
63+"string.escape" = "nord13"
36−"ui.virtual.whitespace" = "nord3_bright"
64+"string.regex" = "nord13"
37−"ui.virtual.inlay-hint" = { fg = "nord3_bright" }
65+"string.special" = "nord13"
69+"type.builtin" = "nord7"
40−# Snow Storm
71+# Variables
41−# nord4 - cursor, variables, constants, attributes, fields
42−"ui.cursor.primary" = { fg = "nord4", modifiers = ["reversed"] }
44"variable" = "nord4"
72"variable" = "nord4"
46−"variable.builtin" = "nord4"
73+"variable.builint" = "nord9"
47−"constant.builtin" = "nord4"
74+"variable.other.member" = "nord4"
48−"namespace" = "nord4"
75+"variable.parameter" = "nord8"
49−
76+"attribute" = "nord4"
50−# nord5 - subtle UI text
52−# nord6 - base text, punctuation
54−"punctuation" = "nord6"
57−# nord7 - classes, types, primitives
59−"type.builtin" = "nord7"
60"label" = "nord7"
79"label" = "nord7"
61−
80+"namespace" = "nord4"
62−# nord8 - declaration, methods, routines
63−"constructor" = "nord8"
65−"function.macro" = "nord8"
66−"function.builtin" = "nord8"
68−# nord9 - operator, tags, units, punctuations
69−"punctuation.delimiter" = "nord9"
70"operator" = "nord9"
81"operator" = "nord9"
71−"variable.other.member" = "nord9"
82+"special" = "nord4"
84+"comment" = { fg = "nord3_bright", modifiers = ["italic"] }
73−# nord10 - keywords, special
86+## EDITOR UI COLORS
75−"keyword.directive" = "nord10"
76−"variable.parameter" = "nord10"
78−# Aurora
88+"ui.background" = { bg = "nord0" }
79−# nord11 - error
89+"ui.text" = "nord4"
80−"error" = "nord11"
90+"ui.window" = "nord1"
82−# nord12 - annotations, decorators
92+# Debug
83−"special" = "nord12"
93+"ui.debug.active" = "nord13"
84−"module" = "nord12"
94+"ui.debug.breakpoint" = "nord11"
86−# nord13 - warnings, escape characters, regex
96+# Popus and menus
87−"warning" = "nord13"
97+"ui.menu" = { bg = "nord1" }
88−"constant.character.escape" = "nord13"
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" }
90−# nord14 - strings
104+# Gutter
91−"string" = "nord14"
105+"ui.gutter" = "nord5"
106+"ui.linenr" = "nord3"
107+"ui.linenr.selected" = "nord5"
93−# nord15 - integer, floating point
109+# Cursor
94−"constant.numeric" = "nord15"
110+"ui.cursor" = { fg = "nord4", modifiers = [ "reversed" ] }
111+"ui.cursorcolumn.primary" = { bg = "nord1" }
112+"ui.cursorline.primary" = { bg = "nord1" }
96−# markup
114+"ui.selection" = { bg = "nord2" }
97−"markup.heading" = "nord8"
115+"ui.highlight" = { fg = "nord8", bg = "nord2" }
98−"markup.list" = "nord9"
116+
99−"markup.bold" = { modifiers = ["bold"] }
117+# Statusline
100−"markup.italic" = { modifiers = ["italic"] }
118+"ui.statusline" = { bg = "nord1" }
101−"markup.strikethrough" = { modifiers = ["crossed_out"] }
119+"ui.statusline.inactive" = { fg = "nord8", bg = "nord1" }
102−"markup.link.text" = "nord8"
120+"ui.statusline.insert" = { fg = "nord1", bg = "nord6" }
103−"markup.raw" = "nord7"
121+"ui.statusline.normal" = { fg = "nord1", bg = "nord8" }
104−
122+"ui.statusline.select" = { fg = "nord1", bg = "nord7" }
105−# lsp diagnostics
123+"ui.statusline.separator" = "nord3"
106−"diagnostic.error" = { underline = { color = "nord11", style = "curl" } }
124+
107−"diagnostic.warning" = { underline = { color = "nord13", style = "curl" } }
125+# Virtual/invisable text
108−"diagnostic.info" = { underline = { color = "nord8", style = "curl" } }
126+"ui.virtual.indent-guide" = "nord3"
109−"diagnostic.hint" = { underline = { color = "nord8", style = "curl" } }
127+"ui.virtual.inlay-hint" = { fg = "nord3", modifiers = ["italic"] }
110−
128+"ui.virtual.ruler" = "nord3"
111−# vcs
129+"ui.virtual.whitespace" = "nord3"
112−"diff.plus" = "nord14"
130+"ui.virtual.wrap" = "nord3"
113−"diff.delta" = "nord12"
131+
114−"diff.minus" = "nord11"
132+# Bufferline
133+"ui.bufferline" = { fg = "nord5", bg = "nord1" }
134+"ui.bufferline.active" = { fg = "nord6", bg = "nord2", underline = { color = "nord8", style = "line" }, modifiers = [ "italic" ] }
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.
139+# The origin color or the Polar Night palette
117−nord0 = "#2e3440"
140+nord0 = "#2e3440"
141+# A brighter shade color based on nord0
118−nord1 = "#3b4252"
142+nord1 = "#3B4252"
143+# An even more brighter shade color of nord0
119−nord2 = "#434c5e"
144+nord2 = "#434C5E"
120−# we use a brighter nord3 based on discussion here:
145+# The brightest shade color based on nord0
121−# https://github.com/arcticicestudio/nord/issues/94
147+# 10% brighter for comments, see https://github.com/nordtheme/nord/issues/94
122−nord3_bright = "#616e88"
148+nord3_bright = "#616e88"
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
123−nord4 = "#d8dee9"
152+nord4 = "#D8DEE9"
153+# A brighter shade color of nord4
155+# The brightest shade color based on nord4
124−nord6 = "#eceff4"
156+nord6 = "#ECEFF4"
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.
160+# A calm and highly contrasted color reminiscent of frozen polar water
125−nord7 = "#8fbcbb"
161+nord7 = "#8FBCBB"
162+# The bright and shiny primary accent color reminiscent of pure and clear ice
126−nord8 = "#88c0d0"
163+nord8 = "#88C0D0"
164+# A more darkened and less saturated color reminiscent of arctic waters
127−nord9 = "#81a1c1"
165+nord9 = "#81A1C1"
166+# A dark and intensive color reminiscent of the deep arctic ocean
128−nord10 = "#5e81ac"
167+ nord10 = "#5E81AC"
169+# Aurora consists of five colorful components reminiscent of the "Aurora borealis", sometimes referred to as polar lights or northern lights.
129−nord11 = "#bf616a"
172+nord11 = "#BF616A"
130−nord12 = "#d08770"
174+nord12 = "#D08770"
131−nord13 = "#ebcb8b"
176+nord13 = "#EBCB8B"
132−nord14 = "#a3be8c"
178+nord14 = "#A3BE8C"
133−nord15 = "#b48ead"
180+nord15 = "#B48EAD"