Skip to content

Latest commit

 

History

History
71 lines (47 loc) · 2.1 KB

README.md

File metadata and controls

71 lines (47 loc) · 2.1 KB

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