yazi/yazi-config/preset/theme.toml

344 lines
9.7 KiB
TOML
Raw Normal View History

# A TOML linter such as https://taplo.tamasfe.dev/ can use this schema to validate your config.
# If you encounter any issues, please make an issue at https://github.com/yazi-rs/schemas.
"$schema" = "https://yazi-rs.github.io/schemas/theme.json"
# vim:fileencoding=utf-8:foldmethod=marker
2024-02-29 06:54:41 +03:00
# : Flavor {{{
[flavor]
use = ""
# : }}}
# : Manager {{{
[manager]
cwd = { fg = "cyan" }
# Hovered
2024-02-24 04:11:53 +03:00
hovered = { reversed = true }
preview_hovered = { underline = true }
# Find
2024-02-24 04:11:53 +03:00
find_keyword = { fg = "yellow", bold = true, italic = true, underline = true }
find_position = { fg = "magenta", bg = "reset", bold = true, italic = true }
# Marker
2024-02-15 15:24:20 +03:00
marker_copied = { fg = "lightgreen", bg = "lightgreen" }
marker_cut = { fg = "lightred", bg = "lightred" }
marker_marked = { fg = "lightcyan", bg = "lightcyan" }
marker_selected = { fg = "lightyellow", bg = "lightyellow" }
# Tab
2024-03-06 16:44:38 +03:00
tab_active = { reversed = true }
tab_inactive = {}
tab_width = 1
# Count
2024-03-06 16:44:38 +03:00
count_copied = { fg = "white", bg = "green" }
count_cut = { fg = "white", bg = "red" }
count_selected = { fg = "white", bg = "blue" }
# Border
border_symbol = "│"
border_style = { fg = "gray" }
# Highlighting
syntect_theme = ""
# : }}}
# : Status {{{
2023-07-17 19:34:58 +03:00
[status]
separator_open = ""
separator_close = ""
2024-03-06 16:44:38 +03:00
separator_style = { fg = "gray", bg = "gray" }
2023-07-17 19:34:58 +03:00
2023-10-11 19:09:10 +03:00
# Mode
2024-03-06 16:44:38 +03:00
mode_normal = { bg = "blue", bold = true }
mode_select = { bg = "red", bold = true }
mode_unset = { bg = "red", bold = true }
2023-07-17 19:34:58 +03:00
2023-10-11 19:09:10 +03:00
# Progress
2023-10-21 04:40:40 +03:00
progress_label = { bold = true }
progress_normal = { fg = "blue", bg = "black" }
progress_error = { fg = "red", bg = "black" }
2023-10-11 19:09:10 +03:00
# Permissions
2024-03-06 16:44:38 +03:00
permissions_t = { fg = "green" }
permissions_r = { fg = "yellow" }
permissions_w = { fg = "red" }
permissions_x = { fg = "cyan" }
permissions_s = { fg = "darkgray" }
# : }}}
# : Select {{{
[select]
border = { fg = "blue" }
2024-03-06 16:44:38 +03:00
active = { fg = "magenta", bold = true }
inactive = {}
# : }}}
2023-10-11 19:09:10 +03:00
2023-07-17 19:34:58 +03:00
# : Input {{{
[input]
border = { fg = "blue" }
title = {}
value = {}
selected = { reversed = true }
# : }}}
# : Completion {{{
[completion]
border = { fg = "blue" }
2024-03-06 16:44:38 +03:00
active = { reversed = true }
inactive = {}
# Icons
icon_file = ""
icon_folder = ""
icon_command = ""
# : }}}
# : Tasks {{{
2023-07-17 19:34:58 +03:00
[tasks]
border = { fg = "blue" }
title = {}
2024-03-06 16:44:38 +03:00
hovered = { fg = "magenta", underline = true }
# : }}}
# : Which {{{
[which]
cols = 3
mask = { bg = "black" }
cand = { fg = "lightcyan" }
rest = { fg = "darkgray" }
2024-03-06 16:44:38 +03:00
desc = { fg = "lightmagenta" }
separator = "  "
separator_style = { fg = "darkgray" }
# : }}}
# : Help {{{
[help]
2024-03-06 16:44:38 +03:00
on = { fg = "cyan" }
run = { fg = "magenta" }
desc = {}
hovered = { reversed = true, bold = true }
footer = { fg = "black", bg = "white" }
2023-07-17 19:34:58 +03:00
# : }}}
# : Notify {{{
[notify]
title_info = { fg = "green" }
title_warn = { fg = "yellow" }
title_error = { fg = "red" }
# Icons
icon_info = ""
icon_warn = ""
icon_error = ""
# : }}}
# : File-specific styles {{{
2023-07-17 19:34:58 +03:00
[filetype]
rules = [
# Images
{ mime = "image/*", fg = "cyan" },
2023-07-17 19:34:58 +03:00
2024-03-06 16:44:38 +03:00
# Media
{ mime = "{audio,video}/*", fg = "yellow" },
2023-07-17 19:34:58 +03:00
# Archives
{ mime = "application/*zip", fg = "magenta" },
{ mime = "application/x-{tar,bzip*,7z-compressed,xz,rar}", fg = "magenta" },
# Documents
{ mime = "application/{pdf,doc,rtf,vnd.*}", fg = "green" },
2023-07-17 19:34:58 +03:00
# Fallback
# { name = "*", fg = "white" },
{ name = "*/", fg = "blue" }
2023-07-17 19:34:58 +03:00
]
[icon]
rules = [
# Programming
2024-02-15 14:29:15 +03:00
{ name = "*.c" , text = "", fg = "#599eff" },
{ name = "*.cpp" , text = "", fg = "#519aba" },
{ name = "*.class", text = "", fg = "#cc3e44" },
{ name = "*.cs" , text = "󰌛", fg = "#596706" },
2024-02-15 14:29:15 +03:00
{ name = "*.css" , text = "", fg = "#42a5f5" },
{ name = "*.elm" , text = "", fg = "#4391d2" },
2024-02-15 14:29:15 +03:00
{ name = "*.fish" , text = "", fg = "#4d5a5e" },
{ name = "*.go" , text = "", fg = "#519aba" },
{ name = "*.h" , text = "", fg = "#a074c4" },
{ name = "*.hpp" , text = "", fg = "#a074c4" },
{ name = "*.html" , text = "", fg = "#e44d26" },
{ name = "*.jar" , text = "", fg = "#cc3e44" },
2024-02-15 14:29:15 +03:00
{ name = "*.java" , text = "", fg = "#cc3e44" },
{ name = "*.js" , text = "", fg = "#F1F134" },
{ name = "*.jsx" , text = "", fg = "#20c2e3" },
{ name = "*.lua" , text = "", fg = "#51a0cf" },
{ name = "*.nix" , text = "", fg = "#7ebae4" },
{ name = "*.nu" , text = ">", fg = "#3aa675" },
2024-02-15 14:29:15 +03:00
{ name = "*.php" , text = "", fg = "#a074c4" },
{ name = "*.py" , text = "", fg = "#ffbc03" },
{ name = "*.rb" , text = "", fg = "#701516" },
{ name = "*.rs" , text = "", fg = "#dea584" },
{ name = "*.sbt" , text = "", fg = "#4d5a5e" },
{ name = "*.scala", text = "", fg = "#cc463e" },
2024-02-15 14:29:15 +03:00
{ name = "*.scss" , text = "", fg = "#f55385" },
{ name = "*.sh" , text = "", fg = "#4d5a5e" },
{ name = "*.swift", text = "", fg = "#e37933" },
{ name = "*.ts" , text = "", fg = "#519aba" },
{ name = "*.tsx" , text = "", fg = "#1354bf" },
{ name = "*.vim" , text = "", fg = "#019833" },
{ name = "*.vue" , text = "󰡄", fg = "#8dc149" },
# Text
2024-02-15 14:29:15 +03:00
{ name = "*.conf", text = "", fg = "#6d8086" },
{ name = "*.ini" , text = "", fg = "#6d8086" },
{ name = "*.json", text = "", fg = "#cbcb41" },
{ name = "*.kdl" , text = "", fg = "#6d8086" },
{ name = "*.md" , text = "", fg = "#ffffff" },
2024-02-15 14:29:15 +03:00
{ name = "*.toml", text = "", fg = "#ffffff" },
{ name = "*.txt" , text = "", fg = "#89e051" },
2024-02-15 14:29:15 +03:00
{ name = "*.yaml", text = "", fg = "#6d8086" },
{ name = "*.yml" , text = "", fg = "#6d8086" },
# Archives
{ name = "*.7z" , text = "" },
{ name = "*.bz2", text = "" },
{ name = "*.gz" , text = "" },
{ name = "*.rar", text = "" },
{ name = "*.tar", text = "" },
{ name = "*.xz" , text = "" },
{ name = "*.zip", text = "" },
# Images
2024-02-15 14:29:15 +03:00
{ name = "*.HEIC", text = "", fg = "#a074c4" },
{ name = "*.avif", text = "", fg = "#a074c4" },
{ name = "*.bmp" , text = "", fg = "#a074c4" },
{ name = "*.gif" , text = "", fg = "#a074c4" },
{ name = "*.ico" , text = "", fg = "#cbcb41" },
{ name = "*.jpeg", text = "", fg = "#a074c4" },
{ name = "*.jpg" , text = "", fg = "#a074c4" },
{ name = "*.png" , text = "", fg = "#a074c4" },
{ name = "*.svg" , text = "", fg = "#FFB13B" },
{ name = "*.webp", text = "", fg = "#a074c4" },
# Movies
2024-02-15 14:29:15 +03:00
{ name = "*.avi" , text = "", fg = "#FD971F" },
{ name = "*.mkv" , text = "", fg = "#FD971F" },
{ name = "*.mov" , text = "", fg = "#FD971F" },
{ name = "*.mp4" , text = "", fg = "#FD971F" },
{ name = "*.webm", text = "", fg = "#FD971F" },
# Audio
2024-02-15 14:29:15 +03:00
{ name = "*.aac" , text = "", fg = "#66D8EF" },
{ name = "*.flac", text = "", fg = "#66D8EF" },
{ name = "*.m4a" , text = "", fg = "#66D8EF" },
{ name = "*.mp3" , text = "", fg = "#66D8EF" },
{ name = "*.ogg" , text = "", fg = "#66D8EF" },
{ name = "*.wav" , text = "", fg = "#66D8EF" },
# Documents
2024-02-15 14:29:15 +03:00
{ name = "*.csv" , text = "", fg = "#89e051" },
{ name = "*.doc" , text = "", fg = "#185abd" },
{ name = "*.doct", text = "", fg = "#185abd" },
{ name = "*.docx", text = "", fg = "#185abd" },
{ name = "*.dot" , text = "", fg = "#185abd" },
{ name = "*.ods" , text = "", fg = "#207245" },
{ name = "*.ots" , text = "", fg = "#207245" },
{ name = "*.pdf" , text = "", fg = "#b30b00" },
{ name = "*.pom" , text = "", fg = "#cc3e44" },
{ name = "*.pot" , text = "", fg = "#cb4a32" },
{ name = "*.potx", text = "", fg = "#cb4a32" },
{ name = "*.ppm" , text = "", fg = "#a074c4" },
{ name = "*.ppmx", text = "", fg = "#cb4a32" },
{ name = "*.pps" , text = "", fg = "#cb4a32" },
{ name = "*.ppsx", text = "", fg = "#cb4a32" },
{ name = "*.ppt" , text = "", fg = "#cb4a32" },
{ name = "*.pptx", text = "", fg = "#cb4a32" },
{ name = "*.xlc" , text = "", fg = "#207245" },
{ name = "*.xlm" , text = "", fg = "#207245" },
{ name = "*.xls" , text = "", fg = "#207245" },
{ name = "*.xlsm", text = "", fg = "#207245" },
{ name = "*.xlsx", text = "", fg = "#207245" },
{ name = "*.xlt" , text = "", fg = "#207245" },
# Lockfiles
2024-02-15 14:29:15 +03:00
{ name = "*.lock", text = "", fg = "#bbbbbb" },
# Misc
2024-02-15 14:29:15 +03:00
{ name = "*.bin", text = "", fg = "#9F0500" },
{ name = "*.exe", text = "", fg = "#9F0500" },
{ name = "*.pkg", text = "", fg = "#9F0500" },
# Dotfiles
2024-02-15 14:29:15 +03:00
{ name = ".DS_Store" , text = "", fg = "#41535b" },
{ name = ".bashprofile" , text = "", fg = "#89e051" },
{ name = ".bashrc" , text = "", fg = "#89e051" },
{ name = ".gitattributes", text = "", fg = "#41535b" },
{ name = ".gitignore" , text = "", fg = "#41535b" },
{ name = ".gitmodules" , text = "", fg = "#41535b" },
{ name = ".vimrc" , text = "", fg = "#019833" },
{ name = ".zprofile" , text = "", fg = "#89e051" },
{ name = ".zshenv" , text = "", fg = "#89e051" },
{ name = ".zshrc" , text = "", fg = "#89e051" },
# Named files
2024-02-15 14:29:15 +03:00
{ name = "COPYING" , text = "󰿃", fg = "#cbcb41" },
{ name = "Containerfile", text = "󰡨", fg = "#458ee6" },
{ name = "Dockerfile" , text = "󰡨", fg = "#458ee6" },
{ name = "LICENSE" , text = "󰿃", fg = "#d0bf41" },
# Directories
{ name = ".config/" , text = "" },
{ name = ".git/" , text = "" },
{ name = "Desktop/" , text = "" },
{ name = "Development/", text = "" },
{ name = "Documents/" , text = "" },
{ name = "Downloads/" , text = "" },
{ name = "Library/" , text = "" },
{ name = "Movies/" , text = "" },
{ name = "Music/" , text = "" },
{ name = "Pictures/" , text = "" },
{ name = "Public/" , text = "" },
{ name = "Videos/" , text = "" },
# Default
{ name = "*" , text = "" },
{ name = "*/", text = "" },
]
# : }}}