预览
调色板
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 #f6f8fa| Color | Hex | Ratio | Level |
|---|---|---|---|
| 前景 | #586069 | 5.99:1 | AA |
| 光标 | #586069 | 5.99:1 | AA |
| 选区 | #959da5 | 2.58:1 | — |
| black | #24292e | 13.78:1 | AAA |
| red | #d73a49 | 4.30:1 | AA large |
| green | #28a745 | 2.94:1 | — |
| yellow | #dbab09 | 2.00:1 | — |
| blue | #0366d6 | 5.09:1 | AA |
| magenta | #5a32a3 | 8.15:1 | AAA |
| cyan | #1b7c83 | 4.63:1 | AA |
| white | #6a737d | 4.52:1 | AA |
| brightBlack | #959da5 | 2.58:1 | — |
| brightRed | #cb2431 | 5.14:1 | AA |
| brightGreen | #22863a | 4.35:1 | AA large |
| brightYellow | #b08800 | 3.10:1 | AA large |
| brightBlue | #005cc5 | 5.91:1 | AA |
| brightMagenta | #5a32a3 | 8.15:1 | AAA |
| brightCyan | #3192aa | 3.39:1 | AA large |
| brightWhite | #d1d5da | 1.39:1 | — |
安装到 foot
官方文档- 下载 foot INI 主题。
- 保存到 ~/.config/foot/themes/<name>.ini。
- 在 ~/.config/foot/foot.ini 中加入 include=~/.config/foot/themes/<name>.ini。
- 浅色主题还需在 foot.ini 中设置 initial-color-theme=light。
一行安装github-light-legacy.ini
mkdir -p "$HOME/.config/foot/themes" && curl -fsSL "https://terminalthemes.iwwi.app/ports/foot/github-light-legacy.ini" -o "$HOME/.config/foot/themes/github-light-legacy.ini"
# Add include=~/.config/foot/themes/github-light-legacy.ini to ~/.config/foot/foot.ini; for a light theme set initial-color-theme=light.完整配置文件
[colors-light]
background=f6f8fa
foreground=586069
cursor=f6f8fa 586069
selection-foreground=000000
selection-background=959da5
regular0=24292e
regular1=d73a49
regular2=28a745
regular3=dbab09
regular4=0366d6
regular5=5a32a3
regular6=1b7c83
regular7=6a737d
bright0=959da5
bright1=cb2431
bright2=22863a
bright3=b08800
bright4=005cc5
bright5=5a32a3
bright6=3192aa
bright7=d1d5da
下载github-light-legacy.ini
让 Agent 帮我安装
把这段提示词交给编码 Agent。它会读取 foot 的安装页面、备份配置并只修改这个主题需要的文件。
帮我在这台机器上安装 GitHub Light Legacy 的 foot 主题。
先阅读安装页面:https://terminalthemes.iwwi.app/zh/foot/themes/github/light-legacy/
原生配置文件:https://terminalthemes.iwwi.app/ports/foot/github-light-legacy.ini
请按以下步骤操作:
1. 下载 foot INI 主题。
2. 保存到 ~/.config/foot/themes/<name>.ini。
3. 在 ~/.config/foot/foot.ini 中加入 include=~/.config/foot/themes/<name>.ini。
4. 浅色主题还需在 foot.ini 中设置 initial-color-theme=light。
一行安装命令:
mkdir -p "$HOME/.config/foot/themes" && curl -fsSL "https://terminalthemes.iwwi.app/ports/foot/github-light-legacy.ini" -o "$HOME/.config/foot/themes/github-light-legacy.ini"
# Add include=~/.config/foot/themes/github-light-legacy.ini to ~/.config/foot/foot.ini; for a light theme set initial-color-theme=light.
请先检查并备份现有配置,只修改这个主题需要的设置,不要覆盖无关配置;如果要修改默认主题,先询问我。安装后验证文件存在并告诉我改了哪些文件。FAQ
常见问题
GitHub Light Legacy 的 foot 主题文件放在哪里?
下载 foot INI 主题。 保存到 ~/.config/foot/themes/<name>.ini。
如何在 foot 中安装 GitHub Light Legacy?
下载本站生成的 GitHub Light Legacy foot INI theme,按页面中的一行安装命令放入 foot 的配置位置;完成后浅色主题还需在 foot.ini 中设置 initial-color-theme=light。
GitHub Light Legacy 在 foot 中会改变颜色吗?
不会。它使用背景 #f6f8fa、前景 #586069 和完整的 16 色 ANSI 调色板,正文对比度为 6.0:1;只改变 foot 需要的文件格式。
GitHub Light Legacy 还能用于其他终端吗?
可以。同一份调色板可以导出到本站支持的每个终端;每个版本只改变安装路径和文件格式。
相似主题
相似主题
ΔE00 13.3
ΔE00 13.6
ΔE00 13.7
ΔE00 14.5