fork/helix

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

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

24.03
4.7 KiB155 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# background
42"ui.background" = { bg = "base03" }
43
44"ui.virtual.whitespace" = { fg = "base01" }
45"ui.virtual.inlay-hint" = { fg = "base01", modifiers = ["italic"] }
46
47# 行号栏
48# line number column
49"ui.linenr" = { fg = "base0", bg = "base02" }
50# 当前行号栏
51# current line number column
52"ui.linenr.selected" = { fg = "blue", modifiers = ["bold"] }
53# cursorline
54"ui.cursorline" = { bg = "base0" }
55
56# 状态栏
57# status bar
58"ui.statusline" = { fg = "base03", bg = "base0" }
59"ui.statusline.normal" = { bg = "blue" }
60"ui.statusline.insert" = { bg = "green" }
61"ui.statusline.select" = { bg = "yellow" }
62
63# 非活动状态栏
64# inactive status bar
65"ui.statusline.inactive" = { fg = "base1", bg = "base01" }
66
67# 补全窗口, preview窗口
68# Completion window, preview window
69"ui.popup" = { bg = "base02" }
70# 影响 补全选中 cmd弹出信息选中
71# Affect completion selection, cmd pop-up information selection
72"ui.menu.selected" = { fg = "base02", bg = "base2"}
73"ui.menu" = { fg = "base0", bg = "base02" }
74# ??
75"ui.window" = { fg = "base3" }
76# 命令行 补全的帮助信息
77# Command line completion help information
78"ui.help" = { modifiers = ["reversed"] }
79
80# 快捷键窗口 
81# Shortcut window
82"ui.popup.info" = { bg = "base1" }
83# 快捷键字体
84# Shortcut font
85"ui.text.info" = {fg = "base02", modifiers = ["bold"]}
86
87# 普通ui的字体样式
88# Normal ui font style
89"ui.text" = { fg = "base1" }
90# 影响 picker列表选中, 快捷键帮助窗口文本
91# Affects picker list selection, shortcut key help window text
92"ui.text.focus" = { fg = "blue", modifiers = ["bold"]}
93# file picker中, 预览的当前选中项
94# In file picker, the currently selected item of the preview
95"ui.highlight" = { fg = "red", modifiers = ["bold", "italic", "underlined"] }
96
97# 主光标/selection
98# main cursor/selection
99"ui.cursor.primary" = { fg = "base03", bg = "base1" }
100"ui.cursor.select" = { fg = "base02", bg = "cyan" }
101
102"ui.cursorline.primary" = { bg = "base02" }
103"ui.cursorline.secondary" = { bg = "base025" }
104
105"ui.selection" = { bg = "base0175" }
106"ui.selection.primary" = { bg = "base015" }
107
108"ui.virtual.indent-guide" = { fg = "base02" }
109"ui.virtual.ruler" = { fg = "red" }
110
111# normal模式的光标
112# normal mode cursor
113"ui.cursor" = {fg = "base02", bg = "cyan"}
114"ui.cursor.insert" = {fg = "base03", bg = "base3"}
115# 当前光标匹配的标点符号
116# The punctuation character matched by the current cursor
117"ui.cursor.match" = { fg = "base02", bg = "base015" }
118
119"warning" =  { fg = "orange", modifiers= ["bold", "underlined"] }
120"error" = { fg = "red", modifiers= ["bold", "underlined"] }
121"info" = { fg = "blue", modifiers= ["bold", "underlined"] }
122"hint" = { fg = "base01", modifiers= ["bold", "underlined"] }
123
124"diagnostic.warning" = { underline = { style = "curl", color = "orange" } }
125"diagnostic.error" = { underline = { style = "curl", color = "red" } }
126"diagnostic.info" = { underline = { style = "curl", color = "blue" } }
127"diagnostic.hint" = { underline = { style = "curl", color = "base01" } }
128
129
130[palette]
131red      = '#dc322f'
132green    = '#859900'
133yellow   = '#b58900'
134blue     = '#268bd2'
135magenta  = '#d33682'
136cyan     = '#2aa198'
137orange   = '#cb4b16'
138violet   = '#6c71c4'
139
140# 深色 越来越深
141# dark getting darker
142base0    = '#657b83'
143base1    = '#586e75'
144base2    = '#073642'
145base3    = '#002b36'
146
147# 浅色 越來越浅
148# Lighter and lighter
149base00   = '#839496'
150base01   = '#93a1a1'
151base015  = '#c5c8bd'
152base0175 = '#dddbcc'
153base02   = '#eee8d5'
154base025  = '#f5eedb'
155base03   = '#fdf6e3'