Skip to content

Commit bab557f

Browse files
zetashiftpathwave
authored andcommitted
Add a first version of kanagawa theme (helix-editor#4300)
1 parent ccafafa commit bab557f

File tree

1 file changed

+125
-0
lines changed

1 file changed

+125
-0
lines changed

runtime/themes/kanagawa.toml

+125
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,125 @@
1+
# Kanagawa
2+
# Author: zetashift
3+
4+
# Adaptation of https://github.com/rebelot/kanagawa.nvim
5+
# Original author: rebelot
6+
# All credits to the original author, the palette is taken from the README
7+
# because of some theming differences, it's not an exact copy of the original.
8+
9+
## User interface
10+
"ui.selection" = { bg = "waveBlue1" }
11+
"ui.background" = { fg = "fujiWhite", bg = "sumiInk1" }
12+
13+
"ui.linenr" = { fg = "sumiInk4" }
14+
15+
"ui.statusline" = { fg = "oldWhite", bg = "sumiInk0" }
16+
"ui.statusline.inactive" = { fg = "fujiGray", bg = "sumiInk0" }
17+
"ui.statusline.normal" = { fg = "sumiInk0", bg = "crystalBlue", modifiers = ["bold"] }
18+
"ui.statusline.insert" = { fg = "sumiInk0", bg = "autumnGreen" }
19+
"ui.statusline.select" = { fg = "sumiInk0", bg = "oniViolet" }
20+
21+
"ui.bufferline" = { fg = "oldWhite", bg = "sumiInk0" }
22+
"ui.bufferline.inactive" = { fg = "fujiGray", bg = "sumiInk0" }
23+
24+
"ui.popup" = { fg = "fujiWhite", bg = "sumiInk0" }
25+
"ui.window" = { fg = "fujiWhite" }
26+
"ui.help" = { fg = "fujiWhite", bg = "waveBlue1" }
27+
"ui.text" = "fujiWhite"
28+
"ui.text.focus" = { fg = "fujiWhite", bg = "waveBlue1", modifiers = ["bold"] }
29+
"ui.virtual" = "waveBlue1"
30+
31+
"ui.cursor" = { fg = "fujiWhite", bg = "waveBlue1"}
32+
"ui.cursor.primary" = { fg = "seaFoam", bg = "waveBlue1" }
33+
"ui.cursor.match" = { fg = "seaFoam", modifiers = ["bold"] }
34+
"ui.highlight" = { fg = "fujiWhite", bg = "waveBlue2" }
35+
36+
diagnostic = { modifiers = ["underlined"] }
37+
38+
error = "samuraiRed"
39+
warning = "roninYellow"
40+
info = "waveAqua1"
41+
hint = "dragonBlue"
42+
43+
## Syntax highlighting
44+
"type" = "waveAqua2"
45+
"constant" = "surimiOrange"
46+
"constant.numeric" = "sakuraPink"
47+
"constant.character.escape" = "springBlue"
48+
"string" = "springGreen"
49+
"string.regexp" = "boatYellow2"
50+
"comment" = "fujiGray"
51+
"variable" = "fujiWhite"
52+
"variable.builtin" = "waveRed"
53+
"variable.parameter" = "carpYellow"
54+
"variable.other.member" = "carpYellow"
55+
"label" = "springBlue"
56+
"punctuation" = "springViolet2"
57+
"punctuation.delimiter" = "springViolet2"
58+
"punctuation.bracket" = "springViolet2"
59+
"keyword" = "oniViolet"
60+
"keyword.directive" = "peachRed"
61+
"operator" = "boatYellow2"
62+
"function" = "crystalBlue"
63+
"function.builtin" = "peachRed"
64+
"function.macro" = "waveRed"
65+
"tag" = "springBlue"
66+
"namespace" = "surimiOrange"
67+
"attribute" = "peachRed"
68+
"constructor" = "springBlue"
69+
"module" = "waveAqua2"
70+
"special" = "peachRed"
71+
72+
## Markup modifiers
73+
"markup.heading.marker" = "fujiGray"
74+
"markup.heading.1" = { fg = "surimiOrange", modifiers = ["bold"] }
75+
"markup.heading.2" = { fg = "carpYellow", modifiers = ["bold"] }
76+
"markup.heading.3" = { fg = "waveAqua2", modifiers = ["bold"] }
77+
"markup.heading.4" = { fg = "springGreen", modifiers = ["bold"] }
78+
"markup.heading.5" = { fg = "waveRed", modifiers = ["bold"] }
79+
"markup.heading.6" = { fg = "autumnRed", modifiers = ["bold"] }
80+
"markup.list" = "oniViolet"
81+
"markup.bold" = { modifiers = ["bold"] }
82+
"markup.italic" = { modifiers = ["italic"] }
83+
"markup.link.url" = { fg = "springBlue", modifiers = ["underlined"] }
84+
"markup.link.text" = "crystalBlue"
85+
"markup.quote" = "seaFoam"
86+
"markup.raw" = "seaFoam"
87+
88+
[palette]
89+
seaFoam = "#C7CCD1" # custom lighter foreground
90+
fujiWhite = "#DCD7BA" # default foreground
91+
oldWhite = "#C8C093" # dark foreground, e.g. statuslines
92+
sumiInk0 = "#16161D" # dark background, e.g. statuslines, floating windows
93+
sumiInk1 = "#1F1F28" # default background
94+
sumiInk3 = "#363646" # lighter background, e.g. colorcolumns and folds
95+
sumiInk4 = "#54546D" # darker foreground, e.g. linenumbers, fold column
96+
waveBlue1 = "#223249" # popup background, visual selection background
97+
waveBlue2 = "#2D4F67" # popup selection background, search background
98+
winterGreen = "#2B3328" # diff add background
99+
winterYellow = "#49443C" # diff change background
100+
winterRed = "#43242B" # diff deleted background
101+
winterBlue = "#252535" # diff line background
102+
autumnGreen = "#76946A" # git add
103+
autumnRed = "#C34043" # git delete
104+
autumnYellow = "#DCA561" # git change
105+
samuraiRed = "#E82424" # diagnostic error
106+
roninYellow = "#FF9E3B" # diagnostic warning
107+
waveAqua1 = "#6A9589" # diagnostic info
108+
dragonBlue = "#658594" # diagnostic hint
109+
fujiGray = "#727169" # comments
110+
springViolet1 = "#938AA9" # light foreground
111+
oniViolet = "#957FB8" # statements and keywords
112+
crystalBlue = "#7E9CD8" # functions and titles
113+
springViolet2 = "#9CABCA" # brackets and punctuation
114+
springBlue = "#7FB4CA" # specials and builtins
115+
lightBlue = "#A3D4D5" # not used!
116+
waveAqua2 = "#7AA89F" # types
117+
springGreen = "#98BB6C" # strings
118+
boatYellow1 = "#938056" # not used
119+
boatYellow2 = "#C0A36E" # operators, regex
120+
carpYellow = "#E6C384" # identifiers
121+
sakuraPink = "#D27E99" # numbers
122+
waveRed = "#E46876" # standout specials 1, e.g. builtin variables
123+
peachRed = "#FF5D62" # standout specials 2, e.g. exception handling, returns
124+
surimiOrange = "#FFA066" # constants, imports, booleans
125+
katanaGray = "#717C7C" # deprecated

0 commit comments

Comments
 (0)