跳到主要內容

Nancy

Nancy 是一套深色終端機配色(純黑),背景色 #010101,文字色 #ffffff,對比度 20.9:1

取得設定檔
背景色
#010101
前景色
#ffffff
文字對比度
20.87:1AAA
強調色對比度
7.68:1最低 2.65
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
❯

Nancy 的設定檔

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

Nancy

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

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

palette = 0=#1b1d1e
palette = 1=#f92672
palette = 2=#82b414
palette = 3=#fd971f
palette = 4=#4e82aa
palette = 5=#8c54fe
palette = 6=#465457
palette = 7=#ccccc6
palette = 8=#505354
palette = 9=#ff5995
palette = 10=#b6e354
palette = 11=#feed6c
palette = 12=#0c73c2
palette = 13=#9e6ffe
palette = 14=#899ca1
palette = 15=#f8f8f2
background = #010101
foreground = #ffffff
cursor-color = #ffffff
cursor-text = #010101
selection-background = #2e2e2e
selection-foreground = #ffffff

Nancy 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#010101rgb(1 1 1)hsl(0 0% 0%)oklch(6.7% 0.000 0)—
前景色foreground#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)20.87 AAA
游標cursor#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)20.87 AAA
游標文字cursorText#010101rgb(1 1 1)hsl(0 0% 0%)oklch(6.7% 0.000 0)1.00 低於 AA
選取範圍selection#2e2e2ergb(46 46 46)hsl(0 0% 18%)oklch(30.1% 0.000 0)1.54 低於 AA
選取文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)20.87 AAA
黑color0#1b1d1ergb(27 29 30)hsl(200 5% 11%)oklch(22.9% 0.004 229.0)1.23 低於 AA
紅color1#f92672rgb(249 38 114)hsl(338 95% 56%)oklch(64.2% 0.240 7.5)5.51 AA
綠color2#82b414rgb(130 180 20)hsl(79 80% 39%)oklch(70.8% 0.178 127.3)8.44 AAA
黃color3#fd971frgb(253 151 31)hsl(32 98% 56%)oklch(76.7% 0.168 62.4)9.56 AAA
藍color4#4e82aargb(78 130 170)hsl(206 37% 49%)oklch(58.7% 0.083 243.1)5.07 AA
洋紅color5#8c54fergb(140 84 254)hsl(260 99% 66%)oklch(60.2% 0.238 293.0)4.79 AA
青color6#465457rgb(70 84 87)hsl(191 11% 31%)oklch(43.5% 0.018 212.1)2.65 低於 AA
白color7#ccccc6rgb(204 204 198)hsl(60 6% 79%)oklch(84.4% 0.008 106.6)12.94 AAA
亮黑color8#505354rgb(80 83 84)hsl(195 2% 32%)oklch(44.0% 0.004 219.6)2.69 低於 AA
亮紅color9#ff5995rgb(255 89 149)hsl(338 100% 67%)oklch(70.1% 0.206 1.8)7.07 AAA
亮綠color10#b6e354rgb(182 227 84)hsl(79 72% 61%)oklch(85.7% 0.176 124.9)14.02 AAA
亮黃color11#feed6crgb(254 237 108)hsl(53 99% 71%)oklch(93.5% 0.149 101.9)17.44 AAA
亮藍color12#0c73c2rgb(12 115 194)hsl(206 88% 40%)oklch(54.5% 0.148 249.6)4.22 AA 大字級
亮洋紅color13#9e6ffergb(158 111 254)hsl(260 99% 72%)oklch(65.7% 0.204 295.4)6.12 AA
亮青color14#899ca1rgb(137 156 161)hsl(192 11% 58%)oklch(67.9% 0.023 215.3)7.29 AAA
亮白color15#f8f8f2rgb(248 248 242)hsl(60 30% 96%)oklch(97.7% 0.008 106.5)19.58 AAA

關於 Nancy

Nancy 採用中性色調的深色背景(#010101),預設前景色為 #ffffff。內文的 WCAG 對比度為 20.87:1(AAA),12 種 ANSI 彩色槽位平均對比度 7.68:1,最低 2.65:1。

色票整體色彩彩度適中,其中紅色為 #f92672、綠色為 #82b414、藍色為 #4e82aa、洋紅為 #8c54fe。

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

與 Nancy 相似的配色

資料來源:terminal.sexy (MIT)