跳到正文

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