fork/helix

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

Krishanadd new theme keys for LSP diagnostic tags (#10064)47ef9f0c

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