Skip to content

Commit f96be0f

Browse files
authored
add solarized_light theme (#1010)
* add solarized_light theme * solarized_light add constant.numeric
1 parent a424ef4 commit f96be0f

File tree

1 file changed

+109
-0
lines changed

1 file changed

+109
-0
lines changed

runtime/themes/solarized_light.toml

+109
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
"attribute" = { fg = "violet" }
2+
"keyword" = { fg = "green" }
3+
"keyword.directive" = { fg = "orange" }
4+
"namespace" = { fg = "violet" }
5+
"punctuation" = { fg = "orange" }
6+
"punctuation.delimiter" = { fg = "orange" }
7+
"operator" = { fg = "green" }
8+
"special" = { fg = "orange" }
9+
# "property" = { fg = "cyan" }
10+
"variable" = { fg = "cyan" }
11+
"variable.parameter" = { fg = "cyan" }
12+
"variable.builtin" = { fg = "cyan", modifiers = ["bold"] }
13+
"variable.other.member" = { fg = "cyan" }
14+
"variable.function" = { fg = "blue" }
15+
"type" = { fg = "yellow" }
16+
"type.builtin" = { fg = "yellow", modifiers = ["bold"] }
17+
"constructor" = { fg = "blue" }
18+
"function" = { fg = "blue" }
19+
"function.macro" = { fg = "magenta" }
20+
"function.builtin" = { fg = "blue", modifiers = ["bold"] }
21+
"function.special" = { fg = "magenta" }
22+
"comment" = { fg = "base01", modifiers = ["italic"] }
23+
"string" = { fg= "base1" }
24+
"constant" = { fg = "base1" }
25+
"constant.character" = { fg = "base1" }
26+
"constant.builtin" = { fg = "base1", modifiers = ["bold"] }
27+
"constant.numeric" = { fg= "base1" }
28+
"constant.numeric.integer" = { fg= "base1" }
29+
"constant.numeric.float" = { fg= "base1" }
30+
"constant.character.escape" = { fg = "red", modifiers = ["bold"] }
31+
"label" = { fg = "green" }
32+
"module" = { fg = "violet" }
33+
"tag" = { fg = "magenta" }
34+
35+
# 背景
36+
"ui.background" = { bg = "base03" }
37+
38+
# 行号栏
39+
"ui.linenr" = { fg = "base0", bg = "base02" }
40+
# 当前行号栏
41+
"ui.linenr.selected" = { fg = "red", modifiers = ["bold"] }
42+
43+
# 状态栏
44+
"ui.statusline" = { fg = "base02", bg = "base1" }
45+
# 非活动状态栏
46+
"ui.statusline.inactive" = { fg = "base02", bg = "base00" }
47+
48+
# 补全窗口, preview窗口
49+
"ui.popup" = { bg = "base1" }
50+
# 影响 补全选中 cmd弹出信息选中
51+
"ui.menu.selected" = { fg = "base02", bg = "violet"}
52+
"ui.menu" = { fg = "base02" }
53+
# ??
54+
"ui.window" = { fg = "base3" }
55+
# 命令行 补全的帮助信息
56+
"ui.help" = { modifiers = ["reversed"] }
57+
58+
# 快捷键窗口
59+
"ui.info" = { bg = "base1" }
60+
# 快捷键字体
61+
"ui.info.text" = {fg = "base02", modifiers = ["bold"]}
62+
63+
# 普通ui的字体样式
64+
"ui.text" = { fg = "base1" }
65+
# 影响 picker列表选中, 快捷键帮助窗口文本
66+
"ui.text.focus" = { fg = "blue", modifiers = ["bold"]}
67+
# file picker中, 预览的当前选中项
68+
"ui.highlight" = { fg = "red", modifiers = ["bold", "italic", "underlined"] }
69+
70+
# 主光标/selectio
71+
"ui.cursor.primary" = {fg = "base03", bg = "base1"}
72+
"ui.selection.primary" = { fg = "base03", bg = "base01" }
73+
"ui.cursor.select" = {fg = "base02", bg = "green"}
74+
"ui.selection" = { fg = "base02", bg = "yellow" }
75+
76+
# normal模式的光标
77+
"ui.cursor" = {fg = "base03", bg = "green"}
78+
"ui.cursor.insert" = {fg = "base03", bg = "base3"}
79+
# 当前光标匹配的标点符号
80+
"ui.cursor.match" = {modifiers = ["reversed"]}
81+
82+
83+
"warning" = { fg = "orange", modifiers= ["bold", "underlined"] }
84+
"error" = { fg = "red", modifiers= ["bold", "underlined"] }
85+
"info" = { fg = "blue", modifiers= ["bold", "underlined"] }
86+
"hint" = { fg = "base01", modifiers= ["bold", "underlined"] }
87+
"diagnostic" = { mdifiers = ["underlined"] }
88+
89+
[palette]
90+
red = '#dc322f'
91+
green = '#859900'
92+
yellow = '#b58900'
93+
blue = '#268bd2'
94+
magenta = '#d33682'
95+
cyan = '#2aa198'
96+
orange = '#cb4b16'
97+
violet = '#6c71c4'
98+
99+
# 深色 越来越深
100+
base0 = '#657b83'
101+
base1 = '#586e75'
102+
base2 = '#073642'
103+
base3 = '#002b36'
104+
105+
## 浅色 越來越浅
106+
base00 = '#839496'
107+
base01 = '#93a1a1'
108+
base02 = '#eee8d5'
109+
base03 = '#fdf6e3'

0 commit comments

Comments
 (0)