1
0
mirror of https://github.com/helix-editor/helix synced 2024-11-10 10:34:45 +01:00

Solarized Light: Fixing menu colors and adding English translation (#2626)

This commit is contained in:
Ben Lee-Cohen 2022-05-31 11:15:32 -04:00 committed by GitHub
parent fa2eeccc57
commit fc666db6b9
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

@ -37,53 +37,69 @@
"diff.minus" = { fg = "red" } "diff.minus" = { fg = "red" }
# 背景 # 背景
# background
"ui.background" = { bg = "base03" } "ui.background" = { bg = "base03" }
"ui.virtual" = { fg = "base01" } "ui.virtual" = { fg = "base01" }
# 行号栏 # 行号栏
# line number column
"ui.linenr" = { fg = "base0", bg = "base02" } "ui.linenr" = { fg = "base0", bg = "base02" }
# 当前行号栏 # 当前行号栏
# current line number column
"ui.linenr.selected" = { fg = "blue", modifiers = ["bold"] } "ui.linenr.selected" = { fg = "blue", modifiers = ["bold"] }
# 状态栏 # 状态栏
# status bar
"ui.statusline" = { fg = "base03", bg = "base0" } "ui.statusline" = { fg = "base03", bg = "base0" }
# 非活动状态栏 # 非活动状态栏
# inactive status bar
"ui.statusline.inactive" = { fg = "base1", bg = "base01" } "ui.statusline.inactive" = { fg = "base1", bg = "base01" }
# 补全窗口, preview窗口 # 补全窗口, preview窗口
# Completion window, preview window
"ui.popup" = { bg = "base02" } "ui.popup" = { bg = "base02" }
# 影响 补全选中 cmd弹出信息选中 # 影响 补全选中 cmd弹出信息选中
# Affect completion selection, cmd pop-up information selection
"ui.menu.selected" = { fg = "base02", bg = "base2"} "ui.menu.selected" = { fg = "base02", bg = "base2"}
"ui.menu" = { fg = "base1" } "ui.menu" = { fg = "base0", bg = "base02" }
# ?? # ??
"ui.window" = { fg = "base3" } "ui.window" = { fg = "base3" }
# 命令行 补全的帮助信息 # 命令行 补全的帮助信息
# Command line completion help information
"ui.help" = { modifiers = ["reversed"] } "ui.help" = { modifiers = ["reversed"] }
# 快捷键窗口 # 快捷键窗口
# Shortcut window
"ui.popup.info" = { bg = "base1" } "ui.popup.info" = { bg = "base1" }
# 快捷键字体 # 快捷键字体
# Shortcut font
"ui.text.info" = {fg = "base02", modifiers = ["bold"]} "ui.text.info" = {fg = "base02", modifiers = ["bold"]}
# 普通ui的字体样式 # 普通ui的字体样式
# Normal ui font style
"ui.text" = { fg = "base1" } "ui.text" = { fg = "base1" }
# 影响 picker列表选中, 快捷键帮助窗口文本 # 影响 picker列表选中, 快捷键帮助窗口文本
# Affects picker list selection, shortcut key help window text
"ui.text.focus" = { fg = "blue", modifiers = ["bold"]} "ui.text.focus" = { fg = "blue", modifiers = ["bold"]}
# file picker中 预览的当前选中项 # file picker中 预览的当前选中项
# In file picker, the currently selected item of the preview
"ui.highlight" = { fg = "red", modifiers = ["bold", "italic", "underlined"] } "ui.highlight" = { fg = "red", modifiers = ["bold", "italic", "underlined"] }
# 主光标/selectio # 主光标/selection
# main cursor/selection
"ui.cursor.primary" = { fg = "base03", bg = "base1" } "ui.cursor.primary" = { fg = "base03", bg = "base1" }
"ui.cursor.select" = { fg = "base02", bg = "cyan" } "ui.cursor.select" = { fg = "base02", bg = "cyan" }
"ui.selection" = { bg = "base0175" } "ui.selection" = { bg = "base0175" }
"ui.selection.primary" = { bg = "base015" } "ui.selection.primary" = { bg = "base015" }
# normal模式的光标 # normal模式的光标
# normal mode cursor
"ui.cursor" = {fg = "base02", bg = "cyan"} "ui.cursor" = {fg = "base02", bg = "cyan"}
"ui.cursor.insert" = {fg = "base03", bg = "base3"} "ui.cursor.insert" = {fg = "base03", bg = "base3"}
# 当前光标匹配的标点符号 # 当前光标匹配的标点符号
"ui.cursor.match" = { fg = "base02", bg = "light-gray" } # The punctuation character matched by the current cursor
"ui.cursor.match" = { fg = "base02", bg = "base015" }
"warning" = { fg = "orange", modifiers= ["bold", "underlined"] } "warning" = { fg = "orange", modifiers= ["bold", "underlined"] }
"error" = { fg = "red", modifiers= ["bold", "underlined"] } "error" = { fg = "red", modifiers= ["bold", "underlined"] }
@ -102,12 +118,14 @@ orange = '#cb4b16'
violet = '#6c71c4' violet = '#6c71c4'
# 深色 越来越深 # 深色 越来越深
# dark getting darker
base0 = '#657b83' base0 = '#657b83'
base1 = '#586e75' base1 = '#586e75'
base2 = '#073642' base2 = '#073642'
base3 = '#002b36' base3 = '#002b36'
## 浅色 越來越浅 # 浅色 越來越浅
# Lighter and lighter
base00 = '#839496' base00 = '#839496'
base01 = '#93a1a1' base01 = '#93a1a1'
base015 = '#c5c8bd' base015 = '#c5c8bd'