跳到主要內容

Farmhouse Light

Farmhouse Light 是一套淺色終端機配色(鮮艷),背景色 #e8e4e1,文字色 #1d2027,對比度 12.9:1

取得設定檔
背景色
#e8e4e1
前景色
#1d2027
文字對比度
12.90:1AAA
強調色對比度
4.24:1最低 1.40
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
❯

Farmhouse Light 的設定檔

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

Farmhouse Light

存到 ~/.config/ghostty/themes/Farmhouse Light,再在 config 或 config.ghostty 裏寫 theme = Farmhouse Light

更多 Ghostty 配色
原始檔案
# Theme: Farmhouse Light (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-hk/schemes/farmhouse-light?format=ghostty

palette = 0=#1d2027
palette = 1=#8d0003
palette = 2=#3a7d00
palette = 3=#a95600
palette = 4=#092ccd
palette = 5=#820046
palette = 6=#229256
palette = 7=#e8e4e1
palette = 8=#394047
palette = 9=#eb0009
palette = 10=#7ac100
palette = 11=#ea9a00
palette = 12=#006efe
palette = 13=#bf3b7f
palette = 14=#19e062
palette = 15=#f4eef0
background = #e8e4e1
foreground = #1d2027
cursor-color = #006efe
cursor-text = #1d2027
selection-background = #b3b1aa
selection-foreground = #4d5658

Farmhouse Light 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#e8e4e1rgb(232 228 225)hsl(26 13% 90%)oklch(92.1% 0.006 59.6)—
前景色foreground#1d2027rgb(29 32 39)hsl(222 15% 13%)oklch(24.4% 0.014 267.0)12.90 AAA
光標cursor#006efergb(0 110 254)hsl(214 100% 50%)oklch(57.8% 0.230 259.6)3.56 AA 大字體
光標文字cursorText#1d2027rgb(29 32 39)hsl(222 15% 13%)oklch(24.4% 0.014 267.0)12.90 AAA
選取範圍selection#b3b1aargb(179 177 170)hsl(47 6% 68%)oklch(76.0% 0.010 93.6)1.70 低於 AA
選取文字selectionText#4d5658rgb(77 86 88)hsl(191 7% 32%)oklch(44.6% 0.012 212.6)5.96 AA
黑color0#1d2027rgb(29 32 39)hsl(222 15% 13%)oklch(24.4% 0.014 267.0)12.90 AAA
紅color1#8d0003rgb(141 0 3)hsl(359 100% 28%)oklch(40.4% 0.166 28.6)7.79 AAA
綠color2#3a7d00rgb(58 125 0)hsl(92 100% 25%)oklch(52.5% 0.157 136.2)4.04 AA 大字體
黃color3#a95600rgb(169 86 0)hsl(31 100% 33%)oklch(54.3% 0.134 55.1)4.14 AA 大字體
藍color4#092ccdrgb(9 44 205)hsl(229 92% 42%)oklch(41.9% 0.242 264.8)7.37 AAA
洋紅color5#820046rgb(130 0 70)hsl(328 100% 25%)oklch(39.4% 0.161 357.8)8.15 AAA
青color6#229256rgb(34 146 86)hsl(148 62% 35%)oklch(58.4% 0.134 154.4)3.13 AA 大字體
白color7#e8e4e1rgb(232 228 225)hsl(26 13% 90%)oklch(92.1% 0.006 59.6)1.00 低於 AA
亮黑color8#394047rgb(57 64 71)hsl(210 11% 25%)oklch(36.8% 0.015 248.2)8.31 AAA
亮紅color9#eb0009rgb(235 0 9)hsl(358 100% 46%)oklch(59.1% 0.242 28.6)3.66 AA 大字體
亮綠color10#7ac100rgb(122 193 0)hsl(82 100% 38%)oklch(73.5% 0.201 131.1)1.76 低於 AA
亮黃color11#ea9a00rgb(234 154 0)hsl(39 100% 46%)oklch(74.8% 0.160 72.3)1.82 低於 AA
亮藍color12#006efergb(0 110 254)hsl(214 100% 50%)oklch(57.8% 0.230 259.6)3.56 AA 大字體
亮洋紅color13#bf3b7frgb(191 59 127)hsl(329 53% 49%)oklch(56.4% 0.179 352.7)4.01 AA 大字體
亮青color14#19e062rgb(25 224 98)hsl(142 80% 49%)oklch(79.3% 0.222 148.5)1.40 低於 AA
亮白color15#f4eef0rgb(244 238 240)hsl(340 21% 95%)oklch(95.4% 0.007 354.8)1.10 低於 AA

關於 Farmhouse Light

Farmhouse Light 採用中性色調的淺色背景(#e8e4e1),預設前景色為 #1d2027。正文的 WCAG 對比度為 12.90:1(AAA),12 種 ANSI 彩色槽位平均對比度 4.24:1,最低 1.40:1。

色板整體色彩飽和度較高,其中紅色為 #8d0003、綠色為 #3a7d00、藍色為 #092ccd、洋紅為 #820046。

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

與 Farmhouse Light 相似的配色

資料來源:iTerm2 Color Schemes (MIT)