跳到主要內容

Flat Lost

Flat Lost 是一套深色終端機配色(柔和、冷色),背景色 #1f2d3a,文字色 #1abc9c,對比度 5.8:1

取得設定檔
背景色
#1f2d3a
前景色
#1abc9c
文字對比度
5.83:1AA
強調色對比度
4.55:1最低 2.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
❯

Flat Lost 的設定檔

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

Flat Lost

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

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

palette = 0=#2c3e50
palette = 1=#c0392b
palette = 2=#27ae60
palette = 3=#f39c12
palette = 4=#2980b9
palette = 5=#8e44ad
palette = 6=#16a085
palette = 7=#bdc3c7
palette = 8=#34495e
palette = 9=#e74c3c
palette = 10=#2ecc71
palette = 11=#f1c40f
palette = 12=#3498db
palette = 13=#9b59b6
palette = 14=#2aa198
palette = 15=#ecf0f1
background = #1f2d3a
foreground = #1abc9c
cursor-color = #1abc9c
cursor-text = #1f2d3a
selection-background = #264e51
selection-foreground = #1abc9c

Flat Lost 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#1f2d3argb(31 45 58)hsl(209 30% 17%)oklch(29.1% 0.031 247.0)—
前景色foreground#1abc9crgb(26 188 156)hsl(168 76% 42%)oklch(71.2% 0.131 174.2)5.83 AA
光標cursor#1abc9crgb(26 188 156)hsl(168 76% 42%)oklch(71.2% 0.131 174.2)5.83 AA
光標文字cursorText#1f2d3argb(31 45 58)hsl(209 30% 17%)oklch(29.1% 0.031 247.0)1.00 低於 AA
選取範圍selection#264e51rgb(38 78 81)hsl(184 36% 23%)oklch(39.6% 0.045 201.9)1.53 低於 AA
選取文字selectionText#1abc9crgb(26 188 156)hsl(168 76% 42%)oklch(71.2% 0.131 174.2)5.83 AA
黑color0#2c3e50rgb(44 62 80)hsl(210 29% 24%)oklch(35.6% 0.039 249.0)1.28 低於 AA
紅color1#c0392brgb(192 57 43)hsl(6 63% 46%)oklch(54.3% 0.174 29.7)2.58 低於 AA
綠color2#27ae60rgb(39 174 96)hsl(145 63% 42%)oklch(66.3% 0.160 152.4)4.89 AA
黃color3#f39c12rgb(243 156 18)hsl(37 90% 51%)oklch(76.3% 0.163 69.4)6.41 AA
藍color4#2980b9rgb(41 128 185)hsl(204 64% 44%)oklch(57.6% 0.119 242.3)3.27 AA 大字體
洋紅color5#8e44adrgb(142 68 173)hsl(282 44% 47%)oklch(52.6% 0.170 314.7)2.40 低於 AA
青color6#16a085rgb(22 160 133)hsl(168 76% 36%)oklch(63.2% 0.116 174.5)4.28 AA 大字體
白color7#bdc3c7rgb(189 195 199)hsl(204 8% 76%)oklch(81.4% 0.009 236.6)7.89 AAA
亮黑color8#34495ergb(52 73 94)hsl(210 29% 29%)oklch(39.7% 0.044 249.0)1.51 低於 AA
亮紅color9#e74c3crgb(231 76 60)hsl(6 78% 57%)oklch(63.1% 0.194 29.4)3.68 AA 大字體
亮綠color10#2ecc71rgb(46 204 113)hsl(145 63% 49%)oklch(74.6% 0.181 152.3)6.68 AA
亮黃color11#f1c40frgb(241 196 15)hsl(48 89% 50%)oklch(83.6% 0.169 91.8)8.46 AAA
亮藍color12#3498dbrgb(52 152 219)hsl(204 70% 53%)oklch(65.3% 0.135 242.7)4.46 AA 大字體
亮洋紅color13#9b59b6rgb(155 89 182)hsl(283 39% 53%)oklch(57.7% 0.152 315.3)3.01 AA 大字體
亮青color14#2aa198rgb(42 161 152)hsl(175 59% 40%)oklch(64.4% 0.102 187.4)4.45 AA 大字體
亮白color15#ecf0f1rgb(236 240 241)hsl(192 15% 94%)oklch(95.2% 0.004 214.3)12.24 AAA

關於 Flat Lost

Flat Lost 採用冷色調的深色背景(#1f2d3a),預設前景色為 #1abc9c。正文的 WCAG 對比度為 5.83:1(AA),12 種 ANSI 彩色槽位平均對比度 4.55:1,最低 2.40:1。

色板整體色彩飽和度適中,其中紅色為 #c0392b、綠色為 #27ae60、藍色為 #2980b9、洋紅為 #8e44ad。

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

與 Flat Lost 相似的配色

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