跳到主要內容

Farin

Farin 是一套深色終端機配色(鮮豔),背景色 #1e1e1e,文字色 #aaaaaa,對比度 7.2:1

取得設定檔
背景色
#1e1e1e
前景色
#aaaaaa
文字對比度
7.18:1AAA
強調色對比度
8.50:1最低 2.99
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
❯

Farin 的設定檔

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

Farin

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

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

palette = 0=#444444
palette = 1=#ff1155
palette = 2=#11ff55
palette = 3=#ffbb33
palette = 4=#1155ff
palette = 5=#ed53c9
palette = 6=#00ffbb
palette = 7=#cccccc
palette = 8=#666666
palette = 9=#ff4488
palette = 10=#44ff88
palette = 11=#ffdd66
palette = 12=#4488ff
palette = 13=#dd66ff
palette = 14=#66ffdd
palette = 15=#ffffff
background = #1e1e1e
foreground = #aaaaaa
cursor-color = #aaaaaa
cursor-text = #1e1e1e
selection-background = #3d3d3d
selection-foreground = #aaaaaa

Farin 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#1e1e1ergb(30 30 30)hsl(0 0% 12%)oklch(23.5% 0.000 0)—
前景色foreground#aaaaaargb(170 170 170)hsl(0 0% 67%)oklch(73.8% 0.000 0)7.18 AAA
游標cursor#aaaaaargb(170 170 170)hsl(0 0% 67%)oklch(73.8% 0.000 0)7.18 AAA
游標文字cursorText#1e1e1ergb(30 30 30)hsl(0 0% 12%)oklch(23.5% 0.000 0)1.00 低於 AA
選取範圍selection#3d3d3drgb(61 61 61)hsl(0 0% 24%)oklch(36.0% 0.000 0)1.53 低於 AA
選取文字selectionText#aaaaaargb(170 170 170)hsl(0 0% 67%)oklch(73.8% 0.000 0)7.18 AAA
黑color0#444444rgb(68 68 68)hsl(0 0% 27%)oklch(38.7% 0.000 0)1.71 低於 AA
紅color1#ff1155rgb(255 17 85)hsl(343 100% 53%)oklch(63.8% 0.251 16.0)4.34 AA 大字級
綠color2#11ff55rgb(17 255 85)hsl(137 100% 53%)oklch(87.1% 0.265 145.8)12.27 AAA
黃color3#ffbb33rgb(255 187 51)hsl(40 100% 60%)oklch(83.4% 0.159 79.5)9.85 AAA
藍color4#1155ffrgb(17 85 255)hsl(223 100% 53%)oklch(53.5% 0.258 263.5)2.99 低於 AA
洋紅color5#ed53c9rgb(237 83 201)hsl(314 81% 63%)oklch(68.7% 0.226 338.3)5.30 AA
青color6#00ffbbrgb(0 255 187)hsl(164 100% 50%)oklch(88.6% 0.186 165.2)12.72 AAA
白color7#ccccccrgb(204 204 204)hsl(0 0% 80%)oklch(84.5% 0.000 0)10.38 AAA
亮黑color8#666666rgb(102 102 102)hsl(0 0% 40%)oklch(51.0% 0.000 0)2.90 低於 AA
亮紅color9#ff4488rgb(255 68 136)hsl(338 100% 63%)oklch(67.7% 0.226 3.7)5.11 AA
亮綠color10#44ff88rgb(68 255 136)hsl(142 100% 63%)oklch(88.3% 0.218 150.6)12.63 AAA
亮黃color11#ffdd66rgb(255 221 102)hsl(47 100% 70%)oklch(90.4% 0.142 93.4)12.53 AAA
亮藍color12#4488ffrgb(68 136 255)hsl(218 100% 63%)oklch(64.5% 0.190 260.7)4.93 AA
亮洋紅color13#dd66ffrgb(221 102 255)hsl(287 100% 70%)oklch(71.4% 0.235 318.1)5.89 AA
亮青color14#66ffddrgb(102 255 221)hsl(167 100% 70%)oklch(90.9% 0.139 175.7)13.43 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)16.67 AAA

關於 Farin

Farin 採用中性色調的深色背景(#1e1e1e),預設前景色為 #aaaaaa。內文的 WCAG 對比度為 7.18:1(AAA),12 種 ANSI 彩色槽位平均對比度 8.50:1,最低 2.99:1。

色票整體色彩彩度較高,其中紅色為 #ff1155、綠色為 #11ff55、藍色為 #1155ff、洋紅為 #ed53c9。

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

與 Farin 相似的配色

資料來源:Gogh (MIT OR Apache-2.0)