fork/helix

git clone https://git.julia.blue/fork/helix

Ben Lee-CohenAdding jump styles for Nord and Nord Light (#10008)1e50fb8b

24.03
5.5 KiB191 linesraw
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
4
5## SYNTAX HIGHLIGHTING
6
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"
16
17# Diagnostics
18"diagnostic" = { underline = { color = "nord13", style = "curl" } }
19"diagnostic.error" = { underline = { color = "nord11", style = "curl" } }
20"error" = "nord11"
21"diagnostic.hint" = { underline = { color = "nord10", style = "curl" } }
22"hint" = "nord10"
23"diagnostic.info" = { underline = { color = "nord8", style = "curl" } }
24"info" = "nord8"
25"diagnostic.warning" = { underline = { color = "nord13", style = "curl" } }
26"warning" = "nord13"
27
28# Diffs
29"diff.delta" = "nord13"
30"diff.minus" = "nord11"
31"diff.plus" = "nord14"
32
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" = "nord9"
54
55# Punctuation
56"punctuation" = "nord6"
57"punctuation.bracket" = "nord6"
58"punctuation.delimiter" = "nord6"
59"punctuation.special" = "nord9"
60
61# Strings
62"string" = "nord14"
63"string.escape" = "nord13"
64"string.regex" = "nord13"
65"string.special" = "nord13"
66
67# Types
68"type" = "nord7"
69"type.builtin" = "nord7"
70
71# Variables
72"variable" = "nord4"
73"variable.builtin" = "nord9"
74"variable.other.member" = "nord4"
75"variable.parameter" = "nord8"
76"attribute" = "nord9"
77
78# Misc.
79"label" = "nord7"
80"namespace" = "nord4"
81"operator" = "nord9"
82"special" = "nord9"
83"tag" = "nord7"
84"comment" = { fg = "nord3_bright", modifiers = ["italic"] }
85
86## EDITOR UI COLORS
87
88"ui.background" = { bg = "nord0" }
89"ui.text" = "nord4"
90"ui.window" = "nord1"
91
92# Debug
93"ui.debug.active" = "nord13"
94"ui.debug.breakpoint" = "nord11"
95
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" }
103"ui.text.focus" = { fg = "nord8", bg = "nord2" }
104
105# Gutter
106"ui.gutter" = "nord5"
107"ui.linenr" = "nord3"
108"ui.linenr.selected" = "nord5"
109
110# Cursor
111"ui.cursor" = { fg = "nord4", modifiers = [ "reversed" ] }
112"ui.cursorcolumn.primary" = { bg = "nord1" }
113"ui.cursorline.primary" = { bg = "nord1" }
114
115"ui.selection" = { bg = "nord2" }
116"ui.highlight" = { fg = "nord8", bg = "nord2" }
117
118# Statusline
119"ui.statusline" = {  bg = "nord1" }
120"ui.statusline.inactive" = { fg = "nord8", bg = "nord1" }
121"ui.statusline.insert" = { fg = "nord1", bg = "nord6" }
122"ui.statusline.normal" = { fg = "nord1", bg = "nord8" }
123"ui.statusline.select" = { fg = "nord1", bg = "nord7" }
124"ui.statusline.separator" = "nord3"
125
126# Virtual/invisible text
127"ui.virtual.indent-guide" = "nord3"
128"ui.virtual.inlay-hint" = { fg = "nord3", modifiers = ["italic"] }
129"ui.virtual.jump-label" = { fg = "nord11", modifiers = ["bold"] }
130"ui.virtual.ruler" = { bg = "nord1" }
131"ui.virtual.whitespace" = "nord3"
132"ui.virtual.wrap" = "nord3"
133
134# Bufferline
135"ui.bufferline" = { fg = "nord5", bg = "nord1" }
136"ui.bufferline.active" = { fg = "nord6", bg = "nord2", underline = { color = "nord8", style = "line" }, modifiers = [ "italic" ] }
137
138# Markup
139"markup.heading" = "nord8"
140"markup.list" = "nord9"
141"markup.bold" = { modifiers = ["bold"] }
142"markup.italic" = { modifiers = ["italic"] }
143"markup.strikethrough" = { modifiers = ["crossed_out"] }
144"markup.link.text" = "nord8"
145"markup.raw" = "nord7"
146
147[palette]
148# 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.
149#
150# The origin color or the Polar Night palette
151nord0 = "#2e3440" 
152# A brighter shade color based on nord0
153nord1 = "#3B4252" 
154# An even more brighter shade color of nord0
155nord2 = "#434C5E" 
156# The brightest shade color based on nord0
157nord3 = "#4C566A" 
158# 10% brighter for comments, see https://github.com/nordtheme/nord/issues/94
159nord3_bright = "#616e88" 
160
161# Snow Storm is made up of three bright colors that are commonly used for text colors or base UI elements in bright ambiance designs.
162# The origin color or the Snow Storm palette
163nord4 = "#D8DEE9" 
164# A brighter shade color of nord4
165nord5 = "#E5E9F0" 
166# The brightest shade color based on nord4
167nord6 = "#ECEFF4" 
168
169# 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.
170#
171# A calm and highly contrasted color reminiscent of frozen polar water
172nord7 = "#8FBCBB" 
173# The bright and shiny primary accent color reminiscent of pure and clear ice
174nord8 = "#88C0D0" 
175# A more darkened and less saturated color reminiscent of arctic waters
176nord9 = "#81A1C1" 
177# A dark and intensive color reminiscent of the deep arctic ocean
178nord10 = "#5E81AC" 
179
180# Aurora consists of five colorful components reminiscent of the "Aurora borealis", sometimes referred to as polar lights or northern lights.
181#
182# Red
183nord11 = "#BF616A" 
184# Orange
185nord12 = "#D08770" 
186# Yellow
187nord13 = "#EBCB8B" 
188# Green
189nord14 = "#A3BE8C" 
190# Purple
191nord15 = "#B48EAD"