fork/helix

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

Caleb Larsenchore: updated themes using 'comment.block.documentation' to also use 'comment.line.documentation'091f19f6

25.07
4.7 KiB128 linesraw
1# Author: Alexander Brevig <alexanderbrevig@gmail.com>, krfl <kr.fl@outlook.com>
2# Adopted from https://github.com/biletskyy/flatwhite-syntax
3
4"attribute" = { fg = "blue_text", bg = "blue_bg" }
5"comment" = { fg = "base3", modifiers = ["italic"] }
6"comment.line" = {}
7"comment.line.documentation" = { fg = "base2" }
8"comment.block" = {}
9"comment.block.documentation" = { fg = "base2" }
10"constant" = { fg = "blue_text", bg = "blue_bg" }
11"constructor" = { fg = "base1" }
12"function" = { fg = "base1", modifiers = ["bold"] }
13"keyword" = { fg = "purple_text", bg = "purple_bg" }
14"label" = { modifiers = ["bold"] }
15"namespace" = { fg = "teal_text", bg = "teal_bg" }
16"operator" = { fg = "base1" }
17"punctuation.bracket" = { modifiers = ["bold"] }
18"special" = { fg = "blue_text", bg = "blue_bg" }
19"string" = { fg = "green_text", bg = "green_bg" }
20"type" = { fg = "base1" }
21"variable" = { fg = "base1" }
22"variable.parameter" = { fg = "blue_text", bg = "blue_bg" }
23
24"diagnostic" = { modifiers = ["underlined"] }
25
26"diagnostic.info" = { underline = { color = "orange_text", style = "curl" } }
27"diagnostic.warning" = { underline = { color = "orange_text", style = "curl" } }
28"diagnostic.error" = { underline = { color = "diff_delete", style = "curl" } }
29"diagnostic.unnecessary" = { modifiers = ["dim"] }
30"diagnostic.deprecated" = { modifiers = ["crossed_out"] }
31
32"info" = { fg = "orange_text", bg = "orange_bg" }
33"hint" = { modifiers = ["bold"] }
34"warning" = { fg = "orange_text", bg = "orange_bg" }
35"error" = { fg = "diff_delete" }
36
37"markup.heading" = { fg = "purple_text", bg = "purple_bg", modifiers = [
38  "bold",
39] }
40"markup.raw" = { fg = "orange_text", bg = "orange_bg" }
41"markup.raw.inline" = { fg = "orange_text", bg = "orange_bg" }
42"markup.raw.block" = { fg = "orange_text", bg = "orange_bg" }
43"markup.bold" = { modifiers = ["bold"] }
44"markup.italic" = { modifiers = ["italic"] }
45"markup.strikethrough" = { modifiers = ["crossed_out"] }
46"markup.link.url" = { fg = "blue_text", bg = "blue_bg", modifiers = [
47  "underlined",
48] }
49"markup.link.label" = { fg = "blue_text", bg = "blue_bg" }
50"markup.link.text" = { fg = "blue_text", bg = "blue_bg" }
51"markup.quote" = { fg = "teal_text", bg = "teal_bg" }
52"markup.list" = { fg = "purple_text", bg = "purple_bg" }
53
54"ui.background" = { fg = "base1", bg = "base7" }
55"ui.cursorline" = { bg = "base6" }
56"ui.cursor" = { fg = "base1", bg = "base7", modifiers = ["reversed"] }
57"ui.cursor.primary" = { fg = "base1", bg = "base7", modifiers = ["reversed"] }
58"ui.cursor.match" = { fg = "base5", bg = "base3", modifiers = ["reversed"] }
59"ui.selection" = { bg = "base4" }
60"ui.selection.primary" = { fg = "base6", bg = "base2" }
61
62"ui.virtual" = { fg = "base5", bg = "base6" }
63"ui.virtual.whitespace" = { fg = "base5" }
64"ui.virtual.ruler" = { bg = "base6" }
65# Invalid modifier: "normal". See 'https://github.com/helix-editor/helix/issues/5709'
66# "ui.virtual.inlay-hint" = { fg = "base4", modifiers = ["normal"] }
67# "ui.virtual.inlay-hint.parameter" = { fg = "base3", modifiers = ["normal"] }
68"ui.virtual.inlay-hint" = "base4"
69"ui.virtual.inlay-hint.parameter" = "base3"
70"ui.virtual.inlay-hint.type" = { fg = "base3", modifiers = ["italic"] }
71
72"ui.linenr" = { bg = "base6" }
73"ui.linenr.selected" = { bg = "base6", modifiers = ["reversed"] }
74
75"ui.statusline" = { fg = "base7", bg = "base1", modifiers = ["bold"] }
76"ui.statusline.inactive" = { fg = "base7", bg = "base3" }
77"ui.statusline.normal" = { fg = "base7", bg = "base1", modifiers = ["bold"] }
78"ui.statusline.insert" = { fg = "purple_text", bg = "purple_bg", modifiers = [
79  "bold",
80] }
81"ui.statusline.select" = { fg = "teal_text", bg = "teal_bg", modifiers = [
82  "bold",
83] }
84
85"ui.text" = { fg = "base1" }
86"ui.text.focus" = { fg = "base1", modifiers = ["bold"] }
87
88"ui.menu" = { fg = "base1", bg = "base6" }
89"ui.menu.selected" = { fg = "base1", bg = "base6", modifiers = ["reversed"] }
90"ui.menu.scroll" = { fg = "base1", bg = "base6" }
91"ui.help" = { fg = "base1", bg = "base6" }
92"ui.popup" = { fg = "base1", bg = "base6" }
93"ui.window" = { fg = "base1", bg = "base6" }
94
95"diff.plus" = { fg = "diff_add" }
96"diff.delta" = { fg = "diff_change" }
97"diff.minus" = { fg = "diff_delete" }
98
99[palette]
100base1 = "#605a52"
101base2 = "#93836c"
102base3 = "#b9a992"
103base4 = "#dcd3c6"
104base5 = "#e4ddd2"
105base6 = "#f1ece4"
106base7 = "#f7f3ee"
107accent = "#6a4cff"
108orange_text = "#5b5143"
109orange_text_sec = "#957f5f"
110orange_bg = "#f7e0c3"
111green_text = "#525643"
112green_text_sec = "#81895d"
113green_bg = "#e2e9c1"
114teal_text = "#465953"
115teal_text_sec = "#5f8c7d"
116teal_bg = "#d2ebe3"
117blue_text = "#4c5361"
118blue_text_sec = "#7382a0"
119blue_bg = "#dde4f2"
120purple_text = "#614c61"
121purple_text_sec = "#9c739c"
122purple_bg = "#f1ddf1"
123diff_add = "#2db448"
124diff_change = "#f2a60d"
125diff_change_dark = "#795306"
126diff_delete = "#ff1414"
127diff_renamed = "#52aeff"
128white = "#ffffff"