Skip to content

Commit

Permalink
Fix kanagawa theme lint and added git gutter colors (helix-editor#5273)
Browse files Browse the repository at this point in the history
* Fix kanagawa theme lint

Comprises 4 changes:
1. added "sumiInk3" as ui.cursorline.primary bg color
2. switched the cursor bg and fg colors (now in line with original theme)
3. added ui.menu and ui.selected colors
4. separated ui.selection and ui.selection.primary

* Add git gutter colors to kanagawa theme

In line with original:
autumnGreen for adds
autumnRed for deletes
autumnYellow for changes

* Add indent-guides and linenr.selected to kanagawa

* indent-guides are sumiInk4
* Add ui.linenr.selected is roninYellow

* Set ui.help bg to sumiInk1
  • Loading branch information
leonqadirie authored and semin-park committed Jan 4, 2023
1 parent c58fba4 commit 50a5ad6
Showing 1 changed file with 20 additions and 7 deletions.
27 changes: 20 additions & 7 deletions runtime/themes/kanagawa.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,14 @@
# because of some theming differences, it's not an exact copy of the original.

## User interface
"ui.selection" = { bg = "waveBlue1" }
"ui.selection" = { bg = "waveBlue2" }
"ui.selection.primary" = { bg = "waveBlue1" }
"ui.background" = { fg = "fujiWhite", bg = "sumiInk1" }

"ui.linenr" = { fg = "sumiInk4" }
"ui.linenr.selected" = { fg = "roninYellow" }

"ui.virtual.indent-guide" = "sumiInk4"

"ui.statusline" = { fg = "oldWhite", bg = "sumiInk0" }
"ui.statusline.inactive" = { fg = "fujiGray", bg = "sumiInk0" }
Expand All @@ -23,15 +27,19 @@

"ui.popup" = { fg = "fujiWhite", bg = "sumiInk0" }
"ui.window" = { fg = "fujiWhite" }
"ui.help" = { fg = "fujiWhite", bg = "waveBlue1" }
"ui.help" = { fg = "fujiWhite", bg = "sumiInk1" }
"ui.text" = "fujiWhite"
"ui.text.focus" = { fg = "fujiWhite", bg = "waveBlue1", modifiers = ["bold"] }
"ui.virtual" = "waveBlue1"

"ui.cursor" = { fg = "fujiWhite", bg = "waveBlue1"}
"ui.cursor.primary" = { fg = "seaFoam", bg = "waveBlue1" }
"ui.cursor" = { fg = "waveBlue1", bg = "fujiWhite"}
"ui.cursor.primary" = { fg = "waveBlue1", bg = "seaFoam" }
"ui.cursor.match" = { fg = "seaFoam", modifiers = ["bold"] }
"ui.highlight" = { fg = "fujiWhite", bg = "waveBlue2" }
"ui.menu" = { fg = "fujiWhite", bg = "sumiInk1" }
"ui.menu.selected" = { fg = "fujiWhite", bg = "waveBlue1" }

"ui.cursorline.primary" = { bg = "sumiInk3"}

diagnostic = { modifiers = ["underlined"] }

Expand All @@ -40,6 +48,11 @@ warning = "roninYellow"
info = "waveAqua1"
hint = "dragonBlue"

## Git gutter
"diff.plus" = "autumnGreen"
"diff.minus" = "autumnRed"
"diff.delta" = "autumnYellow"

## Syntax highlighting
"type" = "waveAqua2"
"constant" = "surimiOrange"
Expand All @@ -54,8 +67,8 @@ hint = "dragonBlue"
"variable.other.member" = "carpYellow"
"label" = "springBlue"
"punctuation" = "springViolet2"
"punctuation.delimiter" = "springViolet2"
"punctuation.bracket" = "springViolet2"
"punctuation.delimiter" = "springViolet2"
"punctuation.bracket" = "springViolet2"
"keyword" = "oniViolet"
"keyword.directive" = "peachRed"
"operator" = "boatYellow2"
Expand Down Expand Up @@ -122,4 +135,4 @@ sakuraPink = "#D27E99" # numbers
waveRed = "#E46876" # standout specials 1, e.g. builtin variables
peachRed = "#FF5D62" # standout specials 2, e.g. exception handling, returns
surimiOrange = "#FFA066" # constants, imports, booleans
katanaGray = "#717C7C" # deprecated
katanaGray = "#717C7C" # deprecated

0 comments on commit 50a5ad6

Please sign in to comment.