跳到主要內容

Eclipse

Eclipse 是一套深色終端機配色(粉彩),背景色 #0e1116,文字色 #dce3ed,對比度 14.6:1

取得設定檔
背景色
#0e1116
前景色
#dce3ed
文字對比度
14.64:1AAA
強調色對比度
10.79:1最低 6.51
zsh — ls & git status
zsh — ls & git status
zsh — ls & git status
zsh — ls & git status
zsh — ls & git status — Konsole
~/dev/tintdex on main [!?] via ⬢ v1.4.3
❯ ls -la
drwxr-xr-x 12 ada staff 384 Oct 30 09:12 .
drwxr-xr-x 8 ada staff 256 Oct 29 18:40 ..
-rw-r--r-- 1 ada staff 1.2K Oct 30 09:10 .gitignore
drwxr-xr-x 5 ada staff 160 Oct 30 09:12 src
drwxr-xr-x 3 ada staff 96 Oct 28 11:02 public
-rwxr-xr-x 1 ada staff 2.4K Oct 30 08:57 build.sh
-rw-r--r-- 1 ada staff 4.1K Oct 30 09:01 package.json
lrwxr-xr-x 1 ada staff 18 Oct 27 14:33 node_modules -> ../cache/modules
-rw-r--r-- 1 ada staff 48K Oct 26 10:15 logo.png
-rw-r--r-- 1 ada staff 9.8M Oct 25 21:47 backup.tar.gz
~/dev/tintdex on main [!?] via ⬢ v1.4.3
❯ git status
On branch main
Your branch is ahead of 'origin/main' by 2 commits.
Changes to be committed:
new file: src/theme.css
modified: README.md
Changes not staged for commit:
modified: src/app.tsx
deleted: legacy/colors.js
Untracked files:
notes.md
~/dev/tintdex on main [!?] via ⬢ v1.4.3
❯

Eclipse 的設定檔

16 種格式,都從同一份色板產生

Eclipse

存到 ~/.config/ghostty/themes/Eclipse,再在 config 或 config.ghostty 裏寫 theme = Eclipse

更多 Ghostty 配色
原始檔案
# Theme: Eclipse (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-hk/schemes/eclipse?format=ghostty

palette = 0=#0a0d12
palette = 1=#ff6366
palette = 2=#85df5e
palette = 3=#f1c655
palette = 4=#5fb9ff
palette = 5=#cea5ff
palette = 6=#3addc4
palette = 7=#b7c0ce
palette = 8=#5c6675
palette = 9=#ff8688
palette = 10=#a0ec7e
palette = 11=#fad77c
palette = 12=#84ccff
palette = 13=#ddbfff
palette = 14=#68ead3
palette = 15=#f4f8fd
background = #0e1116
foreground = #dce3ed
cursor-color = #f6c45f
cursor-text = #0e1116
selection-background = #25324a
selection-foreground = #5a5e62

Eclipse 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#0e1116rgb(14 17 22)hsl(218 22% 7%)oklch(17.7% 0.011 260.6)—
前景色foreground#dce3edrgb(220 227 237)hsl(215 32% 90%)oklch(91.3% 0.016 257.2)14.64 AAA
光標cursor#f6c45frgb(246 196 95)hsl(40 89% 67%)oklch(84.6% 0.131 82.8)11.69 AAA
光標文字cursorText#0e1116rgb(14 17 22)hsl(218 22% 7%)oklch(17.7% 0.011 260.6)1.00 低於 AA
選取範圍selection#25324argb(37 50 74)hsl(219 33% 22%)oklch(31.7% 0.047 262.2)1.47 低於 AA
選取文字selectionText#5a5e62rgb(90 94 98)hsl(210 4% 37%)oklch(48.0% 0.008 248.0)2.89 低於 AA
黑color0#0a0d12rgb(10 13 18)hsl(218 29% 5%)oklch(15.8% 0.012 260.6)1.03 低於 AA
紅color1#ff6366rgb(255 99 102)hsl(359 100% 69%)oklch(70.1% 0.190 22.3)6.51 AA
綠color2#85df5ergb(133 223 94)hsl(102 67% 62%)oklch(82.0% 0.187 137.3)11.45 AAA
黃color3#f1c655rgb(241 198 85)hsl(43 85% 64%)oklch(84.4% 0.138 88.1)11.66 AAA
藍color4#5fb9ffrgb(95 185 255)hsl(206 100% 69%)oklch(75.9% 0.133 244.4)8.89 AAA
洋紅color5#cea5ffrgb(206 165 255)hsl(267 100% 82%)oklch(79.2% 0.131 304.5)9.41 AAA
青color6#3addc4rgb(58 221 196)hsl(171 71% 55%)oklch(81.0% 0.135 179.9)11.09 AAA
白color7#b7c0cergb(183 192 206)hsl(217 19% 76%)oklch(80.5% 0.022 259.2)10.31 AAA
亮黑color8#5c6675rgb(92 102 117)hsl(216 12% 41%)oklch(50.7% 0.027 258.4)3.25 AA 大字體
亮紅color9#ff8688rgb(255 134 136)hsl(359 100% 76%)oklch(75.5% 0.147 20.1)8.12 AAA
亮綠color10#a0ec7ergb(160 236 126)hsl(101 74% 71%)oklch(86.9% 0.162 136.7)13.32 AAA
亮黃color11#fad77crgb(250 215 124)hsl(43 93% 73%)oklch(89.0% 0.117 88.9)13.58 AAA
亮藍color12#84ccffrgb(132 204 255)hsl(205 100% 76%)oklch(81.7% 0.102 240.5)10.86 AAA
亮洋紅color13#ddbfffrgb(221 191 255)hsl(268 100% 87%)oklch(85.1% 0.093 305.9)11.68 AAA
亮青color14#68ead3rgb(104 234 211)hsl(169 76% 66%)oklch(85.8% 0.120 179.9)12.88 AAA
亮白color15#f4f8fdrgb(244 248 253)hsl(213 69% 97%)oklch(97.8% 0.008 253.9)17.73 AAA

關於 Eclipse

Eclipse 採用中性色調的深色背景(#0e1116),預設前景色為 #dce3ed。正文的 WCAG 對比度為 14.64:1(AAA),12 種 ANSI 彩色槽位平均對比度 10.79:1,最低 6.51:1。

色板整體色彩飽和度適中,其中紅色為 #ff6366、綠色為 #85df5e、藍色為 #5fb9ff、洋紅為 #cea5ff。

支援一鍵匯出 Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 終端機設定檔,同時提供 VS Code 與 Zed 整合終端機、CSS 變數、Tailwind CSS 及 JSON 色板格式。

與 Eclipse 相似的配色

資料來源:iTerm2 Color Schemes (MIT)