# Gruvbox Material Dark theme for Yazi
# Based on https://github.com/sainnhe/gruvbox-material

[manager]
cwd = { fg = "#d8a657" } # yellow

# Hovered
hovered = { fg = "#282828", bg = "#a9b665" } # green background
preview_hovered = { underline = true }

# Find
find_keyword = { fg = "#282828", bg = "#d8a657" }  # yellow
find_position = { fg = "#282828", bg = "#7daea3" } # aqua

# Marker
marker_copied = { fg = "#a9b665", bg = "#a9b665" }   # green
marker_cut = { fg = "#ea6962", bg = "#ea6962" }      # red
marker_marked = { fg = "#7daea3", bg = "#7daea3" }   # aqua
marker_selected = { fg = "#d8a657", bg = "#d8a657" } # yellow

# Tab
tab_active = { fg = "#282828", bg = "#a9b665" }   # green
tab_inactive = { fg = "#d4be98", bg = "#3c3836" } # fg on bg1
tab_width = 1

# Count
count_copied = { fg = "#282828", bg = "#a9b665" }   # green
count_cut = { fg = "#282828", bg = "#ea6962" }      # red
count_selected = { fg = "#282828", bg = "#7daea3" } # aqua

# Border
border_symbol = "│"
border_style = { fg = "#504945" } # bg2

# Syntect theme for preview
syntect_theme = "~/.config/yazi/Gruvbox-Material-Dark.tmTheme"

[status]
separator_open = ""
separator_close = ""
separator_style = { fg = "#504945", bg = "#504945" } # bg2

# Mode
mode_normal = { fg = "#282828", bg = "#7daea3", bold = true } # aqua
mode_select = { fg = "#282828", bg = "#d8a657", bold = true } # yellow
mode_unset = { fg = "#282828", bg = "#ea6962", bold = true }  # red

# Progress
progress_label = { fg = "#d4be98", bold = true }     # fg
progress_normal = { fg = "#7daea3", bg = "#3c3836" } # aqua on bg1
progress_error = { fg = "#ea6962", bg = "#3c3836" }  # red on bg1

# Permissions
permissions_t = { fg = "#a9b665" } # green
permissions_r = { fg = "#d8a657" } # yellow
permissions_w = { fg = "#ea6962" } # red
permissions_x = { fg = "#7daea3" } # aqua
permissions_s = { fg = "#504945" } # bg2

[input]
border = { fg = "#7daea3" }    # aqua
title = { fg = "#d4be98" }     # fg
value = { fg = "#d4be98" }     # fg
selected = { reversed = true }

[select]
border = { fg = "#7daea3" }   # aqua
active = { fg = "#d8a657" }   # yellow
inactive = { fg = "#7c6f64" } # bg3

[completion]
border = { fg = "#7daea3" } # aqua
