An open API service indexing awesome lists of open source software.

https://github.com/956mb/vscode.yazi

yazi flavors inspired by the default themes (dark/light) in Visual Studio Code, and Mofiqul/vscode.nvim
https://github.com/956mb/vscode.yazi

dark-theme terminal theme vscode vscode-theme yazi yazi-flavor

Last synced: 5 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# vscode.yazi

[yazi](https://github.com/sxyazi/yazi) flavors (themes) matching the [Visual Studio Code](https://code.visualstudio.com/) default colors. Matches well with [vscode.nvim](https://github.com/Mofiqul/vscode.nvim)

![vscode-dark-modern](./img/preview.png)

_Screenshots can be found in `themes//img/*`_

- [Themes](./themes/)
- [vscode-dark-modern](./themes/vscode-dark-modern.yazi/)
- [vscode-dark-plus](./themes/vscode-dark-plus.yazi/)
- [vscode-light-modern](./themes/vscode-light-modern.yazi/)
- [vscode-light-plus](./themes/vscode-light-plus.yazi/)

## Installation

1. Clone this repository:

```bash
git clone https://github.com/956MB/vscode.yazi.git
```

2. Backup your current `theme.toml`:

```bash
cp ~/.config/yazi/theme.toml ~/.config/yazi/theme-backup.toml
```

3. Copy your desired flavor to the yazi `flavors` directory (create it if it doesn't exist):

```bash
cp -r vscode.yazi/themes/vscode-dark-modern.yazi ~/.config/yazi/flavors/
```

4. Update your Yazi configuration to use the new theme. In your `~/.config/yazi/theme.toml` file, add or modify the following lines:

```toml
[flavor]
dark = "vscode-dark-modern"
light = "vscode-light-modern"
```

>[!NOTE]
> Alternatively, you can copy `/flavor.toml` and `/tmtheme.xml` to your `~/.config/yazi` directory, then rename them to `theme.toml` & `.tmTheme` (maybe also `.xml` too, not sure).
>
> ```toml
> # Then update the `syntect_theme` line in `theme.toml` to match:
> # (this will make sure file previews have correct syntax highlighting)
> syntect_theme = ".tmTheme"
> ```

## TODO

- [ ] High contrast themes (dark/light)

## Contributing

Feel free to open an [issue](https://github.com/956MB/vscode.yazi/issues) or [PR](https://github.com/956MB/vscode.yazi/pulls) if you have any suggestions or notice any issues with the colors.

## Shoutout

- [sxyazi/yazi](https://github.com/sxyazi/yazi) Terminal file manager
- [microsoft/vscode](https://github.com/microsoft/vscode) Visual Studio Code
- [Mofiqul/vscode.nvim](https://github.com/Mofiqul/vscode.nvim) Neovim colorscheme author

## License

[MIT LICENSE](./LICENSE)