跳到主要內容

Cursor Light

Cursor Light 是一套淺色終端機配色(柔和),背景色 #f3f3f3,文字色 #252525,對比度 13.8:1

取得設定檔
背景色
#f3f3f3
前景色
#252525
文字對比度
13.81:1AAA
強調色對比度
3.51:1最低 2.67
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
❯

Cursor Light 的設定檔

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

Cursor Light

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

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

palette = 0=#252525
palette = 1=#cf2d56
palette = 2=#1f8a65
palette = 3=#a16900
palette = 4=#3c7cab
palette = 5=#b8448b
palette = 6=#4c7f8c
palette = 7=#afafaf
palette = 8=#5c5c5c
palette = 9=#e75e78
palette = 10=#55a583
palette = 11=#c08532
palette = 12=#6299c3
palette = 13=#d06ba6
palette = 14=#6f9ba6
palette = 15=#ffffff
background = #f3f3f3
foreground = #252525
cursor-color = #252525
cursor-text = #f3f3f3
selection-background = #d9d9d9
selection-foreground = #252525

Cursor Light 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#f3f3f3rgb(243 243 243)hsl(0 0% 95%)oklch(96.4% 0.000 0)—
前景色foreground#252525rgb(37 37 37)hsl(0 0% 15%)oklch(26.4% 0.000 0)13.81 AAA
游標cursor#252525rgb(37 37 37)hsl(0 0% 15%)oklch(26.4% 0.000 0)13.81 AAA
游標文字cursorText#f3f3f3rgb(243 243 243)hsl(0 0% 95%)oklch(96.4% 0.000 0)1.00 低於 AA
選取範圍selection#d9d9d9rgb(217 217 217)hsl(0 0% 85%)oklch(88.5% 0.000 0)1.27 低於 AA
選取文字selectionText#252525rgb(37 37 37)hsl(0 0% 15%)oklch(26.4% 0.000 0)13.81 AAA
黑color0#252525rgb(37 37 37)hsl(0 0% 15%)oklch(26.4% 0.000 0)13.81 AAA
紅color1#cf2d56rgb(207 45 86)hsl(345 64% 49%)oklch(56.6% 0.197 12.3)4.55 AA
綠color2#1f8a65rgb(31 138 101)hsl(159 63% 33%)oklch(56.5% 0.110 164.5)3.88 AA 大字級
黃color3#a16900rgb(161 105 0)hsl(39 100% 32%)oklch(56.7% 0.121 72.7)4.17 AA 大字級
藍color4#3c7cabrgb(60 124 171)hsl(205 48% 45%)oklch(56.5% 0.098 243.0)4.06 AA 大字級
洋紅color5#b8448brgb(184 68 139)hsl(323 46% 49%)oklch(56.7% 0.168 346.1)4.47 AA 大字級
青color6#4c7f8crgb(76 127 140)hsl(192 30% 42%)oklch(56.6% 0.058 215.9)4.01 AA 大字級
白color7#afafafrgb(175 175 175)hsl(0 0% 69%)oklch(75.4% 0.000 0)1.98 低於 AA
亮黑color8#5c5c5crgb(92 92 92)hsl(0 0% 36%)oklch(47.5% 0.000 0)6.03 AA
亮紅color9#e75e78rgb(231 94 120)hsl(349 74% 64%)oklch(66.3% 0.171 11.4)3.02 AA 大字級
亮綠color10#55a583rgb(85 165 131)hsl(154 32% 49%)oklch(66.1% 0.095 164.1)2.67 低於 AA
亮黃color11#c08532rgb(192 133 50)hsl(35 59% 47%)oklch(66.1% 0.121 71.7)2.85 低於 AA
亮藍color12#6299c3rgb(98 153 195)hsl(206 45% 57%)oklch(66.1% 0.086 242.5)2.76 低於 AA
亮洋紅color13#d06ba6rgb(208 107 166)hsl(325 52% 62%)oklch(66.3% 0.145 345.7)2.99 低於 AA
亮青color14#6f9ba6rgb(111 155 166)hsl(192 24% 54%)oklch(66.2% 0.050 214.9)2.74 低於 AA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)1.11 低於 AA

關於 Cursor Light

Cursor Light 採用中性色調的淺色背景(#f3f3f3),預設前景色為 #252525。內文的 WCAG 對比度為 13.81:1(AAA),12 種 ANSI 彩色槽位平均對比度 3.51:1,最低 2.67:1。

色票整體色彩彩度適中,其中紅色為 #cf2d56、綠色為 #1f8a65、藍色為 #3c7cab、洋紅為 #b8448b。

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

與 Cursor Light 相似的配色

資料來源:iTerm2 Color Schemes (MIT)