跳到主要內容

Nordfox

Nordfox 是一套深色終端機配色(低彩度、冷色),背景色 #2e3440,文字色 #cdcecf,對比度 7.9:1

取得設定檔
背景色
#2e3440
前景色
#cdcecf
文字對比度
7.93:1AAA
強調色對比度
5.82:1最低 3.05
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
❯

Nordfox 的設定檔

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

Nordfox

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

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

palette = 0=#3b4252
palette = 1=#bf616a
palette = 2=#a3be8c
palette = 3=#ebcb8b
palette = 4=#81a1c1
palette = 5=#b48ead
palette = 6=#88c0d0
palette = 7=#e5e9f0
palette = 8=#465780
palette = 9=#d06f79
palette = 10=#b1d196
palette = 11=#f0d399
palette = 12=#8cafd2
palette = 13=#c895bf
palette = 14=#93ccdc
palette = 15=#e7ecf4
background = #2e3440
foreground = #cdcecf
cursor-color = #cdcecf
cursor-text = #2e3440
selection-background = #3e4a5b
selection-foreground = #cdcecf

Nordfox 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#2e3440rgb(46 52 64)hsl(220 16% 22%)oklch(32.4% 0.023 264.2)—
前景色foreground#cdcecfrgb(205 206 207)hsl(210 2% 81%)oklch(85.1% 0.002 247.8)7.93 AAA
游標cursor#cdcecfrgb(205 206 207)hsl(210 2% 81%)oklch(85.1% 0.002 247.8)7.93 AAA
游標文字cursorText#2e3440rgb(46 52 64)hsl(220 16% 22%)oklch(32.4% 0.023 264.2)1.00 低於 AA
選取範圍selection#3e4a5brgb(62 74 91)hsl(215 19% 30%)oklch(40.5% 0.033 257.1)1.39 低於 AA
選取文字selectionText#cdcecfrgb(205 206 207)hsl(210 2% 81%)oklch(85.1% 0.002 247.8)7.93 AAA
黑color0#3b4252rgb(59 66 82)hsl(222 16% 28%)oklch(37.9% 0.029 266.5)1.24 低於 AA
紅color1#bf616argb(191 97 106)hsl(354 42% 56%)oklch(60.6% 0.121 15.3)3.05 AA 大字級
綠color2#a3be8crgb(163 190 140)hsl(92 28% 65%)oklch(76.8% 0.075 131.1)6.13 AA
黃color3#ebcb8brgb(235 203 139)hsl(40 71% 73%)oklch(85.5% 0.089 84.1)8.00 AAA
藍color4#81a1c1rgb(129 161 193)hsl(210 34% 63%)oklch(69.7% 0.059 248.7)4.64 AA
洋紅color5#b48eadrgb(180 142 173)hsl(311 20% 63%)oklch(69.2% 0.062 332.7)4.41 AA 大字級
青color6#88c0d0rgb(136 192 208)hsl(193 43% 67%)oklch(77.5% 0.062 217.5)6.24 AA
白color7#e5e9f0rgb(229 233 240)hsl(218 27% 92%)oklch(93.3% 0.010 261.8)10.26 AAA
亮黑color8#465780rgb(70 87 128)hsl(222 29% 39%)oklch(46.1% 0.070 266.5)1.75 低於 AA
亮紅color9#d06f79rgb(208 111 121)hsl(354 51% 63%)oklch(65.5% 0.122 14.5)3.71 AA 大字級
亮綠color10#b1d196rgb(177 209 150)hsl(93 39% 70%)oklch(82.2% 0.087 131.2)7.39 AAA
亮黃color11#f0d399rgb(240 211 153)hsl(40 74% 77%)oklch(87.8% 0.081 84.3)8.61 AAA
亮藍color12#8cafd2rgb(140 175 210)hsl(210 44% 69%)oklch(74.1% 0.064 248.7)5.46 AA
亮洋紅color13#c895bfrgb(200 149 191)hsl(311 32% 68%)oklch(73.2% 0.083 332.7)5.06 AA
亮青color14#93ccdcrgb(147 204 220)hsl(193 51% 72%)oklch(81.1% 0.063 217.1)7.08 AAA
亮白color15#e7ecf4rgb(231 236 244)hsl(217 37% 93%)oklch(94.2% 0.012 259.8)10.53 AAA

關於 Nordfox

Nordfox 採用冷色調的深色背景(#2e3440),預設前景色為 #cdcecf。內文的 WCAG 對比度為 7.93:1(AAA),12 種 ANSI 彩色槽位平均對比度 5.82:1,最低 3.05:1。

色票整體色彩彩度偏低,其中紅色為 #bf616a、綠色為 #a3be8c、藍色為 #81a1c1、洋紅為 #b48ead。此配色歸屬 Nightfox 主題系列。

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

與 Nordfox 相似的配色

資料來源:iTerm2 Color Schemes (MIT)