跳到主要內容

Raycast Dark

Raycast Dark 是一套深色終端機配色,背景色 #1a1a1a,文字色 #ffffff,對比度 17.4:1

取得設定檔
背景色
#1a1a1a
前景色
#ffffff
文字對比度
17.40:1AAA
強調色對比度
8.47:1最低 3.74
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
❯

Raycast Dark 的設定檔

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

Raycast Dark

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

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

palette = 0=#000000
palette = 1=#ff5360
palette = 2=#59d499
palette = 3=#ffc531
palette = 4=#56c2ff
palette = 5=#cf2f98
palette = 6=#52eee5
palette = 7=#ffffff
palette = 8=#000000
palette = 9=#ff6363
palette = 10=#59d499
palette = 11=#ffc531
palette = 12=#56c2ff
palette = 13=#cf2f98
palette = 14=#52eee5
palette = 15=#ffffff
background = #1a1a1a
foreground = #ffffff
cursor-color = #cccccc
cursor-text = #ffffff
selection-background = #333333
selection-foreground = #000000

Raycast Dark 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#1a1a1argb(26 26 26)hsl(0 0% 10%)oklch(21.8% 0.000 0)—
前景色foreground#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)17.40 AAA
游標cursor#ccccccrgb(204 204 204)hsl(0 0% 80%)oklch(84.5% 0.000 0)10.84 AAA
游標文字cursorText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)17.40 AAA
選取範圍selection#333333rgb(51 51 51)hsl(0 0% 20%)oklch(32.1% 0.000 0)1.38 低於 AA
選取文字selectionText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.21 低於 AA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.21 低於 AA
紅color1#ff5360rgb(255 83 96)hsl(355 100% 66%)oklch(68.2% 0.207 20.4)5.52 AA
綠color2#59d499rgb(89 212 153)hsl(151 59% 59%)oklch(78.5% 0.140 159.7)9.37 AAA
黃color3#ffc531rgb(255 197 49)hsl(43 100% 60%)oklch(85.3% 0.163 85.2)11.01 AAA
藍color4#56c2ffrgb(86 194 255)hsl(202 100% 67%)oklch(77.6% 0.131 236.8)8.75 AAA
洋紅color5#cf2f98rgb(207 47 152)hsl(321 63% 50%)oklch(58.9% 0.217 345.8)3.74 AA 大字級
青color6#52eee5rgb(82 238 229)hsl(177 82% 63%)oklch(86.6% 0.129 189.5)12.20 AAA
白color7#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)17.40 AAA
亮黑color8#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.21 低於 AA
亮紅color9#ff6363rgb(255 99 99)hsl(0 100% 69%)oklch(70.0% 0.191 23.4)5.98 AA
亮綠color10#59d499rgb(89 212 153)hsl(151 59% 59%)oklch(78.5% 0.140 159.7)9.37 AAA
亮黃color11#ffc531rgb(255 197 49)hsl(43 100% 60%)oklch(85.3% 0.163 85.2)11.01 AAA
亮藍color12#56c2ffrgb(86 194 255)hsl(202 100% 67%)oklch(77.6% 0.131 236.8)8.75 AAA
亮洋紅color13#cf2f98rgb(207 47 152)hsl(321 63% 50%)oklch(58.9% 0.217 345.8)3.74 AA 大字級
亮青color14#52eee5rgb(82 238 229)hsl(177 82% 63%)oklch(86.6% 0.129 189.5)12.20 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)17.40 AAA

關於 Raycast Dark

Raycast Dark 採用中性色調的深色背景(#1a1a1a),預設前景色為 #ffffff。內文的 WCAG 對比度為 17.40:1(AAA),12 種 ANSI 彩色槽位平均對比度 8.47:1,最低 3.74:1。

色票整體色彩彩度適中,其中紅色為 #ff5360、綠色為 #59d499、藍色為 #56c2ff、洋紅為 #cf2f98。

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

與 Raycast Dark 相似的配色

資料來源:iTerm2 Color Schemes (MIT)