跳到主要內容

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