on master help sign in
Fix solarized selection colors (#1236)
9bdbafaSkyler Hawthorne
runtime/themes/solarized_dark.toml+16−14
@@ -58,13 +58,13 @@
58"ui.highlight" = { fg = "red", modifiers = ["bold", "italic", "underlined"] }
58"ui.highlight" = { fg = "red", modifiers = ["bold", "italic", "underlined"] }
59
59
60# 主光标/selectio
60# 主光标/selectio
61−"ui.cursor.primary" = {fg = "base03", bg = "base1"}
61+"ui.cursor.primary" = { fg = "base03", bg = "base1" }
62−"ui.selection.primary" = { fg = "base03", bg = "base01" }
63−"ui.cursor.select" = {fg = "base02", bg = "green"}
62+"ui.cursor.select" = { fg = "base02", bg = "cyan" }
64−"ui.selection" = { fg = "base02", bg = "yellow" }
63+"ui.selection" = { bg = "base0175" }
64+"ui.selection.primary" = { bg = "base015" }
65
65
66# normal模式的光标
66# normal模式的光标
67−"ui.cursor" = {fg = "base03", bg = "green"}
67+"ui.cursor" = {fg = "base02", bg = "cyan"}
68"ui.cursor.insert" = {fg = "base03", bg = "base3"}
68"ui.cursor.insert" = {fg = "base03", bg = "base3"}
69# 当前光标匹配的标点符号
69# 当前光标匹配的标点符号
70"ui.cursor.match" = {modifiers = ["reversed"]}
70"ui.cursor.match" = {modifiers = ["reversed"]}
@@ -73,18 +73,20 @@
73"error" = { fg = "red", modifiers= ["bold", "underlined"] }
73"error" = { fg = "red", modifiers= ["bold", "underlined"] }
74"info" = { fg = "blue", modifiers= ["bold", "underlined"] }
74"info" = { fg = "blue", modifiers= ["bold", "underlined"] }
75"hint" = { fg = "base01", modifiers= ["bold", "underlined"] }
75"hint" = { fg = "base01", modifiers= ["bold", "underlined"] }
76−"diagnostic" = { mdifiers = ["underlined"] }
76+"diagnostic" = { modifiers = ["underlined"] }
77
77
78[palette]
78[palette]
79# 深色 越来越深
79# 深色 越来越深
80−base03 = "#002b36"
80+base03 = "#002b36"
81−base02 = "#073642"
81+base02 = "#073642"
82+base0175 = "#16404b"
83+base015 = "#2c4f59"
82−base01 = "#586e75"
84+base01 = "#586e75"
83−base00 = "#657b83"
85+base00 = "#657b83"
84−base0 = "#839496"
86+base0 = "#839496"
85−base1 = "#93a1a1"
87+base1 = "#93a1a1"
86−base2 = "#eee8d5"
88+base2 = "#eee8d5"
87−base3 = "#fdf6e3"
89+base3 = "#fdf6e3"
88
90
89# 浅色 越來越浅
91# 浅色 越來越浅
90yellow = "#b58900"
92yellow = "#b58900"
runtime/themes/solarized_light.toml+24−22
@@ -58,13 +58,13 @@
58"ui.highlight" = { fg = "red", modifiers = ["bold", "italic", "underlined"] }
58"ui.highlight" = { fg = "red", modifiers = ["bold", "italic", "underlined"] }
59
59
60# 主光标/selectio
60# 主光标/selectio
61−"ui.cursor.primary" = {fg = "base03", bg = "base1"}
61+"ui.cursor.primary" = { fg = "base03", bg = "base1" }
62−"ui.selection.primary" = { fg = "base03", bg = "base01" }
63−"ui.cursor.select" = {fg = "base02", bg = "green"}
62+"ui.cursor.select" = { fg = "base02", bg = "cyan" }
64−"ui.selection" = { fg = "base02", bg = "yellow" }
63+"ui.selection" = { bg = "base0175" }
64+"ui.selection.primary" = { bg = "base015" }
65
65
66# normal模式的光标
66# normal模式的光标
67−"ui.cursor" = {fg = "base03", bg = "green"}
67+"ui.cursor" = {fg = "base02", bg = "cyan"}
68"ui.cursor.insert" = {fg = "base03", bg = "base3"}
68"ui.cursor.insert" = {fg = "base03", bg = "base3"}
69# 当前光标匹配的标点符号
69# 当前光标匹配的标点符号
70"ui.cursor.match" = {modifiers = ["reversed"]}
70"ui.cursor.match" = {modifiers = ["reversed"]}
@@ -73,26 +73,28 @@
73"error" = { fg = "red", modifiers= ["bold", "underlined"] }
73"error" = { fg = "red", modifiers= ["bold", "underlined"] }
74"info" = { fg = "blue", modifiers= ["bold", "underlined"] }
74"info" = { fg = "blue", modifiers= ["bold", "underlined"] }
75"hint" = { fg = "base01", modifiers= ["bold", "underlined"] }
75"hint" = { fg = "base01", modifiers= ["bold", "underlined"] }
76−"diagnostic" = { mdifiers = ["underlined"] }
76+"diagnostic" = { modifiers = ["underlined"] }
77
77
78[palette]
78[palette]
79−red = '#dc322f'
79+red = '#dc322f'
80−green = '#859900'
80+green = '#859900'
81−yellow = '#b58900'
81+yellow = '#b58900'
82−blue = '#268bd2'
82+blue = '#268bd2'
83−magenta = '#d33682'
83+magenta = '#d33682'
84−cyan = '#2aa198'
84+cyan = '#2aa198'
85−orange = '#cb4b16'
85+orange = '#cb4b16'
86−violet = '#6c71c4'
86+violet = '#6c71c4'
87
87
88# 深色 越来越深
88# 深色 越来越深
89−base0 = '#657b83'
89+base0 = '#657b83'
90−base1 = '#586e75'
90+base1 = '#586e75'
91−base2 = '#073642'
91+base2 = '#073642'
92−base3 = '#002b36'
92+base3 = '#002b36'
93
93
94## 浅色 越來越浅
94## 浅色 越來越浅
95−base00 = '#839496'
95+base00 = '#839496'
96−base01 = '#93a1a1'
96+base01 = '#93a1a1'
97+base015 = '#c5c8bd'
98+base0175 = '#dddbcc'
97−base02 = '#eee8d5'
99+base02 = '#eee8d5'
98−base03 = '#fdf6e3'
100+base03 = '#fdf6e3'