# Ayu Dark — Warm dark color scheme
# https://github.com/ayu-theme/ayu-colors

[meta]
name = "Ayu Dark"
author = "Ayu Theme"
variant = "dark"
version = "1.0"
description = "Warm dark color scheme with golden accents"

[palette]
# Surface / background
bg_deep = "#0b0e14"
bg_default = "#0d1017"
bg_panel = "#10141c"
bg_popup = "#0f131a"
bg_line = "#161a24"
bg_highlight = "#1b1f29"

# Foreground
fg_default = "#bfbdb6"
fg_muted = "#5a6378"
fg_subtle = "#454b5c"

# Accent
accent = "#e6b450"

# Syntax
syn_tag = "#39bae6"
syn_func = "#ffb454"
syn_entity = "#59c2ff"
syn_string = "#aad94c"
syn_regexp = "#95e6cb"
syn_markup = "#f07178"
syn_keyword = "#ff8f40"
syn_special = "#e6c08a"
syn_comment = "#636e83"
syn_constant = "#d2a6ff"
syn_operator = "#f29668"

# VCS / status
vcs_added = "#70bf56"
vcs_modified = "#73b8ff"
vcs_removed = "#f26d78"
error = "#d95757"

[tokens]
"text.primary" = "fg_default"
"text.secondary" = "fg_muted"
"text.muted" = "fg_subtle"
"text.dim" = "fg_subtle"

"bg.base" = "bg_deep"
"bg.panel" = "bg_default"
"bg.code" = "bg_panel"
"bg.highlight" = "bg_line"
"bg.elevated" = "bg_popup"
"bg.active" = "bg_highlight"
"bg.selection" = "bg_highlight"

"accent.primary" = "accent"
"accent.secondary" = "syn_entity"
"accent.tertiary" = "syn_tag"
"accent.deep" = "syn_constant"

success = "vcs_added"
error = "error"
warning = "accent"
info = "syn_entity"

"border.focused" = "accent"
"border.unfocused" = "bg_highlight"

"code.keyword" = "syn_keyword"
"code.function" = "syn_func"
"code.string" = "syn_string"
"code.number" = "syn_constant"
"code.comment" = "syn_comment"
"code.type" = "syn_tag"
"code.line_number" = "fg_subtle"

[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 = ["accent", "syn_entity"]
warm = ["syn_keyword", "accent"]
success_gradient = ["vcs_added", "syn_string"]
error_gradient = ["error", "vcs_removed"]
aurora = ["accent", "syn_keyword", "syn_entity", "syn_string", "syn_constant"]
