Rio · gruvbox · dark · MIT

Gruvbox Dark for Rio

Gruvbox Dark 的 Rio 版本:背景 #282828,正文对比度 10.7:1,包含完整 16 色 ANSI。下载 Rio TOML 主题。 保存到 ~/.config/rio/themes/<name>.toml。 同一份调色板也可导出到其他终端。

下载主题所有终端在编辑器中打开

预览

调色板

ANSI

black
red
green
yellow
blue
magenta
cyan
white
b.Black
b.Red
b.Green
b.Yellow
b.Blue
b.Magenta
b.Cyan
b.White

基础颜色

背景
前景
光标
选区

对比度

WCAG · vs #282828
ColorHexRatioLevel
前景#ebdbb210.75:1AAA
光标#ebdbb210.75:1AAA
选区#9283744.02:1AA large
black#2828281.00:1—
red#cc241d2.69:1—
green#98971a4.76:1AA
yellow#d799215.94:1AA
blue#4585883.48:1AA large
magenta#b162863.48:1AA large
cyan#689d6a4.65:1AA
white#a899845.30:1AA
brightBlack#9283744.02:1AA large
brightRed#fb49344.29:1AA large
brightGreen#b8bb267.14:1AAA
brightYellow#fabd2f8.69:1AAA
brightBlue#83a5985.48:1AA
brightMagenta#d3869b5.37:1AA
brightCyan#8ec07c7.01:1AAA
brightWhite#ebdbb210.75:1AAA

安装到 Rio

官方文档
  1. 下载 Rio TOML 主题。
  2. 保存到 ~/.config/rio/themes/<name>.toml。
  3. 在 ~/.config/rio/config.toml 中加入 theme = "<name>"。
  4. 重启 Rio 或重新加载配置。
一行安装gruvbox-dark.toml
mkdir -p "$HOME/.config/rio/themes" && curl -fsSL "https://terminalthemes.iwwi.app/ports/rio/gruvbox-dark.toml" -o "$HOME/.config/rio/themes/gruvbox-dark.toml"
# Add theme = "gruvbox-dark" to ~/.config/rio/config.toml
下载官方文档
完整配置文件
[colors]
background = "#282828"
foreground = "#ebdbb2"
cursor = "#ebdbb2"
selection-background = "#928374"
selection-foreground = "#000000"
tabs = "#928374"
tabs-active = "#ebdbb2"
black = "#282828"
red = "#cc241d"
green = "#98971a"
yellow = "#d79921"
blue = "#458588"
magenta = "#b16286"
cyan = "#689d6a"
white = "#a89984"
light-black = "#928374"
light-red = "#fb4934"
light-green = "#b8bb26"
light-yellow = "#fabd2f"
light-blue = "#83a598"
light-magenta = "#d3869b"
light-cyan = "#8ec07c"
light-white = "#ebdbb2"
下载gruvbox-dark.toml

让 Agent 帮我安装

把这段提示词交给编码 Agent。它会读取 Rio 的安装页面、备份配置并只修改这个主题需要的文件。

帮我在这台机器上安装 Gruvbox Dark 的 Rio 主题。

先阅读安装页面:https://terminalthemes.iwwi.app/zh/rio/themes/gruvbox/dark/
原生配置文件:https://terminalthemes.iwwi.app/ports/rio/gruvbox-dark.toml

请按以下步骤操作:
1. 下载 Rio TOML 主题。
2. 保存到 ~/.config/rio/themes/<name>.toml。
3. 在 ~/.config/rio/config.toml 中加入 theme = "<name>"。
4. 重启 Rio 或重新加载配置。

一行安装命令:
mkdir -p "$HOME/.config/rio/themes" && curl -fsSL "https://terminalthemes.iwwi.app/ports/rio/gruvbox-dark.toml" -o "$HOME/.config/rio/themes/gruvbox-dark.toml"
# Add theme = "gruvbox-dark" to ~/.config/rio/config.toml

请先检查并备份现有配置,只修改这个主题需要的设置,不要覆盖无关配置;如果要修改默认主题,先询问我。安装后验证文件存在并告诉我改了哪些文件。

FAQ

常见问题

Gruvbox Dark 的 Rio 主题文件放在哪里?

下载 Rio TOML 主题。 保存到 ~/.config/rio/themes/<name>.toml。

如何在 Rio 中安装 Gruvbox Dark?

下载本站生成的 Gruvbox Dark Rio TOML theme,按页面中的一行安装命令放入 Rio 的配置位置;完成后重启 Rio 或重新加载配置。

Gruvbox Dark 在 Rio 中会改变颜色吗?

不会。它使用背景 #282828、前景 #ebdbb2 和完整的 16 色 ANSI 调色板,正文对比度为 10.7:1;只改变 Rio 需要的文件格式。

Gruvbox Dark 还能用于其他终端吗?

可以。同一份调色板可以导出到本站支持的每个终端;每个版本只改变安装路径和文件格式。