Skip to content

Yazi flavors inspired by the default themes (dark/light) in Visual Studio Code, and Mofiqul/vscode.nvim

License

Notifications You must be signed in to change notification settings

956MB/vscode.yazi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vscode.yazi

yazi flavors (themes) matching the Visual Studio Code default colors. Matches well with vscode.nvim

vscode-dark-modern

Screenshots can be found in themes/<theme>/img/*

Installation

  1. Clone this repository:
git clone https://github.com/956MB/vscode.yazi.git
  1. Backup your current theme.toml:
cp ~/.config/yazi/theme.toml ~/.config/yazi/theme-backup.toml
  1. Copy your desired flavor to the yazi flavors directory (create it if it doesn't exist):
cp -r vscode.yazi/themes/vscode-dark-modern.yazi ~/.config/yazi/flavors/
  1. Update your Yazi configuration to use the new theme. In your ~/.config/yazi/theme.toml file, add or modify the following lines:
[flavor]
use = "vscode-dark-modern"

Note

Alternatively, you can copy <theme>/flavor.toml and <theme>/tmtheme.xml to your ~/.config/yazi directory, then rename them to theme.toml & <name>.tmTheme (maybe also .xml too, not sure).

# Then update the `syntect_theme` line in `theme.toml` to match:
# (this will make sure file previews have correct syntax highlighting)
syntect_theme = "<name>.tmTheme"

TODO

  • High contrast themes (dark/light)

Contributing

Feel free to open an issue or PR if you have any suggestions or notice any issues with the colors.

Shoutout

License

MIT LICENSE

About

Yazi flavors inspired by the default themes (dark/light) in Visual Studio Code, and Mofiqul/vscode.nvim

Topics

Resources

License

Stars

Watchers

Forks