fork/helix

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

Rolorefactor(themes): change `solarized_*` ruler to `bg`4713eb06

24.07
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"ui.virtual.jump-label" = { fg = "red", modifiers = ["bold"] }
47
48# 行号栏
49# line number column
50"ui.linenr" = { fg = "base0", bg = "base02" }
51# 当前行号栏
52# current line number column
53"ui.linenr.selected" = { fg = "blue", modifiers = ["bold"] }
54# cursorline
55"ui.cursorline" = { bg = "base0" }
56
57# 状态栏
58# status bar
59"ui.statusline" = { fg = "base03", bg = "base0" }
60"ui.statusline.normal" = { bg = "blue" }
61"ui.statusline.insert" = { bg = "green" }
62"ui.statusline.select" = { bg = "yellow" }
63
64# 非活动状态栏
65# inactive status bar
66"ui.statusline.inactive" = { fg = "base1", bg = "base01" }
67
68# 补全窗口, preview窗口
69# Completion window, preview window
70"ui.popup" = { bg = "base02" }
71# 影响 补全选中 cmd弹出信息选中
72# Affect completion selection, cmd pop-up information selection
73"ui.menu.selected" = { fg = "base02", bg = "base2"}
74"ui.menu" = { fg = "base0", bg = "base02" }
75# ??
76"ui.window" = { fg = "base3" }
77# 命令行 补全的帮助信息
78# Command line completion help information
79"ui.help" = { modifiers = ["reversed"] }
80
81# 快捷键窗口 
82# Shortcut window
83"ui.popup.info" = { bg = "base1" }
84# 快捷键字体
85# Shortcut font
86"ui.text.info" = {fg = "base02", modifiers = ["bold"]}
87
88# 普通ui的字体样式
89# Normal ui font style
90"ui.text" = { fg = "base1" }
91# 影响 picker列表选中, 快捷键帮助窗口文本
92# Affects picker list selection, shortcut key help window text
93"ui.text.focus" = { fg = "blue", modifiers = ["bold"]}
94
95# 主光标/selection
96# main cursor/selection
97"ui.cursor.primary" = { fg = "base03", bg = "base1" }
98"ui.cursor.select" = { fg = "base02", bg = "cyan" }
99
100"ui.cursorline.primary" = { bg = "base02" }
101"ui.cursorline.secondary" = { bg = "base025" }
102
103"ui.selection" = { bg = "base0175" }
104"ui.selection.primary" = { bg = "base015" }
105
106"ui.virtual.indent-guide" = { fg = "base02" }
107"ui.virtual.ruler" = { bg = "base02" }
108
109# normal模式的光标
110# normal mode cursor
111"ui.cursor" = {fg = "base02", bg = "cyan"}
112"ui.cursor.insert" = {fg = "base03", bg = "base3"}
113# 当前光标匹配的标点符号
114# The punctuation character matched by the current cursor
115"ui.cursor.match" = { fg = "base02", bg = "base015" }
116
117"warning" =  { fg = "orange", modifiers= ["bold", "underlined"] }
118"error" = { fg = "red", modifiers= ["bold", "underlined"] }
119"info" = { fg = "blue", modifiers= ["bold", "underlined"] }
120"hint" = { fg = "base01", modifiers= ["bold", "underlined"] }
121
122"diagnostic.warning" = { underline = { style = "curl", color = "orange" } }
123"diagnostic.error" = { underline = { style = "curl", color = "red" } }
124"diagnostic.info" = { underline = { style = "curl", color = "blue" } }
125"diagnostic.hint" = { underline = { style = "curl", color = "base01" } }
126"diagnostic.unnecessary" = { modifiers = ["dim"] }
127"diagnostic.deprecated" = { modifiers = ["crossed_out"] }
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'