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

[meta]
name = "Ayu Mirage"
author = "Ayu Theme"
variant = "dark"
version = "1.0"
description = "Warm mid-tone dark scheme with soft golden accents"

[palette]
# Surface / background
bg_deep = "#171b24"
bg_sunk = "#181c26"
bg_default = "#1f2430"
bg_panel = "#242936"
bg_popup = "#1c212c"
bg_line = "#1a1f29"
bg_highlight = "#282e3b"

# Foreground
fg_default = "#cccac2"
fg_muted = "#707a8c"
fg_subtle = "#565e6e"

# Accent
accent = "#ffcc66"

# Syntax
syn_tag = "#5ccfe6"
syn_func = "#ffd580"
syn_entity = "#73d0ff"
syn_string = "#d5ff80"
syn_regexp = "#95e6cb"
syn_markup = "#f28779"
syn_keyword = "#ffa759"
syn_special = "#d9be98"
syn_comment = "#5c6773"
syn_constant = "#dfbfff"
syn_operator = "#f29e74"

# VCS / status
vcs_added = "#87d96c"
vcs_modified = "#80bfff"
vcs_removed = "#f27983"
error = "#ff6666"

[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_sunk"
"bg.highlight" = "bg_line"
"bg.elevated" = "bg_panel"
"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"]
