fork/helix

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

Kris WarnerAdd matching cursor to nord theme (#13574)b70b8df9

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