跳到主要內容

SLOMP

SLOMP 是一套深色終端機配色,背景色 #1e1e1e,文字色 #d4d4d4,對比度 11.3:1

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

SLOMP 的設定檔

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

SLOMP

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

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

palette = 0=#1e1e1e
palette = 1=#d65a77
palette = 2=#bd9a6e
palette = 3=#ca9bbc
palette = 4=#6774af
palette = 5=#c86ead
palette = 6=#6cafbd
palette = 7=#d4d4d4
palette = 8=#808080
palette = 9=#d65a77
palette = 10=#bd9a6e
palette = 11=#bd9a6e
palette = 12=#a41e6a
palette = 13=#c86ead
palette = 14=#6cafbd
palette = 15=#ffffff
background = #1e1e1e
foreground = #d4d4d4
cursor-color = #c86ead
cursor-text = #1e1e1e
selection-background = #0c363f
selection-foreground = #d4d4d4

SLOMP 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#1e1e1ergb(30 30 30)hsl(0 0% 12%)oklch(23.5% 0.000 0)—
前景色foreground#d4d4d4rgb(212 212 212)hsl(0 0% 83%)oklch(87.0% 0.000 0)11.25 AAA
游標cursor#c86eadrgb(200 110 173)hsl(318 45% 61%)oklch(66.0% 0.137 339.5)4.99 AA
游標文字cursorText#1e1e1ergb(30 30 30)hsl(0 0% 12%)oklch(23.5% 0.000 0)1.00 低於 AA
選取範圍selection#0c363frgb(12 54 63)hsl(191 68% 15%)oklch(30.9% 0.047 215.1)1.28 低於 AA
選取文字selectionText#d4d4d4rgb(212 212 212)hsl(0 0% 83%)oklch(87.0% 0.000 0)11.25 AAA
黑color0#1e1e1ergb(30 30 30)hsl(0 0% 12%)oklch(23.5% 0.000 0)1.00 低於 AA
紅color1#d65a77rgb(214 90 119)hsl(346 60% 60%)oklch(63.2% 0.158 8.3)4.44 AA 大字級
綠color2#bd9a6ergb(189 154 110)hsl(33 37% 59%)oklch(70.8% 0.073 72.6)6.36 AA
黃color3#ca9bbcrgb(202 155 188)hsl(318 31% 70%)oklch(74.3% 0.071 337.5)7.09 AAA
藍color4#6774afrgb(103 116 175)hsl(229 31% 55%)oklch(57.3% 0.092 273.7)3.73 AA 大字級
洋紅color5#c86eadrgb(200 110 173)hsl(318 45% 61%)oklch(66.0% 0.137 339.5)4.99 AA
青color6#6cafbdrgb(108 175 189)hsl(190 38% 58%)oklch(71.4% 0.071 212.4)6.75 AA
白color7#d4d4d4rgb(212 212 212)hsl(0 0% 83%)oklch(87.0% 0.000 0)11.25 AAA
亮黑color8#808080rgb(128 128 128)hsl(0 0% 50%)oklch(60.0% 0.000 0)4.22 AA 大字級
亮紅color9#d65a77rgb(214 90 119)hsl(346 60% 60%)oklch(63.2% 0.158 8.3)4.44 AA 大字級
亮綠color10#bd9a6ergb(189 154 110)hsl(33 37% 59%)oklch(70.8% 0.073 72.6)6.36 AA
亮黃color11#bd9a6ergb(189 154 110)hsl(33 37% 59%)oklch(70.8% 0.073 72.6)6.36 AA
亮藍color12#a41e6argb(164 30 106)hsl(326 69% 38%)oklch(48.6% 0.180 351.9)2.36 低於 AA
亮洋紅color13#c86eadrgb(200 110 173)hsl(318 45% 61%)oklch(66.0% 0.137 339.5)4.99 AA
亮青color14#6cafbdrgb(108 175 189)hsl(190 38% 58%)oklch(71.4% 0.071 212.4)6.75 AA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)16.67 AAA

關於 SLOMP

SLOMP 採用中性色調的深色背景(#1e1e1e),預設前景色為 #d4d4d4。內文的 WCAG 對比度為 11.25:1(AAA),12 種 ANSI 彩色槽位平均對比度 5.38:1,最低 2.36:1。

色票整體色彩彩度適中,其中紅色為 #d65a77、綠色為 #bd9a6e、藍色為 #6774af、洋紅為 #c86ead。

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

與 SLOMP 相似的配色

資料來源:iTerm2 Color Schemes (MIT)