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/zh-tw/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)