fork/helix

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

Alexander Brevigfix: flatwhite with inlay (#6323)d4c0eca1

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