主题
Varin 支持内置主题和自定义主题 JSON 文件。
添加自定义主题
Section titled “添加自定义主题”- 创建主题目录:
# Linux (default data directory)mkdir -p "${XDG_CONFIG_HOME:-$HOME/.config}/varin/themes"- 将你的 JSON 文件添加到该目录(例如
my-theme.json)。 - 打开 Varin,然后前往 Settings → Appearance → Reload themes。
- 从下拉菜单中选择你的主题。它会立即生效。
- Linux:
$XDG_CONFIG_HOME/varin/themes/(~/.config/varin/themes/) - macOS:
~/Library/Application Support/Varin/themes/ - Windows:
%APPDATA%/Varin/themes/ VARIN_DATA_DIR:$VARIN_DATA_DIR/themes/
完整 JSON 格式参考
Section titled “完整 JSON 格式参考”请使用主仓库文档中的完整格式指南: