跳到主要內容

Swamp Light

Swamp Light 是一套淺色終端機配色(柔和、暖色),背景色 #f1e3d1,文字色 #64513e,對比度 6.0:1

取得設定檔
背景色
#f1e3d1
前景色
#64513e
文字對比度
5.97:1AA
強調色對比度
3.22:1最低 2.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
❯

Swamp Light 的設定檔

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

Swamp Light

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

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

palette = 0=#f1e3d1
palette = 1=#d09700
palette = 2=#908d6a
palette = 3=#993333
palette = 4=#bf7979
palette = 5=#9e5581
palette = 6=#d09700
palette = 7=#64513e
palette = 8=#b5a492
palette = 9=#d09700
palette = 10=#908d6a
palette = 11=#993333
palette = 12=#bf7979
palette = 13=#9e5581
palette = 14=#d09700
palette = 15=#8c7b68
background = #f1e3d1
foreground = #64513e
cursor-color = #64513e
cursor-text = #f1e3d1
selection-background = #ccbcaa
selection-foreground = #64513e

Swamp Light 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#f1e3d1rgb(241 227 209)hsl(34 53% 88%)oklch(92.2% 0.028 74.3)—
前景色foreground#64513ergb(100 81 62)hsl(30 23% 32%)oklch(44.9% 0.039 66.6)5.97 AA
游標cursor#64513ergb(100 81 62)hsl(30 23% 32%)oklch(44.9% 0.039 66.6)5.97 AA
游標文字cursorText#f1e3d1rgb(241 227 209)hsl(34 53% 88%)oklch(92.2% 0.028 74.3)1.00 低於 AA
選取範圍selection#ccbcaargb(204 188 170)hsl(32 25% 73%)oklch(80.4% 0.031 70.6)1.47 低於 AA
選取文字selectionText#64513ergb(100 81 62)hsl(30 23% 32%)oklch(44.9% 0.039 66.6)5.97 AA
黑color0#f1e3d1rgb(241 227 209)hsl(34 53% 88%)oklch(92.2% 0.028 74.3)1.00 低於 AA
紅color1#d09700rgb(208 151 0)hsl(44 100% 41%)oklch(71.2% 0.147 81.5)2.05 低於 AA
綠color2#908d6argb(144 141 106)hsl(55 15% 49%)oklch(63.7% 0.050 103.6)2.68 低於 AA
黃color3#993333rgb(153 51 51)hsl(0 50% 40%)oklch(47.1% 0.137 24.0)5.79 AA
藍color4#bf7979rgb(191 121 121)hsl(0 35% 61%)oklch(65.0% 0.088 19.7)2.67 低於 AA
洋紅color5#9e5581rgb(158 85 129)hsl(324 30% 48%)oklch(55.0% 0.111 344.3)4.09 AA 大字級
青color6#d09700rgb(208 151 0)hsl(44 100% 41%)oklch(71.2% 0.147 81.5)2.05 低於 AA
白color7#64513ergb(100 81 62)hsl(30 23% 32%)oklch(44.9% 0.039 66.6)5.97 AA
亮黑color8#b5a492rgb(181 164 146)hsl(31 19% 64%)oklch(72.8% 0.032 68.9)1.92 低於 AA
亮紅color9#d09700rgb(208 151 0)hsl(44 100% 41%)oklch(71.2% 0.147 81.5)2.05 低於 AA
亮綠color10#908d6argb(144 141 106)hsl(55 15% 49%)oklch(63.7% 0.050 103.6)2.68 低於 AA
亮黃color11#993333rgb(153 51 51)hsl(0 50% 40%)oklch(47.1% 0.137 24.0)5.79 AA
亮藍color12#bf7979rgb(191 121 121)hsl(0 35% 61%)oklch(65.0% 0.088 19.7)2.67 低於 AA
亮洋紅color13#9e5581rgb(158 85 129)hsl(324 30% 48%)oklch(55.0% 0.111 344.3)4.09 AA 大字級
亮青color14#d09700rgb(208 151 0)hsl(44 100% 41%)oklch(71.2% 0.147 81.5)2.05 低於 AA
亮白color15#8c7b68rgb(140 123 104)hsl(32 15% 48%)oklch(59.3% 0.035 70.2)3.23 AA 大字級

關於 Swamp Light

Swamp Light 採用暖色調的淺色背景(#f1e3d1),預設前景色為 #64513e。內文的 WCAG 對比度為 5.97:1(AA),12 種 ANSI 彩色槽位平均對比度 3.22:1,最低 2.05:1。

色票整體色彩彩度適中,其中紅色為 #d09700、綠色為 #908d6a、藍色為 #bf7979、洋紅為 #9e5581。

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

與 Swamp Light 相似的配色

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