Skip to content

Commit

Permalink
Sonokai theme: style secondary selections differently (#5440)
Browse files Browse the repository at this point in the history
Without styling the primary and secondary selections differently, it's
impossible to tell them apart when cycling through selections.

Make the primary selection slightly brighter and secondary selections
slightly paler.
  • Loading branch information
jlebon authored Jan 24, 2023
1 parent e83ce72 commit 4726ae9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions runtime/themes/sonokai.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@
"ui.cursor.match" = { fg = "orange", bg = "diff_yellow" }
"ui.cursor.insert" = { fg = "black", bg = "grey" }
"ui.cursor.select" = { fg = "bg0", bg = "blue" }
"ui.selection" = { bg = "bg4" }
"ui.selection" = { bg = "bg5" }
"ui.selection.primary" = { bg = "bg4" }
"ui.linenr" = "grey"
"ui.linenr.selected" = "fg"
"ui.cursorline.primary" = { bg = "bg1" }
Expand Down Expand Up @@ -91,7 +92,8 @@ bg0 = "#2c2e34"
bg1 = "#33353f"
bg2 = "#363944"
bg3 = "#3b3e48"
bg4 = "#545862"
bg4 = "#5C606A"
bg5 = "#444852"
bg_red = "#ff6077"
diff_red = "#55393d"
bg_green = "#a7df78"
Expand Down

0 comments on commit 4726ae9

Please sign in to comment.