fork/helix

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

luetageKanagawa: fix palette and attempt at a markdown compromise (#12895)1a289990

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