theme.toml
If you're looking for ready-made themes and don't want to create one yourself, check out the yazi-rs/flavors repository.
Types
Color
A color. It can be in Hex format with RGB values, such as "#484D66". Or can be one of the following 17 values:
"reset""black""white""red""lightred""green""lightgreen""yellow""lightyellow""blue""lightblue""magenta""lightmagenta""cyan""lightcyan""gray""darkgray"
Style
Appears in a format similar to { fg = "#e4e4e4", bg = "black", ... }, and supports the following properties:
- fg (Color): Foreground color
- bg (Color): Background color
- bold (Boolean): Bold
- dim (Boolean): Dim (not supported by all terminals)
- italic (Boolean): Italic
- underline (Boolean): Underline
- blink (Boolean): Blink
- blink_rapid (Boolean): Rapid blink
- reversed (Boolean): Reversed foreground and background colors
- hidden (Boolean): Hidden
- crossed (Boolean): Crossed out
[flavor]
See flavor documentation for more details.
dark
Flavor name used in dark mode, e.g. "dracula".
| Type | string |
light
Flavor name used in light mode, e.g. "gruvbox".
| Type | string |
[app]
overall
The app's overall style.
Only the bg property is available to set the terminal background color, which requires your terminal to support OSC 11, for example:
overall = { bg = "#1e1e2e" }
| Type | Style |
[mgr]
cwd
CWD text style.
| Type | Style |
find_keyword
Style of the highlighted portion in the filename.
| Type | Style |
find_position
Style of current file location in all found files to the right of the filename.
| Type | Style |
symlink_target
Style for the path that a symbolic link points to, e.g., the -> /path/to/target part in my_symbolic_file -> /path/to/target.
| Type | Style |
marker_copied
Copied file marker style.
| Type | Style |
marker_cut
Cut file marker style.
| Type | Style |
marker_marked
Marker style of pre-selected file in visual mode.
| Type | Style |
marker_selected
Selected file marker style.
| Type | Style |
count_copied
Style of copied file number.
| Type | Style |
count_cut
Style of cut file number.
| Type | Style |
count_selected
Style of selected file number.
| Type | Style |
border_symbol
Border symbol, e.g. "│".
| Type | string |
border_style
Border style.
| Type | Style |
syntect_theme
Code preview highlighting themes, which are paths to .tmTheme files. You can find them on GitHub using "tmTheme" as a keyword
For example, "~/Downloads/Dracula.tmTheme", not available after using a flavor, as flavors always use their own tmTheme files tmtheme.xml.
| Type | string |
[indicator]
parent
Indicator bar style, in the parent pane.
| Type | Style |
current
Indicator bar style, in the current pane.
| Type | Style |
preview
Indicator bar style, in the preview pane.
| Type | Style |
padding
Padding around indicator bar, e.g. { open = "▐", close = "▌" }, which makes a square indicator.
| Type | { open: string, close: string } |
[tabs]
Explanation of active and inactive

active
Active tab style.
| Type | Style |
inactive
Inactive tab style.
| Type | Style |
sep_inner
Inner separator symbol, e.g. { open = "[", close = "]" }.
| Type | { open: string, close: string } |
sep_outer
Outer separator symbol, e.g. { open = "", close = "" }.
| Type | { open: string, close: string } |
[mode]
normal_main
Normal mode main style.
| Type | Style |
normal_alt
Normal mode alternative style.
| Type | Style |
select_main
Select mode main style.
| Type | Style |
select_alt
Select mode alternative style.
| Type | Style |
unset_main
Unset mode main style.
| Type | Style |
unset_alt
Unset mode alternative style.
| Type | Style |
[status]
Explanation of sep_left and sep_right

overall
Overall status bar style.
| Type | Style |
sep_left
Left separator symbol, e.g. { open = "", close = "]" }.
| Type | { open: string, close: string } |
sep_right
Right separator symbol, e.g. { open = "[", close = "" }.
| Type | { open: string, close: string } |
perm_type
Style of the file type symbol, such as d for directory, - for file, l for symlink, etc.
| Type | Style |
perm_read
Style of the read permission symbol (r).
| Type | Style |
perm_write
Style of the write permission symbol (w).
| Type | Style |
perm_exec
Style of the execute permission symbol (x).
| Type | Style |
perm_sep
Style of the permission separator symbol (-).
| Type | Style |
progress_label
Progress label style.
| Type | Style |
progress_normal
Style of the progress bar when it is not in an error state.
| Type | Style |
progress_error
Style of the progress bar when an error occurs.
| Type | Style |
[which]
border
Border style.
| Type | Style |
cols
Number of columns.
| Type | 1 | 2 | 3 |
mask
Mask style.
| Type | Style |
cand
Candidate key style.
| Type | Style |
rest
Rest key style.
| Type | Style |
desc
Description style.
| Type | Style |
separator
Separator symbol, e.g. " -> ".
| Type | string |
separator_style
Separator style.
| Type | Style |