# Kanagawa Dragon — A darker, more contrasted variant
# https://github.com/rebelot/kanagawa.nvim

[meta]
name = "Kanagawa Dragon"
author = "rebelot"
variant = "dark"
version = "1.0"
description = "Dark dragon variant with deeper contrast and warmth"

[palette]
# Dragon Ink backgrounds
sumi_ink0 = "#0d0c0c"
sumi_ink1 = "#12120f"
sumi_ink3 = "#181616"
sumi_ink4 = "#282727"
sumi_ink5 = "#393836"
sumi_ink6 = "#625e5a"

# Foreground
fuji_white = "#c5c9c5"
old_white = "#a6a69c"
fuji_gray = "#737c73"

# Syntax
crystal_blue = "#8ba4b0"
oni_violet = "#8992a7"
spring_violet1 = "#a292a3"
spring_violet2 = "#9CABCA"
spring_blue = "#8ba4b0"
spring_green = "#87a987"
carp_yellow = "#c4b28a"
boat_yellow2 = "#C0A36E"
sakura_pink = "#a292a3"
wave_red = "#c4746e"
peach_red = "#FF5D62"
surimi_orange = "#b6927b"
wave_aqua2 = "#8ea4a2"

# Diagnostics
samurai_red = "#E82424"
ronin_yellow = "#FF9E3B"
autumn_green = "#76946A"
autumn_red = "#C34043"
autumn_yellow = "#DCA561"

[tokens]
"text.primary" = "fuji_white"
"text.secondary" = "old_white"
"text.muted" = "fuji_gray"
"text.dim" = "sumi_ink6"

"bg.base" = "sumi_ink3"
"bg.panel" = "sumi_ink1"
"bg.code" = "sumi_ink0"
"bg.highlight" = "sumi_ink4"
"bg.elevated" = "sumi_ink5"
"bg.active" = "sumi_ink5"
"bg.selection" = "sumi_ink4"

"accent.primary" = "oni_violet"
"accent.secondary" = "crystal_blue"
"accent.tertiary" = "sakura_pink"
"accent.deep" = "spring_violet1"

success = "spring_green"
error = "peach_red"
warning = "ronin_yellow"
info = "spring_blue"

"border.focused" = "crystal_blue"
"border.unfocused" = "sumi_ink6"

"code.keyword" = "oni_violet"
"code.function" = "crystal_blue"
"code.string" = "spring_green"
"code.number" = "sakura_pink"
"code.comment" = "fuji_gray"
"code.type" = "carp_yellow"
"code.line_number" = "sumi_ink6"

[styles]
keyword = { fg = "accent.primary", bold = true }
line_number = { fg = "code.line_number" }
cursor_line = { bg = "bg.highlight" }
selected = { fg = "accent.secondary", bg = "bg.highlight" }
active_selected = { fg = "accent.primary", bg = "bg.active", bold = true }
focused_border = { fg = "border.focused" }
unfocused_border = { fg = "border.unfocused" }
success_style = { fg = "success" }
error_style = { fg = "error" }
warning_style = { fg = "warning" }
info_style = { fg = "info" }
dimmed = { fg = "text.dim" }
muted = { fg = "text.muted" }
inline_code = { fg = "success", bg = "bg.code" }

[gradients]
primary = ["oni_violet", "crystal_blue"]
warm = ["wave_red", "carp_yellow"]
success_gradient = ["spring_green", "wave_aqua2"]
error_gradient = ["peach_red", "sakura_pink"]
aurora = ["oni_violet", "crystal_blue", "spring_blue", "wave_aqua2", "spring_green"]
