2021-11-15 01:29:39 +01:00
|
|
|
|
"attribute" = { fg = "violet" }
|
|
|
|
|
"keyword" = { fg = "green" }
|
|
|
|
|
"keyword.directive" = { fg = "orange" }
|
|
|
|
|
"namespace" = { fg = "violet" }
|
|
|
|
|
"operator" = { fg = "green" }
|
|
|
|
|
"special" = { fg = "orange" }
|
|
|
|
|
"variable.builtin" = { fg = "cyan", modifiers = ["bold"] }
|
|
|
|
|
"variable.function" = { fg = "blue" }
|
|
|
|
|
"type" = { fg = "yellow" }
|
|
|
|
|
"type.builtin" = { fg = "yellow", modifiers = ["bold"] }
|
|
|
|
|
"constructor" = { fg = "blue" }
|
|
|
|
|
"function" = { fg = "blue" }
|
|
|
|
|
"function.macro" = { fg = "magenta" }
|
|
|
|
|
"function.builtin" = { fg = "blue", modifiers = ["bold"] }
|
|
|
|
|
"function.special" = { fg = "magenta" }
|
2021-11-16 04:34:25 +01:00
|
|
|
|
"comment" = { fg = "base01" }
|
|
|
|
|
"string" = { fg = "cyan" }
|
|
|
|
|
"constant" = { fg = "cyan" }
|
|
|
|
|
"constant.builtin" = { fg = "cyan", modifiers = ["bold"] }
|
2021-11-15 01:29:39 +01:00
|
|
|
|
"constant.character.escape" = { fg = "red", modifiers = ["bold"] }
|
|
|
|
|
"label" = { fg = "green" }
|
|
|
|
|
"module" = { fg = "violet" }
|
|
|
|
|
"tag" = { fg = "magenta" }
|
|
|
|
|
|
2022-01-23 03:18:50 +01:00
|
|
|
|
# TODO
|
|
|
|
|
"markup.heading" = "blue"
|
|
|
|
|
"markup.list" = "red"
|
|
|
|
|
"markup.bold" = { fg = "yellow", modifiers = ["bold"] }
|
|
|
|
|
"markup.italic" = { fg = "magenta", modifiers = ["italic"] }
|
2023-01-21 23:21:26 +01:00
|
|
|
|
"markup.strikethrough" = { modifiers = ["crossed_out"] }
|
2022-01-23 03:18:50 +01:00
|
|
|
|
"markup.link.url" = { fg = "yellow", modifiers = ["underlined"] }
|
|
|
|
|
"markup.link.text" = "red"
|
|
|
|
|
"markup.quote" = "cyan"
|
|
|
|
|
"markup.raw" = "green"
|
|
|
|
|
|
2021-12-22 16:54:23 +01:00
|
|
|
|
"diff.plus" = { fg = "green" }
|
|
|
|
|
"diff.delta" = { fg = "orange" }
|
|
|
|
|
"diff.minus" = { fg = "red" }
|
|
|
|
|
|
2021-11-15 01:29:39 +01:00
|
|
|
|
# 背景
|
|
|
|
|
"ui.background" = { bg = "base03" }
|
|
|
|
|
|
2022-06-21 18:35:25 +02:00
|
|
|
|
"ui.virtual.whitespace" = { fg = "base01" }
|
2023-03-16 02:54:47 +01:00
|
|
|
|
"ui.virtual.inlay-hint" = { fg = "base01", modifiers = ["italic"] }
|
2024-03-31 00:49:16 +01:00
|
|
|
|
"ui.virtual.jump-label" = { fg = "red", modifiers = ["bold"] }
|
2022-04-01 22:28:34 +02:00
|
|
|
|
|
2021-11-15 01:29:39 +01:00
|
|
|
|
# 行号栏
|
|
|
|
|
"ui.linenr" = { fg = "base0", bg = "base02" }
|
|
|
|
|
# 当前行号栏
|
2021-11-20 15:17:38 +01:00
|
|
|
|
"ui.linenr.selected" = { fg = "blue", modifiers = ["bold"] }
|
2022-08-31 03:27:40 +02:00
|
|
|
|
#cursorline
|
|
|
|
|
"ui.cursorline" = { bg = "base03" }
|
2021-11-15 01:29:39 +01:00
|
|
|
|
|
|
|
|
|
# 状态栏
|
2021-11-20 15:17:38 +01:00
|
|
|
|
"ui.statusline" = { fg = "base03", bg = "base0" }
|
2022-06-30 23:52:31 +02:00
|
|
|
|
"ui.statusline.normal" = { bg = "blue" }
|
|
|
|
|
"ui.statusline.insert" = { bg = "green" }
|
|
|
|
|
"ui.statusline.select" = { bg = "yellow" }
|
|
|
|
|
|
2021-11-15 01:29:39 +01:00
|
|
|
|
# 非活动状态栏
|
2021-11-20 15:17:38 +01:00
|
|
|
|
"ui.statusline.inactive" = { fg = "base1", bg = "base01" }
|
2021-11-15 01:29:39 +01:00
|
|
|
|
|
|
|
|
|
# 补全窗口, preview窗口
|
2021-11-20 15:17:38 +01:00
|
|
|
|
"ui.popup" = { bg = "base02" }
|
2021-11-15 01:29:39 +01:00
|
|
|
|
# 影响 补全选中 cmd弹出信息选中
|
2021-11-20 15:17:38 +01:00
|
|
|
|
"ui.menu.selected" = { fg = "base02", bg = "base2"}
|
2022-06-30 23:52:31 +02:00
|
|
|
|
"ui.menu" = { fg = "base0", bg = "base02" }
|
2021-11-15 01:29:39 +01:00
|
|
|
|
# ??
|
|
|
|
|
"ui.window" = { fg = "base3" }
|
|
|
|
|
# 命令行 补全的帮助信息
|
|
|
|
|
"ui.help" = { modifiers = ["reversed"] }
|
|
|
|
|
|
|
|
|
|
# 快捷键窗口
|
2023-01-08 18:09:49 +01:00
|
|
|
|
"ui.popup.info" = {fg = "base02", bg = "base1", modifiers = ["bold"]}
|
2021-11-15 01:29:39 +01:00
|
|
|
|
# 快捷键字体
|
2022-03-04 01:31:51 +01:00
|
|
|
|
"ui.text.info" = {fg = "base02", modifiers = ["bold"]}
|
2021-11-15 01:29:39 +01:00
|
|
|
|
|
|
|
|
|
# 普通ui的字体样式
|
|
|
|
|
"ui.text" = { fg = "base1" }
|
|
|
|
|
# 影响 picker列表选中, 快捷键帮助窗口文本
|
|
|
|
|
"ui.text.focus" = { fg = "blue", modifiers = ["bold"]}
|
|
|
|
|
# file picker中, 预览的当前选中项
|
|
|
|
|
"ui.highlight" = { fg = "red", modifiers = ["bold", "italic", "underlined"] }
|
|
|
|
|
|
|
|
|
|
# 主光标/selectio
|
2021-12-08 02:22:55 +01:00
|
|
|
|
"ui.cursor.primary" = { fg = "base03", bg = "base1" }
|
|
|
|
|
"ui.cursor.select" = { fg = "base02", bg = "cyan" }
|
2022-07-05 01:06:44 +02:00
|
|
|
|
"ui.cursorline.primary" = { bg = "base02" }
|
|
|
|
|
"ui.cursorline.secondary" = { bg = "base025" }
|
|
|
|
|
|
2021-12-08 02:22:55 +01:00
|
|
|
|
"ui.selection" = { bg = "base0175" }
|
|
|
|
|
"ui.selection.primary" = { bg = "base015" }
|
2021-11-15 01:29:39 +01:00
|
|
|
|
|
2022-07-05 01:06:44 +02:00
|
|
|
|
"ui.virtual.indent-guide" = { fg = "base02" }
|
|
|
|
|
"ui.virtual.ruler" = { fg = "red" }
|
|
|
|
|
|
2021-11-15 01:29:39 +01:00
|
|
|
|
# normal模式的光标
|
2021-12-08 02:22:55 +01:00
|
|
|
|
"ui.cursor" = {fg = "base02", bg = "cyan"}
|
2021-11-15 01:29:39 +01:00
|
|
|
|
"ui.cursor.insert" = {fg = "base03", bg = "base3"}
|
|
|
|
|
# 当前光标匹配的标点符号
|
2022-03-25 07:57:25 +01:00
|
|
|
|
"ui.cursor.match" = { fg = "base03", bg = "base00" }
|
2021-11-15 01:29:39 +01:00
|
|
|
|
|
|
|
|
|
"warning" = { fg = "orange", modifiers= ["bold", "underlined"] }
|
|
|
|
|
"error" = { fg = "red", modifiers= ["bold", "underlined"] }
|
|
|
|
|
"info" = { fg = "blue", modifiers= ["bold", "underlined"] }
|
|
|
|
|
"hint" = { fg = "base01", modifiers= ["bold", "underlined"] }
|
2023-01-12 05:22:16 +01:00
|
|
|
|
|
|
|
|
|
"diagnostic.warning" = { underline = { style = "curl", color = "orange" } }
|
|
|
|
|
"diagnostic.error" = { underline = { style = "curl", color = "red" } }
|
|
|
|
|
"diagnostic.info" = { underline = { style = "curl", color = "blue" } }
|
|
|
|
|
"diagnostic.hint" = { underline = { style = "curl", color = "base01" } }
|
2024-03-31 16:00:14 +02:00
|
|
|
|
"diagnostic.unnecessary" = { modifiers = ["dim"] }
|
|
|
|
|
"diagnostic.deprecated" = { modifiers = ["crossed_out"] }
|
2021-11-15 01:29:39 +01:00
|
|
|
|
|
|
|
|
|
[palette]
|
|
|
|
|
# 深色 越来越深
|
2021-12-08 02:22:55 +01:00
|
|
|
|
base03 = "#002b36"
|
2022-07-05 01:06:44 +02:00
|
|
|
|
base025 = "#03303b"
|
2021-12-08 02:22:55 +01:00
|
|
|
|
base02 = "#073642"
|
|
|
|
|
base0175 = "#16404b"
|
|
|
|
|
base015 = "#2c4f59"
|
|
|
|
|
base01 = "#586e75"
|
|
|
|
|
base00 = "#657b83"
|
|
|
|
|
base0 = "#839496"
|
|
|
|
|
base1 = "#93a1a1"
|
|
|
|
|
base2 = "#eee8d5"
|
|
|
|
|
base3 = "#fdf6e3"
|
2021-11-15 01:29:39 +01:00
|
|
|
|
|
2021-11-16 04:34:25 +01:00
|
|
|
|
# 浅色 越來越浅
|
|
|
|
|
yellow = "#b58900"
|
|
|
|
|
orange = "#cb4b16"
|
|
|
|
|
red = "#dc322f"
|
|
|
|
|
magenta = "#d33682"
|
|
|
|
|
violet = "#6c71c4"
|
|
|
|
|
blue = "#268bd2"
|
|
|
|
|
cyan = "#2aa198"
|
|
|
|
|
green = "#859900"
|