跳到主要內容

Frostline

Frostline 是一套淺色終端機配色,背景色 #f7fbff,文字色 #102a43,對比度 14.1:1

取得設定檔
背景色
#f7fbff
前景色
#102a43
文字對比度
14.08:1AAA
強調色對比度
7.98:1最低 6.83
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
❯

Frostline 的設定檔

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

Frostline

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

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

palette = 0=#29394a
palette = 1=#812121
palette = 2=#0b5934
palette = 3=#654a00
palette = 4=#164891
palette = 5=#5c3189
palette = 6=#00596a
palette = 7=#3b4a59
palette = 8=#536273
palette = 9=#8d2727
palette = 10=#0e603a
palette = 11=#6c5000
palette = 12=#194f9d
palette = 13=#653991
palette = 14=#006173
palette = 15=#455565
background = #f7fbff
foreground = #102a43
cursor-color = #0e5f8f
cursor-text = #f7fbff
selection-background = #e2edf7
selection-foreground = #102a43

Frostline 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#f7fbffrgb(247 251 255)hsl(210 100% 98%)oklch(98.6% 0.007 247.9)—
前景色foreground#102a43rgb(16 42 67)hsl(209 61% 16%)oklch(27.8% 0.056 249.8)14.08 AAA
光標cursor#0e5f8frgb(14 95 143)hsl(202 82% 31%)oklch(46.6% 0.105 242.2)6.62 AA
光標文字cursorText#f7fbffrgb(247 251 255)hsl(210 100% 98%)oklch(98.6% 0.007 247.9)1.00 低於 AA
選取範圍selection#e2edf7rgb(226 237 247)hsl(209 57% 93%)oklch(94.1% 0.018 245.4)1.14 低於 AA
選取文字selectionText#102a43rgb(16 42 67)hsl(209 61% 16%)oklch(27.8% 0.056 249.8)14.08 AAA
黑color0#29394argb(41 57 74)hsl(211 29% 23%)oklch(33.8% 0.037 250.5)11.36 AAA
紅color1#812121rgb(129 33 33)hsl(0 59% 32%)oklch(40.4% 0.131 25.2)9.30 AAA
綠color2#0b5934rgb(11 89 52)hsl(152 78% 20%)oklch(41.0% 0.094 156.1)8.10 AAA
黃color3#654a00rgb(101 74 0)hsl(44 100% 20%)oklch(42.7% 0.087 84.5)7.97 AAA
藍color4#164891rgb(22 72 145)hsl(216 74% 33%)oklch(41.3% 0.132 258.6)8.52 AAA
洋紅color5#5c3189rgb(92 49 137)hsl(269 47% 36%)oklch(41.4% 0.142 303.2)8.95 AAA
青color6#00596argb(0 89 106)hsl(190 100% 21%)oklch(42.8% 0.076 216.6)7.66 AAA
白color7#3b4a59rgb(59 74 89)hsl(210 20% 29%)oklch(40.2% 0.032 248.6)8.74 AAA
亮黑color8#536273rgb(83 98 115)hsl(212 16% 39%)oklch(49.0% 0.033 251.7)6.01 AA
亮紅color9#8d2727rgb(141 39 39)hsl(0 57% 35%)oklch(43.4% 0.137 25.0)8.24 AAA
亮綠color10#0e603argb(14 96 58)hsl(152 75% 22%)oklch(43.3% 0.097 156.9)7.34 AAA
亮黃color11#6c5000rgb(108 80 0)hsl(44 100% 21%)oklch(44.9% 0.092 85.2)7.25 AAA
亮藍color12#194f9drgb(25 79 157)hsl(215 73% 36%)oklch(43.9% 0.139 258.4)7.63 AAA
亮洋紅color13#653991rgb(101 57 145)hsl(270 44% 40%)oklch(44.2% 0.142 304.3)7.93 AAA
亮青color14#006173rgb(0 97 115)hsl(189 100% 23%)oklch(45.4% 0.081 216.2)6.83 AA
亮白color15#455565rgb(69 85 101)hsl(210 19% 33%)oklch(44.2% 0.033 248.6)7.37 AAA

關於 Frostline

Frostline 採用中性色調的淺色背景(#f7fbff),預設前景色為 #102a43。正文的 WCAG 對比度為 14.08:1(AAA),12 種 ANSI 彩色槽位平均對比度 7.98:1,最低 6.83:1。

色板整體色彩飽和度適中,其中紅色為 #812121、綠色為 #0b5934、藍色為 #164891、洋紅為 #5c3189。

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

與 Frostline 相似的配色

資料來源:iTerm2 Color Schemes (MIT)