跳到主要內容

Xcode WWDC

Xcode WWDC 是一套深色終端機配色(冷色),背景色 #292c36,文字色 #e7e8eb,對比度 11.4:1

取得設定檔
背景色
#292c36
前景色
#e7e8eb
文字對比度
11.37:1AAA
強調色對比度
4.38:1最低 2.48
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
❯

Xcode WWDC 的設定檔

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

Xcode WWDC

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

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

palette = 0=#494d5c
palette = 1=#bb383a
palette = 2=#94c66e
palette = 3=#d28e5d
palette = 4=#8884c5
palette = 5=#b73999
palette = 6=#00aba4
palette = 7=#e7e8eb
palette = 8=#7f869e
palette = 9=#bb383a
palette = 10=#94c66e
palette = 11=#d28e5d
palette = 12=#8884c5
palette = 13=#b73999
palette = 14=#00aba4
palette = 15=#e7e8eb
background = #292c36
foreground = #e7e8eb
cursor-color = #e7e8eb
cursor-text = #292c36
selection-background = #494d5c
selection-foreground = #e7e8eb

Xcode WWDC 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#292c36rgb(41 44 54)hsl(226 14% 19%)oklch(29.4% 0.019 272.1)—
前景色foreground#e7e8ebrgb(231 232 235)hsl(225 9% 91%)oklch(93.1% 0.004 271.4)11.37 AAA
光標cursor#e7e8ebrgb(231 232 235)hsl(225 9% 91%)oklch(93.1% 0.004 271.4)11.37 AAA
光標文字cursorText#292c36rgb(41 44 54)hsl(226 14% 19%)oklch(29.4% 0.019 272.1)1.00 低於 AA
選取範圍selection#494d5crgb(73 77 92)hsl(227 12% 32%)oklch(42.2% 0.025 273.5)1.66 低於 AA
選取文字selectionText#e7e8ebrgb(231 232 235)hsl(225 9% 91%)oklch(93.1% 0.004 271.4)11.37 AAA
黑color0#494d5crgb(73 77 92)hsl(227 12% 32%)oklch(42.2% 0.025 273.5)1.66 低於 AA
紅color1#bb383argb(187 56 58)hsl(359 54% 48%)oklch(53.6% 0.168 24.0)2.48 低於 AA
綠color2#94c66ergb(148 198 110)hsl(94 44% 60%)oklch(77.1% 0.129 132.9)7.00 AAA
黃color3#d28e5drgb(210 142 93)hsl(25 57% 59%)oklch(70.5% 0.105 55.9)5.15 AA
藍color4#8884c5rgb(136 132 197)hsl(244 36% 65%)oklch(64.3% 0.096 286.2)4.08 AA 大字體
洋紅color5#b73999rgb(183 57 153)hsl(314 53% 47%)oklch(56.0% 0.191 338.8)2.69 低於 AA
青color6#00aba4rgb(0 171 164)hsl(178 100% 34%)oklch(66.9% 0.116 189.6)4.88 AA
白color7#e7e8ebrgb(231 232 235)hsl(225 9% 91%)oklch(93.1% 0.004 271.4)11.37 AAA
亮黑color8#7f869ergb(127 134 158)hsl(226 14% 56%)oklch(62.3% 0.037 272.5)3.85 AA 大字體
亮紅color9#bb383argb(187 56 58)hsl(359 54% 48%)oklch(53.6% 0.168 24.0)2.48 低於 AA
亮綠color10#94c66ergb(148 198 110)hsl(94 44% 60%)oklch(77.1% 0.129 132.9)7.00 AAA
亮黃color11#d28e5drgb(210 142 93)hsl(25 57% 59%)oklch(70.5% 0.105 55.9)5.15 AA
亮藍color12#8884c5rgb(136 132 197)hsl(244 36% 65%)oklch(64.3% 0.096 286.2)4.08 AA 大字體
亮洋紅color13#b73999rgb(183 57 153)hsl(314 53% 47%)oklch(56.0% 0.191 338.8)2.69 低於 AA
亮青color14#00aba4rgb(0 171 164)hsl(178 100% 34%)oklch(66.9% 0.116 189.6)4.88 AA
亮白color15#e7e8ebrgb(231 232 235)hsl(225 9% 91%)oklch(93.1% 0.004 271.4)11.37 AAA

關於 Xcode WWDC

Xcode WWDC 採用冷色調的深色背景(#292c36),預設前景色為 #e7e8eb。正文的 WCAG 對比度為 11.37:1(AAA),12 種 ANSI 彩色槽位平均對比度 4.38:1,最低 2.48:1。

色板整體色彩飽和度適中,其中紅色為 #bb383a、綠色為 #94c66e、藍色為 #8884c5、洋紅為 #b73999。該配色歸屬 Xcode 主題系列。

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

與 Xcode WWDC 相似的配色

資料來源:iTerm2 Color Schemes (ISC)