# Catppuccin Mocha — Soothing pastel theme
# https://github.com/catppuccin/catppuccin

[meta]
name = "Catppuccin Mocha"
author = "Catppuccin"
variant = "dark"
version = "1.0"
description = "Soothing pastel theme for the high-spirited"

[palette]
# Base colors
base = "#1e1e2e"
mantle = "#181825"
crust = "#11111b"
surface0 = "#313244"
surface1 = "#45475a"
surface2 = "#585b70"
overlay0 = "#6c7086"
overlay1 = "#7f849c"
overlay2 = "#9399b2"

# Text
text = "#cdd6f4"
subtext1 = "#bac2de"
subtext0 = "#a6adc8"

# Accent colors
rosewater = "#f5e0dc"
flamingo = "#f2cdcd"
pink = "#f5c2e7"
mauve = "#cba6f7"
red = "#f38ba8"
maroon = "#eba0ac"
peach = "#fab387"
yellow = "#f9e2af"
green = "#a6e3a1"
teal = "#94e2d5"
sky = "#89dceb"
sapphire = "#74c7ec"
blue = "#89b4fa"
lavender = "#b4befe"

[tokens]
"text.primary" = "text"
"text.secondary" = "subtext1"
"text.muted" = "subtext0"
"text.dim" = "overlay1"

"bg.base" = "crust"
"bg.panel" = "base"
"bg.code" = "mantle"
"bg.highlight" = "surface0"
"bg.elevated" = "surface1"
"bg.active" = "surface2"
"bg.selection" = "surface1"

"accent.primary" = "mauve"
"accent.secondary" = "sapphire"
"accent.tertiary" = "pink"
"accent.deep" = "lavender"

success = "green"
error = "red"
warning = "yellow"
info = "sky"

"border.focused" = "mauve"
"border.unfocused" = "surface2"

"code.keyword" = "mauve"
"code.function" = "blue"
"code.string" = "green"
"code.number" = "peach"
"code.comment" = "overlay1"
"code.type" = "yellow"
"code.line_number" = "overlay0"

[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 = ["mauve", "sapphire"]
warm = ["peach", "yellow"]
success_gradient = ["green", "teal"]
error_gradient = ["red", "maroon"]
aurora = ["mauve", "pink", "sapphire", "teal", "green"]
