跳到主要內容

Apple Dark

Apple Dark 是一套深色終端機配色(鮮艷),背景色 #1c1c1e,文字色 #fafafa,對比度 16.3:1

取得設定檔
背景色
#1c1c1e
前景色
#fafafa
文字對比度
16.30:1AAA
強調色對比度
7.15:1最低 4.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
❯

Apple Dark 的設定檔

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

Apple Dark

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

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

palette = 0=#1c1c1e
palette = 1=#ff453a
palette = 2=#30d158
palette = 3=#ffd60a
palette = 4=#0a84ff
palette = 5=#ff37f2
palette = 6=#64d2ff
palette = 7=#f2f2f7
palette = 8=#1c1c1e
palette = 9=#ff3b30
palette = 10=#34c759
palette = 11=#ffcc00
palette = 12=#007aff
palette = 13=#ff2dde
palette = 14=#32ade6
palette = 15=#f2f2f7
background = #1c1c1e
foreground = #fafafa
cursor-color = #ff9f0a
cursor-text = #1c1c1e
selection-background = #4c4c4e
selection-foreground = #fafafa

Apple Dark 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#1c1c1ergb(28 28 30)hsl(240 3% 11%)oklch(22.7% 0.004 286.1)—
前景色foreground#fafafargb(250 250 250)hsl(0 0% 98%)oklch(98.5% 0.000 0)16.30 AAA
光標cursor#ff9f0argb(255 159 10)hsl(36 100% 52%)oklch(78.2% 0.171 67.2)8.28 AAA
光標文字cursorText#1c1c1ergb(28 28 30)hsl(240 3% 11%)oklch(22.7% 0.004 286.1)1.00 低於 AA
選取範圍selection#4c4c4ergb(76 76 78)hsl(240 1% 30%)oklch(41.7% 0.003 286.3)1.99 低於 AA
選取文字selectionText#fafafargb(250 250 250)hsl(0 0% 98%)oklch(98.5% 0.000 0)16.30 AAA
黑color0#1c1c1ergb(28 28 30)hsl(240 3% 11%)oklch(22.7% 0.004 286.1)1.00 低於 AA
紅color1#ff453argb(255 69 58)hsl(3 100% 61%)oklch(66.3% 0.224 28.3)4.99 AA
綠color2#30d158rgb(48 209 88)hsl(135 64% 50%)oklch(75.6% 0.208 147.0)8.42 AAA
黃color3#ffd60argb(255 214 10)hsl(50 100% 52%)oklch(88.5% 0.181 94.8)12.05 AAA
藍color4#0a84ffrgb(10 132 255)hsl(210 100% 52%)oklch(62.4% 0.206 255.5)4.66 AA
洋紅color5#ff37f2rgb(255 55 242)hsl(304 100% 61%)oklch(71.1% 0.291 331.2)5.74 AA
青color6#64d2ffrgb(100 210 255)hsl(197 100% 70%)oklch(81.7% 0.119 227.7)9.89 AAA
白color7#f2f2f7rgb(242 242 247)hsl(240 24% 96%)oklch(96.3% 0.007 286.3)15.25 AAA
亮黑color8#1c1c1ergb(28 28 30)hsl(240 3% 11%)oklch(22.7% 0.004 286.1)1.00 低於 AA
亮紅color9#ff3b30rgb(255 59 48)hsl(3 100% 59%)oklch(65.4% 0.232 28.7)4.80 AA
亮綠color10#34c759rgb(52 199 89)hsl(135 59% 49%)oklch(73.0% 0.194 147.4)7.66 AAA
亮黃color11#ffcc00rgb(255 204 0)hsl(48 100% 50%)oklch(86.5% 0.177 90.4)11.25 AAA
亮藍color12#007affrgb(0 122 255)hsl(211 100% 50%)oklch(60.3% 0.218 257.4)4.24 AA 大字體
亮洋紅color13#ff2ddergb(255 45 222)hsl(309 100% 59%)oklch(69.6% 0.286 336.0)5.41 AA
亮青color14#32ade6rgb(50 173 230)hsl(199 78% 55%)oklch(70.7% 0.133 233.9)6.69 AA
亮白color15#f2f2f7rgb(242 242 247)hsl(240 24% 96%)oklch(96.3% 0.007 286.3)15.25 AAA

關於 Apple Dark

Apple Dark 採用中性色調的深色背景(#1c1c1e),預設前景色為 #fafafa。正文的 WCAG 對比度為 16.30:1(AAA),12 種 ANSI 彩色槽位平均對比度 7.15:1,最低 4.24:1。

色板整體色彩飽和度較高,其中紅色為 #ff453a、綠色為 #30d158、藍色為 #0a84ff、洋紅為 #ff37f2。該配色歸屬 Apple 主題系列。

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

與 Apple Dark 相似的配色

資料來源:Warp Themes (Apache-2.0)