- 背景色
- #1e2127
- 前景色
- #5c6370
- 文字对比度
- 2.67:1低于 AA
- 强调色对比度
- 6.45:1最低 5.05
zsh — ls & git status
zsh — ls & git status
zsh — ls & git status
zsh — ls & git status
zsh — ls & git status — Konsole
One Dark 的配置文件
16 种格式,都从同一份色板生成
One Dark
存到 ~/.config/ghostty/themes/One Dark,再在 config 或 config.ghostty 里写 theme = One Dark
# Theme: One Dark (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/schemes/one-dark?format=ghostty
palette = 0=#000000
palette = 1=#e06c75
palette = 2=#98c379
palette = 3=#d19a66
palette = 4=#61afef
palette = 5=#c678dd
palette = 6=#56b6c2
palette = 7=#abb2bf
palette = 8=#5c6370
palette = 9=#e06c75
palette = 10=#98c379
palette = 11=#d19a66
palette = 12=#61afef
palette = 13=#c678dd
palette = 14=#56b6c2
palette = 15=#fffefe
background = #1e2127
foreground = #5c6370
cursor-color = #5c6370
cursor-text = #1e2127
selection-background = #2c3038
selection-foreground = #5c6370
One Dark 色板
关于 One Dark
One Dark 采用冷色调的深色背景(#1e2127),默认前景色为 #5c6370。正文的 WCAG 对比度为 2.67:1(低于 AA),12 种 ANSI 彩色槽位平均对比度 6.45:1,最低 5.05:1。
色板整体色彩饱和度适中,其中红色为 #e06c75、绿色为 #98c379、蓝色为 #61afef、品红为 #c678dd。该配色归属 One Dark & One Light 主题系列。
支持一键导出 Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 终端配置文件,同时提供 VS Code 与 Zed 集成终端、CSS 变量、Tailwind CSS 及 JSON 色板格式。
与 One Dark 相似的配色
数据来源:Gogh (MIT OR Apache-2.0)