Skip to content

Commit

Permalink
feat(theme): solarized: add cursorline, ruler, indent guide (#2962)
Browse files Browse the repository at this point in the history
  • Loading branch information
dead10ck authored Jul 4, 2022
1 parent 2ac1de3 commit f392e35
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
7 changes: 7 additions & 0 deletions runtime/themes/solarized_dark.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"}
Expand All @@ -98,6 +104,7 @@
[palette]
# 深色 越来越深
base03 = "#002b36"
base025 = "#03303b"
base02 = "#073642"
base0175 = "#16404b"
base015 = "#2c4f59"
Expand Down
8 changes: 8 additions & 0 deletions runtime/themes/solarized_light.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"}
Expand Down Expand Up @@ -135,4 +142,5 @@ base01 = '#93a1a1'
base015 = '#c5c8bd'
base0175 = '#dddbcc'
base02 = '#eee8d5'
base025 = '#f5eedb'
base03 = '#fdf6e3'

0 comments on commit f392e35

Please sign in to comment.