fork/helix

git clone https://git.julia.blue/fork/helix

Daniel O'BrienFix kanagawa theme when using cursorline (#10500)1d23796a

24.07
6.3 KiB155 linesraw
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 = "waveBlue2" }
11"ui.selection.primary" = { bg = "waveBlue2" }
12"ui.background" = { fg = "fujiWhite", bg = "sumiInk1" }
13
14"ui.linenr" = { fg = "sumiInk4" }
15"ui.linenr.selected" = { fg = "roninYellow" }
16
17"ui.virtual" = "sumiInk4"
18"ui.virtual.ruler" = { bg = "sumiInk2" }
19"ui.virtual.inlay-hint" = "fujiGray"
20"ui.virtual.inlay-hint.parameter" = { fg = "carpYellow", modifiers = ["dim"] }
21"ui.virtual.inlay-hint.type" = { fg = "waveAqua2", modifiers = ["dim"] }
22"ui.virtual.jump-label" = { fg = "peachRed", modifiers = ["bold"] }
23
24"ui.statusline" = { fg = "oldWhite", bg = "sumiInk0" }
25"ui.statusline.inactive" = { fg = "fujiGray", bg = "sumiInk0" }
26"ui.statusline.normal" = { fg = "sumiInk0", bg = "crystalBlue", modifiers = ["bold"] }
27"ui.statusline.insert" = { fg = "sumiInk0", bg = "autumnGreen", modifiers = ["bold"] }
28"ui.statusline.select" = { fg = "sumiInk0", bg = "oniViolet", modifiers = ["bold"] }
29
30"ui.bufferline" = { fg = "fujiGray", bg = "sumiInk0" }
31"ui.bufferline.active" = { fg = "oldWhite", bg = "sumiInk0" }
32"ui.bufferline.background" = { bg = "sumiInk0" }
33
34"ui.popup" = { fg = "fujiWhite", bg = "sumiInk0" }
35"ui.window" = { fg = "sumiInk0" }
36"ui.help" = { fg = "fujiWhite", bg = "sumiInk0" }
37"ui.text" = "fujiWhite"
38"ui.text.focus" = { fg = "fujiWhite", bg = "waveBlue1", modifiers = ["bold"] }
39
40"ui.cursor" = { fg = "waveBlue1", bg = "waveAqua2" }
41"ui.cursor.primary" = { fg = "waveBlue1", bg = "fujiWhite" }
42"ui.cursor.match" = { fg = "waveRed", modifiers = ["bold"] }
43"ui.highlight" = { fg = "fujiWhite", bg = "waveBlue2" }
44"ui.menu" = { fg = "fujiWhite", bg = "waveBlue1" }
45"ui.menu.selected" = { fg = "fujiWhite", bg = "waveBlue2", modifiers = ["bold"] }
46"ui.menu.scroll" = { fg = "oldWhite", bg = "waveBlue1" }
47
48"ui.cursorline.primary" = { bg = "sumiInk3" }
49"ui.cursorcolumn.primary" = { bg = "sumiInk3" }
50
51"diagnostic.error" = { underline = { color = "samuraiRed", style = "curl" } }
52"diagnostic.warning" = { underline = { color = "roninYellow", style = "curl" } }
53"diagnostic.info" = { underline = { color = "waveAqua1", style = "curl" } }
54"diagnostic.hint" = { underline = { color = "dragonBlue", style = "curl" } }
55"diagnostic.unnecessary" = { modifiers = ["dim"] }
56"diagnostic.deprecated" = { modifiers = ["crossed_out"] }
57
58error = "samuraiRed"
59warning = "roninYellow"
60info = "waveAqua1"
61hint = "dragonBlue"
62
63## Git gutter
64"diff.plus" = "autumnGreen"
65"diff.minus" = "autumnRed"
66"diff.delta" = "autumnYellow"
67
68## Syntax highlighting
69"attribute" = "waveRed"
70"type" = "waveAqua2"
71"constructor" = "springBlue"
72"constant" = "surimiOrange"
73"constant.numeric" = "sakuraPink"
74"constant.character.escape" = "springBlue"
75"string" = "springGreen"
76"string.regexp" = "boatYellow2"
77"string.special.url" = "springBlue"
78"string.special.symbol" = "oniViolet"
79"comment" = "fujiGray"
80"variable" = "fujiWhite"
81"variable.builtin" = "waveRed"
82"variable.parameter" = "carpYellow"
83"variable.other.member" = "carpYellow"
84"label" = "springBlue"
85"punctuation" = "springViolet2"
86"keyword" = "oniViolet"
87"keyword.control.return" = "peachRed"
88"keyword.control.exception" = "peachRed"
89"keyword.directive" = "peachRed"
90"operator" = "boatYellow2"
91"function" = "crystalBlue"
92"function.builtin" = "springBlue"
93"function.macro" = "waveRed"
94"tag" = "waveAqua2"
95"namespace" = "surimiOrange"
96"special" = "peachRed"
97
98## Markup modifiers
99"markup.heading.marker" = "springViolet2"
100"markup.heading.1" = { fg = "surimiOrange", modifiers = ["bold"] }
101"markup.heading.2" = { fg = "carpYellow", modifiers = ["bold"] }
102"markup.heading.3" = { fg = "waveAqua2", modifiers = ["bold"] }
103"markup.heading.4" = { fg = "lightBlue", modifiers = ["bold"] }
104"markup.heading.5" = { fg = "oniViolet", modifiers = ["bold"] }
105"markup.heading.6" = { fg = "springViolet1", modifiers = ["bold"] }
106"markup.list.numbered" = "sakuraPink"
107"markup.list.unnumbered" = "waveRed"
108"markup.bold" = { modifiers = ["bold"] }
109"markup.italic" = { modifiers = ["italic"] }
110"markup.strikethrough" = { modifiers = ["crossed_out"] }
111"markup.link.text" = "crystalBlue"
112"markup.link.url" = { fg = "springBlue", underline.style = "line" }
113"markup.link.label" = "surimiOrange"
114"markup.quote" = "springViolet1"
115"markup.raw" = "springGreen"
116
117[palette]
118seaFoam = "#C7CCD1"       # custom lighter foreground
119fujiWhite = "#DCD7BA"     # default foreground
120oldWhite = "#C8C093"      # dark foreground, e.g. statuslines
121sumiInk0 = "#16161D"      # dark background, e.g. statuslines, floating windows
122sumiInk1 = "#1F1F28"      # default background
123sumiInk2 = "#2A2A37"      # lighter background, e.g. colorcolumns, folds
124sumiInk3 = "#363646"      # lighter background, e.g. cursorline
125sumiInk4 = "#54546D"      # darker foreground, e.g. linenumbers, fold column
126waveBlue1 = "#223249"     # popup background, visual selection background
127waveBlue2 = "#2D4F67"     # popup selection background, search background
128winterGreen = "#2B3328"   # diff add background
129winterYellow = "#49443C"  # diff change background
130winterRed = "#43242B"     # diff deleted background
131winterBlue = "#252535"    # diff line background
132autumnGreen = "#76946A"   # git add
133autumnRed = "#C34043"     # git delete
134autumnYellow = "#DCA561"  # git change
135samuraiRed = "#E82424"    # diagnostic error
136roninYellow = "#FF9E3B"   # diagnostic warning
137waveAqua1 = "#6A9589"     # diagnostic info
138dragonBlue = "#658594"    # diagnostic hint
139fujiGray = "#727169"      # comments
140springViolet1 = "#938AA9" # light foreground
141oniViolet = "#957FB8"     # statements and keywords
142crystalBlue = "#7E9CD8"   # functions and titles
143springViolet2 = "#9CABCA" # brackets and punctuation
144springBlue = "#7FB4CA"    # specials and builtins
145lightBlue = "#A3D4D5"     # not used!
146waveAqua2 = "#7AA89F"     # types
147springGreen = "#98BB6C"   # strings
148boatYellow1 = "#938056"   # not used
149boatYellow2 = "#C0A36E"   # operators, regex
150carpYellow = "#E6C384"    # identifiers
151sakuraPink = "#D27E99"    # numbers
152waveRed = "#E46876"       # standout specials 1, e.g. builtin variables
153peachRed = "#FF5D62"      # standout specials 2, e.g. exception handling, returns
154surimiOrange = "#FFA066"  # constants, imports, booleans
155katanaGray = "#717C7C"    # deprecated