aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSkyler Hawthorne2022-07-04 23:06:44 +0000
committerGitHub2022-07-04 23:06:44 +0000
commitf392e354399c5158ad5e6d94b7170ac5040f30c6 (patch)
treefdc2824931a4eed54cc75a3ca81627dec380009c
parent2ac1de305e10238a2e7ed8c0d66f3fa78566dbaa (diff)
feat(theme): solarized: add cursorline, ruler, indent guide (#2962)
-rw-r--r--runtime/themes/solarized_dark.toml7
-rw-r--r--runtime/themes/solarized_light.toml8
2 files changed, 15 insertions, 0 deletions
diff --git a/runtime/themes/solarized_dark.toml b/runtime/themes/solarized_dark.toml
index 002e99bc..aa6dbbf8 100644
--- a/runtime/themes/solarized_dark.toml
+++ b/runtime/themes/solarized_dark.toml
@@ -80,9 +80,15 @@
# 主光标/selectio
"ui.cursor.primary" = { fg = "base03", bg = "base1" }
"ui.cursor.select" = { fg = "base02", bg = "cyan" }
+"ui.cursorline.primary" = { bg = "base02" }
+"ui.cursorline.secondary" = { bg = "base025" }
+
"ui.selection" = { bg = "base0175" }
"ui.selection.primary" = { bg = "base015" }
+"ui.virtual.indent-guide" = { fg = "base02" }
+"ui.virtual.ruler" = { fg = "red" }
+
# normal模式的光标
"ui.cursor" = {fg = "base02", bg = "cyan"}
"ui.cursor.insert" = {fg = "base03", bg = "base3"}
@@ -98,6 +104,7 @@
[palette]
# 深色 越来越深
base03 = "#002b36"
+base025 = "#03303b"
base02 = "#073642"
base0175 = "#16404b"
base015 = "#2c4f59"
diff --git a/runtime/themes/solarized_light.toml b/runtime/themes/solarized_light.toml
index fa58cc8c..79fd8364 100644
--- a/runtime/themes/solarized_light.toml
+++ b/runtime/themes/solarized_light.toml
@@ -94,9 +94,16 @@
# main cursor/selection
"ui.cursor.primary" = { fg = "base03", bg = "base1" }
"ui.cursor.select" = { fg = "base02", bg = "cyan" }
+
+"ui.cursorline.primary" = { bg = "base02" }
+"ui.cursorline.secondary" = { bg = "base025" }
+
"ui.selection" = { bg = "base0175" }
"ui.selection.primary" = { bg = "base015" }
+"ui.virtual.indent-guide" = { fg = "base02" }
+"ui.virtual.ruler" = { fg = "red" }
+
# normal模式的光标
# normal mode cursor
"ui.cursor" = {fg = "base02", bg = "cyan"}
@@ -135,4 +142,5 @@ base01 = '#93a1a1'
base015 = '#c5c8bd'
base0175 = '#dddbcc'
base02 = '#eee8d5'
+base025 = '#f5eedb'
base03 = '#fdf6e3'