One Dark Two
One Dark Two 是一套深色终端配色(冷色),背景色 #21252b,文字色 #e6e6e6,对比度 12.3:1
- 背景色
- #21252b
- 前景色
- #e6e6e6
- 文字对比度
- 12.33:1AAA
- 强调色对比度
- 7.60:1最低 5.31
zsh — ls & git status
zsh — ls & git status
zsh — ls & git status
zsh — ls & git status
zsh — ls & git status — Konsole
One Dark Two 的配置文件
16 种格式,都从同一份色板生成
One Dark Two
存到 ~/.config/ghostty/themes/One Dark Two,再在 config 或 config.ghostty 里写 theme = One Dark Two
# Theme: One Dark Two (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/schemes/one-dark-two?format=ghostty
palette = 0=#1d1f23
palette = 1=#e27881
palette = 2=#98c379
palette = 3=#eac786
palette = 4=#71b9f4
palette = 5=#c88bda
palette = 6=#62bac6
palette = 7=#c9ccd3
palette = 8=#4a505a
palette = 9=#e68991
palette = 10=#a8cc8e
palette = 11=#edcf97
palette = 12=#8dc7f6
palette = 13=#d3a2e2
palette = 14=#78c4ce
palette = 15=#e6e6e6
background = #21252b
foreground = #e6e6e6
cursor-color = #e6e6e6
cursor-text = #1d1f23
selection-background = #393e47
selection-foreground = #e6e6e6
One Dark Two 色板
关于 One Dark Two
One Dark Two 采用冷色调的深色背景(#21252b),默认前景色为 #e6e6e6。正文的 WCAG 对比度为 12.33:1(AAA),12 种 ANSI 彩色槽位平均对比度 7.60:1,最低 5.31:1。
色板整体色彩饱和度适中,其中红色为 #e27881、绿色为 #98c379、蓝色为 #71b9f4、品红为 #c88bda。该配色归属 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 Two 相似的配色
数据来源:iTerm2 Color Schemes (MIT)