fork/helix

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

Jonah Lundimprove nord theme (#8414)1297d924

23.10
5.2 KiB181 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/invisable text
127"ui.virtual.indent-guide" = "nord3"
128"ui.virtual.inlay-hint" = { fg = "nord3", modifiers = ["italic"] }
129"ui.virtual.ruler" = { bg = "nord1" }
130"ui.virtual.whitespace" = "nord3"
131"ui.virtual.wrap" = "nord3"
132
133# Bufferline
134"ui.bufferline" = { fg = "nord5", bg = "nord1" }
135"ui.bufferline.active" = { fg = "nord6", bg = "nord2", underline = { color = "nord8", style = "line" }, modifiers = [ "italic" ] }
136
137[palette]
138# 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#
140# The origin color or the Polar Night palette
141nord0 = "#2e3440" 
142# A brighter shade color based on nord0
143nord1 = "#3B4252" 
144# An even more brighter shade color of nord0
145nord2 = "#434C5E" 
146# The brightest shade color based on nord0
147nord3 = "#4C566A" 
148# 10% brighter for comments, see https://github.com/nordtheme/nord/issues/94
149nord3_bright = "#616e88" 
150
151# Snow Storm is made up of three bright colors that are commonly used for text colors or base UI elements in bright ambiance designs.
152# The origin color or the Snow Storm palette
153nord4 = "#D8DEE9" 
154# A brighter shade color of nord4
155nord5 = "#E5E9F0" 
156# The brightest shade color based on nord4
157nord6 = "#ECEFF4" 
158
159# 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#
161# A calm and highly contrasted color reminiscent of frozen polar water
162nord7 = "#8FBCBB" 
163# The bright and shiny primary accent color reminiscent of pure and clear ice
164nord8 = "#88C0D0" 
165# A more darkened and less saturated color reminiscent of arctic waters
166nord9 = "#81A1C1" 
167# A dark and intensive color reminiscent of the deep arctic ocean
168nord10 = "#5E81AC" 
169
170# Aurora consists of five colorful components reminiscent of the "Aurora borealis", sometimes referred to as polar lights or northern lights.
171#
172# Red
173nord11 = "#BF616A" 
174# Orange
175nord12 = "#D08770" 
176# Yellow
177nord13 = "#EBCB8B" 
178# Green
179nord14 = "#A3BE8C" 
180# Purple
181nord15 = "#B48EAD"