跳到正文

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