跳到正文

Cursor Dark

Cursor Dark 是一套深色终端配色,背景色 #141414,文字色 #d4d4d4,对比度 12.4:1

获取配置
背景色
#141414
前景色
#d4d4d4
文字对比度
12.43:1AAA
强调色对比度
7.44:1最低 5.76
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 Dark 的配置文件

16 种格式,都从同一份色板生成

Cursor Dark

存到 ~/.config/ghostty/themes/Cursor Dark,再在 config 或 config.ghostty 里写 theme = Cursor Dark

更多 Ghostty 配色
原始文件
# Theme: Cursor Dark (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/schemes/cursor-dark?format=ghostty

palette = 0=#242424
palette = 1=#fc6b83
palette = 2=#3fa266
palette = 3=#d2943e
palette = 4=#81a1c1
palette = 5=#b48ead
palette = 6=#88c0d0
palette = 7=#e4e4e4
palette = 8=#4a4a4a
palette = 9=#fc6b83
palette = 10=#70b489
palette = 11=#f1b467
palette = 12=#87a6c4
palette = 13=#b48ead
palette = 14=#88c0d0
palette = 15=#e4e4e4
background = #141414
foreground = #d4d4d4
cursor-color = #d4d4d4
cursor-text = #141414
selection-background = #2c2c2c
selection-foreground = #e4e4e4

Cursor Dark 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#141414rgb(20 20 20)hsl(0 0% 8%)oklch(19.1% 0.000 0)—
前景色foreground#d4d4d4rgb(212 212 212)hsl(0 0% 83%)oklch(87.0% 0.000 0)12.43 AAA
光标cursor#d4d4d4rgb(212 212 212)hsl(0 0% 83%)oklch(87.0% 0.000 0)12.43 AAA
光标文字cursorText#141414rgb(20 20 20)hsl(0 0% 8%)oklch(19.1% 0.000 0)1.00 低于 AA
选区selection#2c2c2crgb(44 44 44)hsl(0 0% 17%)oklch(29.3% 0.000 0)1.32 低于 AA
选区文字selectionText#e4e4e4rgb(228 228 228)hsl(0 0% 89%)oklch(91.9% 0.000 0)14.49 AAA
黑color0#242424rgb(36 36 36)hsl(0 0% 14%)oklch(26.0% 0.000 0)1.19 低于 AA
红color1#fc6b83rgb(252 107 131)hsl(350 96% 70%)oklch(71.2% 0.177 12.7)6.64 AA
绿color2#3fa266rgb(63 162 102)hsl(144 44% 44%)oklch(63.8% 0.129 153.7)5.76 AA
黄color3#d2943ergb(210 148 62)hsl(35 62% 53%)oklch(71.2% 0.125 71.9)7.06 AAA
蓝color4#81a1c1rgb(129 161 193)hsl(210 34% 63%)oklch(69.7% 0.059 248.7)6.84 AA
品红color5#b48eadrgb(180 142 173)hsl(311 20% 63%)oklch(69.2% 0.062 332.7)6.50 AA
青color6#88c0d0rgb(136 192 208)hsl(193 43% 67%)oklch(77.5% 0.062 217.5)9.21 AAA
白color7#e4e4e4rgb(228 228 228)hsl(0 0% 89%)oklch(91.9% 0.000 0)14.49 AAA
亮黑color8#4a4a4argb(74 74 74)hsl(0 0% 29%)oklch(40.9% 0.000 0)2.08 低于 AA
亮红color9#fc6b83rgb(252 107 131)hsl(350 96% 70%)oklch(71.2% 0.177 12.7)6.64 AA
亮绿color10#70b489rgb(112 180 137)hsl(142 31% 57%)oklch(71.3% 0.094 155.4)7.53 AAA
亮黄color11#f1b467rgb(241 180 103)hsl(33 83% 67%)oklch(81.1% 0.118 71.3)10.06 AAA
亮蓝color12#87a6c4rgb(135 166 196)hsl(210 34% 65%)oklch(71.3% 0.056 247.8)7.27 AAA
亮品红color13#b48eadrgb(180 142 173)hsl(311 20% 63%)oklch(69.2% 0.062 332.7)6.50 AA
亮青color14#88c0d0rgb(136 192 208)hsl(193 43% 67%)oklch(77.5% 0.062 217.5)9.21 AAA
亮白color15#e4e4e4rgb(228 228 228)hsl(0 0% 89%)oklch(91.9% 0.000 0)14.49 AAA

关于 Cursor Dark

Cursor Dark 采用中性色调的深色背景(#141414),默认前景色为 #d4d4d4。正文的 WCAG 对比度为 12.43:1(AAA),12 种 ANSI 彩色槽位平均对比度 7.44:1,最低 5.76:1。

色板整体色彩饱和度适中,其中红色为 #fc6b83、绿色为 #3fa266、蓝色为 #81a1c1、品红为 #b48ead。

支持一键导出 Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 终端配置文件,同时提供 VS Code 与 Zed 集成终端、CSS 变量、Tailwind CSS 及 JSON 色板格式。

与 Cursor Dark 相似的配色

数据来源:iTerm2 Color Schemes (MIT)