From f392e354399c5158ad5e6d94b7170ac5040f30c6 Mon Sep 17 00:00:00 2001 From: Skyler Hawthorne Date: Mon, 4 Jul 2022 19:06:44 -0400 Subject: [PATCH] feat(theme): solarized: add cursorline, ruler, indent guide (#2962) --- runtime/themes/solarized_dark.toml | 7 +++++++ runtime/themes/solarized_light.toml | 8 ++++++++ 2 files changed, 15 insertions(+) diff --git a/runtime/themes/solarized_dark.toml b/runtime/themes/solarized_dark.toml index 002e99bc7..aa6dbbf8d 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 fa58cc8cf..79fd83642 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'