.dotfiles/yazi/theme.toml

318 lines
7.9 KiB
TOML
Raw Normal View History

2024-02-08 23:49:17 +00:00
# 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
# : Manager {{{
[manager]
cwd = { fg = "cyan" }
# Hovered
hovered = { fg = "black", bg = "lightblue" }
preview_hovered = { underline = true }
# Find
find_keyword = { fg = "yellow", italic = true }
find_position = { fg = "magenta", bg = "reset", italic = true }
# Marker
marker_selected = { fg = "lightgreen", bg = "lightgreen" }
marker_copied = { fg = "lightyellow", bg = "lightyellow" }
marker_cut = { fg = "lightred", bg = "lightred" }
# Tab
tab_active = { fg = "black", bg = "lightblue" }
tab_inactive = { fg = "white", bg = "darkgray" }
tab_width = 1
# Border
border_symbol = "│"
border_style = { fg = "gray" }
# Highlighting
syntect_theme = ""
# : }}}
# : Status {{{
[status]
separator_open = ""
separator_close = ""
separator_style = { fg = "darkgray", bg = "darkgray" }
# Mode
mode_normal = { fg = "black", bg = "lightblue", bold = true }
mode_select = { fg = "black", bg = "lightgreen", bold = true }
mode_unset = { fg = "black", bg = "lightmagenta", bold = true }
# Progress
progress_label = { bold = true }
progress_normal = { fg = "blue", bg = "black" }
progress_error = { fg = "red", bg = "black" }
# Permissions
permissions_t = { fg = "lightgreen" }
permissions_r = { fg = "lightyellow" }
permissions_w = { fg = "lightred" }
permissions_x = { fg = "lightcyan" }
permissions_s = { fg = "darkgray" }
# : }}}
# : Select {{{
[select]
border = { fg = "blue" }
active = { fg = "magenta" }
inactive = {}
# : }}}
# : Input {{{
[input]
border = { fg = "blue" }
title = {}
value = {}
selected = { reversed = true }
# : }}}
# : Completion {{{
[completion]
border = { fg = "blue" }
active = { bg = "darkgray" }
inactive = {}
# Icons
icon_file = ""
icon_folder = ""
icon_command = ""
# : }}}
# : Tasks {{{
[tasks]
border = { fg = "blue" }
title = {}
hovered = { underline = true }
# : }}}
# : Which {{{
[which]
cols = 3
mask = { bg = "black" }
cand = { fg = "lightcyan" }
rest = { fg = "darkgray" }
desc = { fg = "magenta" }
separator = "  "
separator_style = { fg = "darkgray" }
# : }}}
# : Help {{{
[help]
on = { fg = "magenta" }
exec = { fg = "cyan" }
desc = { fg = "gray" }
hovered = { bg = "darkgray", bold = true }
footer = { fg = "black", bg = "white" }
# : }}}
# : File-specific styles {{{
[filetype]
rules = [
# Images
{ mime = "image/*", fg = "cyan" },
# Videos
{ mime = "video/*", fg = "yellow" },
{ mime = "audio/*", fg = "yellow" },
# Archives
{ mime = "application/zip", fg = "magenta" },
{ mime = "application/gzip", fg = "magenta" },
{ mime = "application/x-tar", fg = "magenta" },
{ mime = "application/x-bzip", fg = "magenta" },
{ mime = "application/x-bzip2", fg = "magenta" },
{ mime = "application/x-7z-compressed", fg = "magenta" },
{ mime = "application/x-rar", fg = "magenta" },
{ mime = "application/xz", fg = "magenta" },
# Documents
{ mime = "application/doc", fg = "green" },
{ mime = "application/pdf", fg = "green" },
{ mime = "application/rtf", fg = "green" },
{ mime = "application/vnd.*", fg = "green" },
# Fallback
# { name = "*", fg = "white" },
{ name = "*/", fg = "blue" }
]
[icon]
rules = [
# Programming
{ name = "*.c" , text = "" },
{ name = "*.cpp" , text = "" },
{ name = "*.css" , text = "" },
{ name = "*.fish" , text = "" },
{ name = "*.go" , text = "" },
{ name = "*.h" , text = "" },
{ name = "*.hpp" , text = "" },
{ name = "*.html" , text = "" },
{ name = "*.java" , text = "" },
{ name = "*.js" , text = "" },
{ name = "*.jsx" , text = "" },
{ name = "*.lua" , text = "" },
{ name = "*.nix" , text = "" },
{ name = "*.php" , text = "" },
{ name = "*.py" , text = "" },
{ name = "*.rb" , text = "" },
{ name = "*.rs" , text = "" },
{ name = "*.scss" , text = "" },
{ name = "*.sh" , text = "" },
{ name = "*.swift", text = "" },
{ name = "*.ts" , text = "" },
{ name = "*.tsx" , text = "" },
{ name = "*.vim" , text = "" },
{ name = "*.vue" , text = "󰡄" },
# Text
{ name = "*.conf", text = "" },
{ name = "*.ini" , text = "" },
{ name = "*.json", text = "" },
{ name = "*.md" , text = "" },
{ name = "*.toml", text = "" },
{ name = "*.txt", text = "" },
{ name = "*.yaml", text = "" },
{ name = "*.yml" , text = "" },
# Archives
{ name = "*.7z" , text = "" },
{ name = "*.bz2", text = "" },
{ name = "*.gz" , text = "" },
{ name = "*.rar", text = "" },
{ name = "*.tar", text = "" },
{ name = "*.xz" , text = "" },
{ name = "*.zip", text = "" },
# Images
{ name = "*.HEIC", text = "" },
{ name = "*.avif", text = "" },
{ name = "*.bmp" , text = "" },
{ name = "*.gif" , text = "" },
{ name = "*.ico" , text = "" },
{ name = "*.jpeg", text = "" },
{ name = "*.jpg" , text = "" },
{ name = "*.png" , text = "" },
{ name = "*.svg" , text = "" },
{ name = "*.webp", text = "" },
# Movies
{ name = "*.avi" , text = "" },
{ name = "*.mkv" , text = "" },
{ name = "*.mov" , text = "" },
{ name = "*.mp4" , text = "" },
{ name = "*.webm", text = "" },
# Audio
{ name = "*.aac" , text = "" },
{ name = "*.flac", text = "" },
{ name = "*.m4a" , text = "" },
{ name = "*.mp3" , text = "" },
{ name = "*.ogg" , text = "" },
{ name = "*.wav" , text = "" },
# Documents
{ name = "*.csv" , text = "" },
{ name = "*.doc" , text = "" },
{ name = "*.doct", text = "" },
{ name = "*.docx", text = "" },
{ name = "*.dot" , text = "" },
{ name = "*.ods" , text = "" },
{ name = "*.ots" , text = "" },
{ name = "*.pdf" , text = "" },
{ name = "*.pom" , text = "" },
{ name = "*.pot" , text = "" },
{ name = "*.potx", text = "" },
{ name = "*.ppm" , text = "" },
{ name = "*.ppmx", text = "" },
{ name = "*.pps" , text = "" },
{ name = "*.ppsx", text = "" },
{ name = "*.ppt" , text = "" },
{ name = "*.pptx", text = "" },
{ name = "*.xlc" , text = "" },
{ name = "*.xlm" , text = "" },
{ name = "*.xls" , text = "" },
{ name = "*.xlsm", text = "" },
{ name = "*.xlsx", text = "" },
{ name = "*.xlt" , text = "" },
# Lockfiles
{ name = "*.lock", text = "" },
# Misc
{ name = "*.bin", text = "" },
{ name = "*.exe", text = "" },
{ name = "*.pkg", text = "" },
# Dotfiles
{ name = ".DS_Store" , text = "" },
{ name = ".bashprofile" , text = "" },
{ name = ".bashrc" , text = "" },
{ name = ".gitattributes", text = "" },
{ name = ".gitignore" , text = "" },
{ name = ".gitmodules" , text = "" },
{ name = ".vimrc" , text = "" },
{ name = ".zprofile" , text = "" },
{ name = ".zshenv" , text = "" },
{ name = ".zshrc" , text = "" },
# Named files
{ name = "COPYING" , text = "󰿃" },
{ name = "Containerfile", text = "󰡨" },
{ name = "Dockerfile" , text = "󰡨" },
{ name = "LICENSE" , text = "󰿃" },
# 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 = "" },
]
# : }}}