fork/helix

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

Ryan Roden-CorrentAdd inlay-hint style for solarized themes. (#6327)aae8f72e

23.10
4.2 KiB134 linesraw
1"attribute" = { fg = "violet" }
2"keyword" = { fg = "green" }
3"keyword.directive" = { fg = "orange" }
4"namespace" = { fg = "violet" }
5"operator" = { fg = "green" }
6"special" = { fg = "orange" }
7"variable.builtin" = { fg = "cyan", modifiers = ["bold"] }
8"variable.function" = { fg = "blue" }
9"type" = { fg = "yellow" }
10"type.builtin" = { fg = "yellow", modifiers = ["bold"] }
11"constructor" = { fg = "blue" }
12"function" = { fg = "blue" }
13"function.macro" = { fg = "magenta" }
14"function.builtin" = { fg = "blue", modifiers = ["bold"] }
15"function.special" = { fg = "magenta" }
16"comment" = { fg = "base01" }
17"string" = { fg = "cyan" }
18"constant" = { fg = "cyan" }
19"constant.builtin" = { fg = "cyan", modifiers = ["bold"] }
20"constant.character.escape" = { fg = "red", modifiers = ["bold"] }
21"label" = { fg = "green" }
22"module" = { fg = "violet" }
23"tag" = { fg = "magenta" }
24
25# TODO
26"markup.heading" = "blue"
27"markup.list" = "red"
28"markup.bold" = { fg = "yellow", modifiers = ["bold"] }
29"markup.italic" = { fg = "magenta", modifiers = ["italic"] }
30"markup.strikethrough" = { modifiers = ["crossed_out"] }
31"markup.link.url" = { fg = "yellow", modifiers = ["underlined"] }
32"markup.link.text" = "red"
33"markup.quote" = "cyan"
34"markup.raw" = "green"
35
36"diff.plus" = { fg = "green" }
37"diff.delta" = { fg = "orange" }
38"diff.minus" = { fg = "red" }
39
40# 背景
41"ui.background" = { bg = "base03" }
42
43"ui.virtual.whitespace" = { fg = "base01" }
44"ui.virtual.inlay-hint" = { fg = "base01", modifiers = ["italic"] }
45
46# 行号栏
47"ui.linenr" = { fg = "base0", bg = "base02" }
48# 当前行号栏
49"ui.linenr.selected" = { fg = "blue", modifiers = ["bold"] }
50#cursorline
51"ui.cursorline" = { bg = "base03" }
52
53# 状态栏
54"ui.statusline" = { fg = "base03", bg = "base0" }
55"ui.statusline.normal" = { bg = "blue" }
56"ui.statusline.insert" = { bg = "green" }
57"ui.statusline.select" = { bg = "yellow" }
58
59# 非活动状态栏
60"ui.statusline.inactive" = { fg = "base1", bg = "base01" }
61
62# 补全窗口, preview窗口
63"ui.popup" = { bg = "base02" }
64# 影响 补全选中 cmd弹出信息选中
65"ui.menu.selected" = { fg = "base02", bg = "base2"}
66"ui.menu" = { fg = "base0", bg = "base02" }
67# ??
68"ui.window" = { fg = "base3" }
69# 命令行 补全的帮助信息
70"ui.help" = { modifiers = ["reversed"] }
71
72# 快捷键窗口 
73"ui.popup.info" = {fg = "base02", bg = "base1", modifiers = ["bold"]}
74# 快捷键字体
75"ui.text.info" = {fg = "base02", modifiers = ["bold"]}
76
77# 普通ui的字体样式
78"ui.text" = { fg = "base1" }
79# 影响 picker列表选中, 快捷键帮助窗口文本
80"ui.text.focus" = { fg = "blue", modifiers = ["bold"]}
81# file picker中, 预览的当前选中项
82"ui.highlight" = { fg = "red", modifiers = ["bold", "italic", "underlined"] }
83
84# 主光标/selectio
85"ui.cursor.primary" = { fg = "base03", bg = "base1" }
86"ui.cursor.select" = { fg = "base02", bg = "cyan" }
87"ui.cursorline.primary" = { bg = "base02" }
88"ui.cursorline.secondary" = { bg = "base025" }
89
90"ui.selection" = { bg = "base0175" }
91"ui.selection.primary" = { bg = "base015" }
92
93"ui.virtual.indent-guide" = { fg = "base02" }
94"ui.virtual.ruler" = { fg = "red" }
95
96# normal模式的光标
97"ui.cursor" = {fg = "base02", bg = "cyan"}
98"ui.cursor.insert" = {fg = "base03", bg = "base3"}
99# 当前光标匹配的标点符号
100"ui.cursor.match" = { fg = "base03", bg = "base00" }
101
102"warning" =  { fg = "orange", modifiers= ["bold", "underlined"] }
103"error" = { fg = "red", modifiers= ["bold", "underlined"] }
104"info" = { fg = "blue", modifiers= ["bold", "underlined"] }
105"hint" = { fg = "base01", modifiers= ["bold", "underlined"] }
106
107"diagnostic.warning" = { underline = { style = "curl", color = "orange" } }
108"diagnostic.error" = { underline = { style = "curl", color = "red" } }
109"diagnostic.info" = { underline = { style = "curl", color = "blue" } }
110"diagnostic.hint" = { underline = { style = "curl", color = "base01" } }
111
112[palette]
113# 深色 越来越深
114base03   = "#002b36"
115base025  = "#03303b"
116base02   = "#073642"
117base0175 = "#16404b"
118base015  = "#2c4f59"
119base01   = "#586e75"
120base00   = "#657b83"
121base0    = "#839496"
122base1    = "#93a1a1"
123base2    = "#eee8d5"
124base3    = "#fdf6e3"
125
126# 浅色 越來越浅
127yellow  = "#b58900"
128orange  = "#cb4b16"
129red     = "#dc322f"
130magenta = "#d33682"
131violet  = "#6c71c4"
132blue    = "#268bd2"
133cyan    = "#2aa198"
134green   = "#859900"