跳到主要內容

Raycast Light

Raycast Light 是一套淺色終端機配色,背景色 #ffffff,文字色 #000000,對比度 21.0:1

取得設定檔
背景色
#ffffff
前景色
#000000
文字對比度
21.00:1AAA
強調色對比度
4.80:1最低 2.05
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 Light 的設定檔

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

Raycast Light

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

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

palette = 0=#000000
palette = 1=#b12424
palette = 2=#006b4f
palette = 3=#f8a300
palette = 4=#138af2
palette = 5=#9a1b6e
palette = 6=#3eb8bf
palette = 7=#ffffff
palette = 8=#000000
palette = 9=#b12424
palette = 10=#006b4f
palette = 11=#f8a300
palette = 12=#138af2
palette = 13=#9a1b6e
palette = 14=#3eb8bf
palette = 15=#ffffff
background = #ffffff
foreground = #000000
cursor-color = #000000
cursor-text = #000000
selection-background = #e5e5e5
selection-foreground = #000000

Raycast Light 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)—
前景色foreground#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)21.00 AAA
游標cursor#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)21.00 AAA
游標文字cursorText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)21.00 AAA
選取範圍selection#e5e5e5rgb(229 229 229)hsl(0 0% 90%)oklch(92.2% 0.000 0)1.26 低於 AA
選取文字selectionText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)21.00 AAA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)21.00 AAA
紅color1#b12424rgb(177 36 36)hsl(0 66% 42%)oklch(49.7% 0.177 26.6)6.67 AA
綠color2#006b4frgb(0 107 79)hsl(164 100% 21%)oklch(46.8% 0.096 167.2)6.53 AA
黃color3#f8a300rgb(248 163 0)hsl(39 100% 49%)oklch(78.1% 0.167 72.1)2.05 低於 AA
藍color4#138af2rgb(19 138 242)hsl(208 90% 51%)oklch(62.9% 0.182 252.0)3.53 AA 大字級
洋紅color5#9a1b6ergb(154 27 110)hsl(321 70% 35%)oklch(46.8% 0.178 346.5)7.62 AAA
青color6#3eb8bfrgb(62 184 191)hsl(183 51% 50%)oklch(71.9% 0.105 200.6)2.38 低於 AA
白color7#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)1.00 低於 AA
亮黑color8#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)21.00 AAA
亮紅color9#b12424rgb(177 36 36)hsl(0 66% 42%)oklch(49.7% 0.177 26.6)6.67 AA
亮綠color10#006b4frgb(0 107 79)hsl(164 100% 21%)oklch(46.8% 0.096 167.2)6.53 AA
亮黃color11#f8a300rgb(248 163 0)hsl(39 100% 49%)oklch(78.1% 0.167 72.1)2.05 低於 AA
亮藍color12#138af2rgb(19 138 242)hsl(208 90% 51%)oklch(62.9% 0.182 252.0)3.53 AA 大字級
亮洋紅color13#9a1b6ergb(154 27 110)hsl(321 70% 35%)oklch(46.8% 0.178 346.5)7.62 AAA
亮青color14#3eb8bfrgb(62 184 191)hsl(183 51% 50%)oklch(71.9% 0.105 200.6)2.38 低於 AA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)1.00 低於 AA

關於 Raycast Light

Raycast Light 採用中性色調的淺色背景(#ffffff),預設前景色為 #000000。內文的 WCAG 對比度為 21.00:1(AAA),12 種 ANSI 彩色槽位平均對比度 4.80:1,最低 2.05:1。

色票整體色彩彩度適中,其中紅色為 #b12424、綠色為 #006b4f、藍色為 #138af2、洋紅為 #9a1b6e。

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

與 Raycast Light 相似的配色

資料來源:iTerm2 Color Schemes (MIT)