跳到主要內容

Dark+

Dark+ 是一套深色終端機配色(鮮豔),背景色 #1e1e1e,文字色 #cccccc,對比度 10.4:1

取得設定檔
背景色
#1e1e1e
前景色
#cccccc
文字對比度
10.38:1AAA
強調色對比度
6.70:1最低 3.24
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
❯

Dark+ 的設定檔

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

Dark+

存到 ~/.config/ghostty/themes/Dark+,再在 config 或 config.ghostty 裡寫 theme = Dark+

更多 Ghostty 配色
原始檔
# Theme: Dark+ (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-tw/schemes/dark-plus?format=ghostty

palette = 0=#000000
palette = 1=#cd3131
palette = 2=#0dbc79
palette = 3=#e5e510
palette = 4=#2472c8
palette = 5=#bc3fbc
palette = 6=#11a8cd
palette = 7=#e5e5e5
palette = 8=#666666
palette = 9=#f14c4c
palette = 10=#23d18b
palette = 11=#f5f543
palette = 12=#3b8eea
palette = 13=#d670d6
palette = 14=#29b8db
palette = 15=#e5e5e5
background = #1e1e1e
foreground = #cccccc
cursor-color = #ffffff
cursor-text = #000000
selection-background = #3a3d41
selection-foreground = #e0e0e0

Dark+ 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#1e1e1ergb(30 30 30)hsl(0 0% 12%)oklch(23.5% 0.000 0)—
前景色foreground#ccccccrgb(204 204 204)hsl(0 0% 80%)oklch(84.5% 0.000 0)10.38 AAA
游標cursor#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)16.67 AAA
游標文字cursorText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.26 低於 AA
選取範圍selection#3a3d41rgb(58 61 65)hsl(214 6% 24%)oklch(35.9% 0.008 255.5)1.53 低於 AA
選取文字selectionText#e0e0e0rgb(224 224 224)hsl(0 0% 88%)oklch(90.7% 0.000 0)12.63 AAA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.26 低於 AA
紅color1#cd3131rgb(205 49 49)hsl(0 61% 50%)oklch(55.9% 0.193 26.1)3.24 AA 大字級
綠color2#0dbc79rgb(13 188 121)hsl(157 87% 39%)oklch(70.2% 0.160 158.8)6.74 AA
黃color3#e5e510rgb(229 229 16)hsl(60 87% 48%)oklch(89.3% 0.193 109.7)12.34 AAA
藍color4#2472c8rgb(36 114 200)hsl(211 69% 46%)oklch(55.1% 0.153 254.2)3.43 AA 大字級
洋紅color5#bc3fbcrgb(188 63 188)hsl(300 50% 49%)oklch(59.1% 0.213 327.9)3.63 AA 大字級
青color6#11a8cdrgb(17 168 205)hsl(192 85% 44%)oklch(67.8% 0.122 221.4)5.96 AA
白color7#e5e5e5rgb(229 229 229)hsl(0 0% 90%)oklch(92.2% 0.000 0)13.23 AAA
亮黑color8#666666rgb(102 102 102)hsl(0 0% 40%)oklch(51.0% 0.000 0)2.90 低於 AA
亮紅color9#f14c4crgb(241 76 76)hsl(0 85% 62%)oklch(64.9% 0.202 24.7)4.67 AA
亮綠color10#23d18brgb(35 209 139)hsl(156 71% 48%)oklch(76.2% 0.167 159.5)8.39 AAA
亮黃color11#f5f543rgb(245 245 67)hsl(60 90% 61%)oklch(94.1% 0.186 109.5)14.31 AAA
亮藍color12#3b8eeargb(59 142 234)hsl(212 81% 57%)oklch(64.1% 0.160 253.5)4.96 AA
亮洋紅color13#d670d6rgb(214 112 214)hsl(300 55% 64%)oklch(69.7% 0.179 327.3)5.67 AA
亮青color14#29b8dbrgb(41 184 219)hsl(192 71% 51%)oklch(72.6% 0.123 219.3)7.12 AAA
亮白color15#e5e5e5rgb(229 229 229)hsl(0 0% 90%)oklch(92.2% 0.000 0)13.23 AAA

關於 Dark+

Dark+ 採用中性色調的深色背景(#1e1e1e),預設前景色為 #cccccc。內文的 WCAG 對比度為 10.38:1(AAA),12 種 ANSI 彩色槽位平均對比度 6.70:1,最低 3.24:1。

色票整體色彩彩度較高,其中紅色為 #cd3131、綠色為 #0dbc79、藍色為 #2472c8、洋紅為 #bc3fbc。

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

此色票在上游儲存庫中也曾以 Dark Plus、Vscode 的名稱發布

與 Dark+ 相似的配色

資料來源:iTerm2 Color Schemes (MIT)