跳到主要內容

Serendipity Morning

Serendipity Morning 是一套淺色終端機配色(柔和),背景色 #f6f7fb,文字色 #3f4363,對比度 8.9:1

取得設定檔
背景色
#f6f7fb
前景色
#3f4363
文字對比度
8.94:1AAA
強調色對比度
3.59:1最低 2.45
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
❯

Serendipity Morning 的設定檔

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

Serendipity Morning

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

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

palette = 0=#ccd0dc
palette = 1=#c25a4d
palette = 2=#2f7aab
palette = 3=#785fd0
palette = 4=#6288d8
palette = 5=#629aa5
palette = 6=#e58678
palette = 7=#3f4363
palette = 8=#505575
palette = 9=#c25a4d
palette = 10=#2f7aab
palette = 11=#785fd0
palette = 12=#6288d8
palette = 13=#629aa5
palette = 14=#e58678
palette = 15=#3f4363
background = #f6f7fb
foreground = #3f4363
cursor-color = #6d7296
cursor-text = #3f4363
selection-background = #5a5670
selection-foreground = #7f83a3

Serendipity Morning 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#f6f7fbrgb(246 247 251)hsl(228 38% 97%)oklch(97.7% 0.005 275.0)—
前景色foreground#3f4363rgb(63 67 99)hsl(233 22% 32%)oklch(39.3% 0.054 278.1)8.94 AAA
光標cursor#6d7296rgb(109 114 150)hsl(233 16% 51%)oklch(56.2% 0.056 278.3)4.36 AA 大字體
光標文字cursorText#3f4363rgb(63 67 99)hsl(233 22% 32%)oklch(39.3% 0.054 278.1)8.94 AAA
選取範圍selection#5a5670rgb(90 86 112)hsl(249 13% 39%)oklch(46.7% 0.042 291.7)6.54 AA
選取文字selectionText#7f83a3rgb(127 131 163)hsl(233 16% 57%)oklch(61.8% 0.048 279.3)3.45 AA 大字體
黑color0#ccd0dcrgb(204 208 220)hsl(225 19% 83%)oklch(85.8% 0.017 271.2)1.44 低於 AA
紅color1#c25a4drgb(194 90 77)hsl(7 49% 53%)oklch(59.4% 0.136 29.0)4.03 AA 大字體
綠color2#2f7aabrgb(47 122 171)hsl(204 57% 43%)oklch(55.6% 0.106 241.2)4.37 AA 大字體
黃color3#785fd0rgb(120 95 208)hsl(253 55% 59%)oklch(56.6% 0.167 290.2)4.51 AA
藍color4#6288d8rgb(98 136 216)hsl(221 60% 62%)oklch(63.5% 0.128 263.9)3.25 AA 大字體
洋紅color5#629aa5rgb(98 154 165)hsl(190 27% 52%)oklch(65.2% 0.061 211.4)2.93 低於 AA
青color6#e58678rgb(229 134 120)hsl(8 68% 68%)oklch(71.8% 0.119 29.2)2.45 低於 AA
白color7#3f4363rgb(63 67 99)hsl(233 22% 32%)oklch(39.3% 0.054 278.1)8.94 AAA
亮黑color8#505575rgb(80 85 117)hsl(232 19% 39%)oklch(45.8% 0.053 277.2)6.77 AA
亮紅color9#c25a4drgb(194 90 77)hsl(7 49% 53%)oklch(59.4% 0.136 29.0)4.03 AA 大字體
亮綠color10#2f7aabrgb(47 122 171)hsl(204 57% 43%)oklch(55.6% 0.106 241.2)4.37 AA 大字體
亮黃color11#785fd0rgb(120 95 208)hsl(253 55% 59%)oklch(56.6% 0.167 290.2)4.51 AA
亮藍color12#6288d8rgb(98 136 216)hsl(221 60% 62%)oklch(63.5% 0.128 263.9)3.25 AA 大字體
亮洋紅color13#629aa5rgb(98 154 165)hsl(190 27% 52%)oklch(65.2% 0.061 211.4)2.93 低於 AA
亮青color14#e58678rgb(229 134 120)hsl(8 68% 68%)oklch(71.8% 0.119 29.2)2.45 低於 AA
亮白color15#3f4363rgb(63 67 99)hsl(233 22% 32%)oklch(39.3% 0.054 278.1)8.94 AAA

關於 Serendipity Morning

Serendipity Morning 採用中性色調的淺色背景(#f6f7fb),預設前景色為 #3f4363。正文的 WCAG 對比度為 8.94:1(AAA),12 種 ANSI 彩色槽位平均對比度 3.59:1,最低 2.45:1。

色板整體色彩飽和度適中,其中紅色為 #c25a4d、綠色為 #2f7aab、藍色為 #6288d8、洋紅為 #629aa5。

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

與 Serendipity Morning 相似的配色

資料來源:iTerm2 Color Schemes (MIT)