Skip to content

Commit fa0f0f4

Browse files
leonqadiriehadronized
authored andcommitted
Fix kanagawa theme lint and added git gutter colors (helix-editor#5273)
* 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
1 parent 574b71e commit fa0f0f4

File tree

1 file changed

+20
-7
lines changed

1 file changed

+20
-7
lines changed

runtime/themes/kanagawa.toml

+20-7
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,14 @@
77
# because of some theming differences, it's not an exact copy of the original.
88

99
## User interface
10-
"ui.selection" = { bg = "waveBlue1" }
10+
"ui.selection" = { bg = "waveBlue2" }
11+
"ui.selection.primary" = { bg = "waveBlue1" }
1112
"ui.background" = { fg = "fujiWhite", bg = "sumiInk1" }
1213

1314
"ui.linenr" = { fg = "sumiInk4" }
15+
"ui.linenr.selected" = { fg = "roninYellow" }
16+
17+
"ui.virtual.indent-guide" = "sumiInk4"
1418

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

2428
"ui.popup" = { fg = "fujiWhite", bg = "sumiInk0" }
2529
"ui.window" = { fg = "fujiWhite" }
26-
"ui.help" = { fg = "fujiWhite", bg = "waveBlue1" }
30+
"ui.help" = { fg = "fujiWhite", bg = "sumiInk1" }
2731
"ui.text" = "fujiWhite"
2832
"ui.text.focus" = { fg = "fujiWhite", bg = "waveBlue1", modifiers = ["bold"] }
2933
"ui.virtual" = "waveBlue1"
3034

31-
"ui.cursor" = { fg = "fujiWhite", bg = "waveBlue1"}
32-
"ui.cursor.primary" = { fg = "seaFoam", bg = "waveBlue1" }
35+
"ui.cursor" = { fg = "waveBlue1", bg = "fujiWhite"}
36+
"ui.cursor.primary" = { fg = "waveBlue1", bg = "seaFoam" }
3337
"ui.cursor.match" = { fg = "seaFoam", modifiers = ["bold"] }
3438
"ui.highlight" = { fg = "fujiWhite", bg = "waveBlue2" }
39+
"ui.menu" = { fg = "fujiWhite", bg = "sumiInk1" }
40+
"ui.menu.selected" = { fg = "fujiWhite", bg = "waveBlue1" }
41+
42+
"ui.cursorline.primary" = { bg = "sumiInk3"}
3543

3644
diagnostic = { modifiers = ["underlined"] }
3745

@@ -40,6 +48,11 @@ warning = "roninYellow"
4048
info = "waveAqua1"
4149
hint = "dragonBlue"
4250

51+
## Git gutter
52+
"diff.plus" = "autumnGreen"
53+
"diff.minus" = "autumnRed"
54+
"diff.delta" = "autumnYellow"
55+
4356
## Syntax highlighting
4457
"type" = "waveAqua2"
4558
"constant" = "surimiOrange"
@@ -54,8 +67,8 @@ hint = "dragonBlue"
5467
"variable.other.member" = "carpYellow"
5568
"label" = "springBlue"
5669
"punctuation" = "springViolet2"
57-
"punctuation.delimiter" = "springViolet2"
58-
"punctuation.bracket" = "springViolet2"
70+
"punctuation.delimiter" = "springViolet2"
71+
"punctuation.bracket" = "springViolet2"
5972
"keyword" = "oniViolet"
6073
"keyword.directive" = "peachRed"
6174
"operator" = "boatYellow2"
@@ -122,4 +135,4 @@ sakuraPink = "#D27E99" # numbers
122135
waveRed = "#E46876" # standout specials 1, e.g. builtin variables
123136
peachRed = "#FF5D62" # standout specials 2, e.g. exception handling, returns
124137
surimiOrange = "#FFA066" # constants, imports, booleans
125-
katanaGray = "#717C7C" # deprecated
138+
katanaGray = "#717C7C" # deprecated

0 commit comments

Comments
 (0)