预览
调色板
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 #1d2021| Color | Hex | Ratio | Level |
|---|---|---|---|
| 前景 | #ebdbb2 | 11.95:1 | AAA |
| 光标 | #ebdbb2 | 11.95:1 | AAA |
| 选区 | #928374 | 4.47:1 | AA large |
| black | #1d2021 | 1.00:1 | — |
| red | #cc241d | 3.00:1 | — |
| green | #98971a | 5.29:1 | AA |
| yellow | #d79921 | 6.61:1 | AA |
| blue | #458588 | 3.88:1 | AA large |
| magenta | #b16286 | 3.87:1 | AA large |
| cyan | #689d6a | 5.17:1 | AA |
| white | #a89984 | 5.90:1 | AA |
| brightBlack | #928374 | 4.47:1 | AA large |
| brightRed | #fb4934 | 4.77:1 | AA |
| brightGreen | #b8bb26 | 7.94:1 | AAA |
| brightYellow | #fabd2f | 9.67:1 | AAA |
| brightBlue | #83a598 | 6.09:1 | AA |
| brightMagenta | #d3869b | 5.98:1 | AA |
| brightCyan | #8ec07c | 7.79:1 | AAA |
| brightWhite | #ebdbb2 | 11.95:1 | AAA |
安装到 Herdr App
官方文档- 下载 JSON 文件。
- 放到 ~/.config/herdr-app/themes/<name>.json。
- 打开 Herdr,进入设置 → 主题,选择文件名。
- 可选:在 ~/.config/herdr-app/settings.json 里把它设为浅色或深色默认主题。
一行安装gruvbox-dark-hard-contrast.json
mkdir -p "$HOME/.config/herdr-app/themes" && curl -fsSL "https://terminalthemes.iwwi.app/ports/herdr-app/gruvbox-dark-hard-contrast.json" -o "$HOME/.config/herdr-app/themes/gruvbox-dark-hard-contrast.json" && { command -v herdr-app >/dev/null && herdr-app do app.theme --name 'gruvbox-dark-hard-contrast' || true; }
# If activation did not run, choose gruvbox-dark-hard-contrast in Herdr -> Settings -> Theme.完整配置文件
{
"background": "#1d2021",
"foreground": "#ebdbb2",
"selection": "#928374",
"cursor": "#ebdbb2",
"ansi": [
"#1d2021",
"#cc241d",
"#98971a",
"#d79921",
"#458588",
"#b16286",
"#689d6a",
"#a89984",
"#928374",
"#fb4934",
"#b8bb26",
"#fabd2f",
"#83a598",
"#d3869b",
"#8ec07c",
"#ebdbb2"
],
"colors": {
"canvas": "#141718",
"chrome": "#212526",
"surface": "#252a2b",
"popover": "#282f30",
"raised": "#2b3334",
"hover": "#2f3838",
"selected": "#343f3f",
"border": "#323c3c",
"input": "#374342",
"foreground": "#ebdbb2",
"muted": "#96a388",
"dim": "#738675",
"accent": "#458588",
"accent_foreground": "#000000",
"solid": "#2c6d70",
"solid_foreground": "#ffffff",
"selection": "#928374",
"working": "#d79921",
"blocked": "#fb4934",
"done": "#98971a",
"idle": "#96a388",
"unknown": "#738675"
}
}
下载gruvbox-dark-hard-contrast.json
让 Agent 帮我安装
把这段提示词交给编码 Agent。它会读取 Herdr App 的安装页面、备份配置并只修改这个主题需要的文件。
帮我在这台机器上安装 Gruvbox Dark Hard Contrast 的 Herdr App 主题。
先阅读安装页面:https://terminalthemes.iwwi.app/zh/herdr-app/themes/gruvbox/dark-hard-contrast/
原生配置文件:https://terminalthemes.iwwi.app/ports/herdr-app/gruvbox-dark-hard-contrast.json
请按以下步骤操作:
1. 下载 JSON 文件。
2. 放到 ~/.config/herdr-app/themes/<name>.json。
3. 打开 Herdr,进入设置 → 主题,选择文件名。
4. 可选:在 ~/.config/herdr-app/settings.json 里把它设为浅色或深色默认主题。
一行安装命令:
mkdir -p "$HOME/.config/herdr-app/themes" && curl -fsSL "https://terminalthemes.iwwi.app/ports/herdr-app/gruvbox-dark-hard-contrast.json" -o "$HOME/.config/herdr-app/themes/gruvbox-dark-hard-contrast.json" && { command -v herdr-app >/dev/null && herdr-app do app.theme --name 'gruvbox-dark-hard-contrast' || true; }
# If activation did not run, choose gruvbox-dark-hard-contrast in Herdr -> Settings -> Theme.
请先检查并备份现有配置,只修改这个主题需要的设置,不要覆盖无关配置;如果要修改默认主题,先询问我。安装后验证文件存在并告诉我改了哪些文件。FAQ
常见问题
Gruvbox Dark Hard Contrast 的 Herdr App 主题文件放在哪里?
下载 JSON 文件。 放到 ~/.config/herdr-app/themes/<name>.json。
如何在 Herdr App 中安装 Gruvbox Dark Hard Contrast?
下载本站生成的 Gruvbox Dark Hard Contrast JSON,按页面中的一行安装命令放入 Herdr App 的配置位置;完成后可选:在 ~/.config/herdr-app/settings.json 里把它设为浅色或深色默认主题。
Gruvbox Dark Hard Contrast 在 Herdr App 中会改变颜色吗?
不会。它使用背景 #1d2021、前景 #ebdbb2 和完整的 16 色 ANSI 调色板,正文对比度为 12.0:1;只改变 Herdr App 需要的文件格式。
Gruvbox Dark Hard Contrast 还能用于其他终端吗?
可以。同一份调色板可以导出到 Herdr App、Ghostty、Alacritty、Kitty、iTerm2 和 Windows Terminal;每个版本只改变安装路径和文件格式。
相似主题
相似主题
ΔE00 0.4
ΔE00 0.7
ΔE00 10.4
ΔE00 11.9