theme.toml
tip
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