Fix solarized selection colors (#1236)

* do not select a foreground color in selections, as this eliminates
  syntax coloring
* select lighter color for selections
* Make non-primary cursor cyan instead of green
pull/1244/head
Skyler Hawthorne 3 years ago committed by GitHub
parent 178cd5ecfc
commit 9bdbafa075
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -58,13 +58,13 @@
"ui.highlight" = { fg = "red", modifiers = ["bold", "italic", "underlined"] } "ui.highlight" = { fg = "red", modifiers = ["bold", "italic", "underlined"] }
# 主光标/selectio # 主光标/selectio
"ui.cursor.primary" = {fg = "base03", bg = "base1"} "ui.cursor.primary" = { fg = "base03", bg = "base1" }
"ui.selection.primary" = { fg = "base03", bg = "base01" } "ui.cursor.select" = { fg = "base02", bg = "cyan" }
"ui.cursor.select" = {fg = "base02", bg = "green"} "ui.selection" = { bg = "base0175" }
"ui.selection" = { fg = "base02", bg = "yellow" } "ui.selection.primary" = { bg = "base015" }
# normal模式的光标 # normal模式的光标
"ui.cursor" = {fg = "base03", bg = "green"} "ui.cursor" = {fg = "base02", bg = "cyan"}
"ui.cursor.insert" = {fg = "base03", bg = "base3"} "ui.cursor.insert" = {fg = "base03", bg = "base3"}
# 当前光标匹配的标点符号 # 当前光标匹配的标点符号
"ui.cursor.match" = {modifiers = ["reversed"]} "ui.cursor.match" = {modifiers = ["reversed"]}
@ -73,12 +73,14 @@
"error" = { fg = "red", modifiers= ["bold", "underlined"] } "error" = { fg = "red", modifiers= ["bold", "underlined"] }
"info" = { fg = "blue", modifiers= ["bold", "underlined"] } "info" = { fg = "blue", modifiers= ["bold", "underlined"] }
"hint" = { fg = "base01", modifiers= ["bold", "underlined"] } "hint" = { fg = "base01", modifiers= ["bold", "underlined"] }
"diagnostic" = { mdifiers = ["underlined"] } "diagnostic" = { modifiers = ["underlined"] }
[palette] [palette]
# 深色 越来越深 # 深色 越来越深
base03 = "#002b36" base03 = "#002b36"
base02 = "#073642" base02 = "#073642"
base0175 = "#16404b"
base015 = "#2c4f59"
base01 = "#586e75" base01 = "#586e75"
base00 = "#657b83" base00 = "#657b83"
base0 = "#839496" base0 = "#839496"

@ -58,13 +58,13 @@
"ui.highlight" = { fg = "red", modifiers = ["bold", "italic", "underlined"] } "ui.highlight" = { fg = "red", modifiers = ["bold", "italic", "underlined"] }
# 主光标/selectio # 主光标/selectio
"ui.cursor.primary" = {fg = "base03", bg = "base1"} "ui.cursor.primary" = { fg = "base03", bg = "base1" }
"ui.selection.primary" = { fg = "base03", bg = "base01" } "ui.cursor.select" = { fg = "base02", bg = "cyan" }
"ui.cursor.select" = {fg = "base02", bg = "green"} "ui.selection" = { bg = "base0175" }
"ui.selection" = { fg = "base02", bg = "yellow" } "ui.selection.primary" = { bg = "base015" }
# normal模式的光标 # normal模式的光标
"ui.cursor" = {fg = "base03", bg = "green"} "ui.cursor" = {fg = "base02", bg = "cyan"}
"ui.cursor.insert" = {fg = "base03", bg = "base3"} "ui.cursor.insert" = {fg = "base03", bg = "base3"}
# 当前光标匹配的标点符号 # 当前光标匹配的标点符号
"ui.cursor.match" = {modifiers = ["reversed"]} "ui.cursor.match" = {modifiers = ["reversed"]}
@ -73,7 +73,7 @@
"error" = { fg = "red", modifiers= ["bold", "underlined"] } "error" = { fg = "red", modifiers= ["bold", "underlined"] }
"info" = { fg = "blue", modifiers= ["bold", "underlined"] } "info" = { fg = "blue", modifiers= ["bold", "underlined"] }
"hint" = { fg = "base01", modifiers= ["bold", "underlined"] } "hint" = { fg = "base01", modifiers= ["bold", "underlined"] }
"diagnostic" = { mdifiers = ["underlined"] } "diagnostic" = { modifiers = ["underlined"] }
[palette] [palette]
red = '#dc322f' red = '#dc322f'
@ -94,5 +94,7 @@ base3 = '#002b36'
## 浅色 越來越浅 ## 浅色 越來越浅
base00 = '#839496' base00 = '#839496'
base01 = '#93a1a1' base01 = '#93a1a1'
base015 = '#c5c8bd'
base0175 = '#dddbcc'
base02 = '#eee8d5' base02 = '#eee8d5'
base03 = '#fdf6e3' base03 = '#fdf6e3'

Loading…
Cancel
Save