跳到主要內容

Midsummer Night

Midsummer Night 是一套深色終端機配色(冷色),背景色 #1c1e26,文字色 #c6b8b1,對比度 8.6:1

取得設定檔
背景色
#1c1e26
前景色
#c6b8b1
文字對比度
8.62:1AAA
強調色對比度
6.36:1最低 3.96
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
❯

Midsummer Night 的設定檔

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

Midsummer Night

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

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

palette = 0=#000000
palette = 1=#d85069
palette = 2=#2dcbbe
palette = 3=#e5a382
palette = 4=#35a5bb
palette = 5=#d34c68
palette = 6=#2dcbbe
palette = 7=#b1c7c9
palette = 8=#666666
palette = 9=#d85069
palette = 10=#2dcbbe
palette = 11=#e5a382
palette = 12=#35a5bb
palette = 13=#d34c68
palette = 14=#2dcbbe
palette = 15=#b1c7c9
background = #1c1e26
foreground = #c6b8b1
cursor-color = #c6b8b1
cursor-text = #1c1e26
selection-background = #414046
selection-foreground = #c6b8b1

Midsummer Night 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#1c1e26rgb(28 30 38)hsl(228 15% 13%)oklch(23.7% 0.016 274.1)—
前景色foreground#c6b8b1rgb(198 184 177)hsl(20 16% 74%)oklch(79.2% 0.019 48.5)8.62 AAA
游標cursor#c6b8b1rgb(198 184 177)hsl(20 16% 74%)oklch(79.2% 0.019 48.5)8.62 AAA
游標文字cursorText#1c1e26rgb(28 30 38)hsl(228 15% 13%)oklch(23.7% 0.016 274.1)1.00 低於 AA
選取範圍selection#414046rgb(65 64 70)hsl(250 4% 26%)oklch(37.5% 0.010 293.6)1.62 低於 AA
選取文字selectionText#c6b8b1rgb(198 184 177)hsl(20 16% 74%)oklch(79.2% 0.019 48.5)8.62 AAA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.26 低於 AA
紅color1#d85069rgb(216 80 105)hsl(349 64% 58%)oklch(61.9% 0.171 12.6)4.17 AA 大字級
綠color2#2dcbbergb(45 203 190)hsl(175 64% 49%)oklch(76.2% 0.125 186.3)8.23 AAA
黃color3#e5a382rgb(229 163 130)hsl(20 66% 70%)oklch(77.1% 0.091 47.5)7.83 AAA
藍color4#35a5bbrgb(53 165 187)hsl(190 56% 47%)oklch(66.9% 0.102 213.7)5.74 AA
洋紅color5#d34c68rgb(211 76 104)hsl(348 61% 56%)oklch(60.7% 0.170 11.3)3.96 AA 大字級
青color6#2dcbbergb(45 203 190)hsl(175 64% 49%)oklch(76.2% 0.125 186.3)8.23 AAA
白color7#b1c7c9rgb(177 199 201)hsl(185 18% 74%)oklch(81.4% 0.024 203.3)9.41 AAA
亮黑color8#666666rgb(102 102 102)hsl(0 0% 40%)oklch(51.0% 0.000 0)2.90 低於 AA
亮紅color9#d85069rgb(216 80 105)hsl(349 64% 58%)oklch(61.9% 0.171 12.6)4.17 AA 大字級
亮綠color10#2dcbbergb(45 203 190)hsl(175 64% 49%)oklch(76.2% 0.125 186.3)8.23 AAA
亮黃color11#e5a382rgb(229 163 130)hsl(20 66% 70%)oklch(77.1% 0.091 47.5)7.83 AAA
亮藍color12#35a5bbrgb(53 165 187)hsl(190 56% 47%)oklch(66.9% 0.102 213.7)5.74 AA
亮洋紅color13#d34c68rgb(211 76 104)hsl(348 61% 56%)oklch(60.7% 0.170 11.3)3.96 AA 大字級
亮青color14#2dcbbergb(45 203 190)hsl(175 64% 49%)oklch(76.2% 0.125 186.3)8.23 AAA
亮白color15#b1c7c9rgb(177 199 201)hsl(185 18% 74%)oklch(81.4% 0.024 203.3)9.41 AAA

關於 Midsummer Night

Midsummer Night 採用冷色調的深色背景(#1c1e26),預設前景色為 #c6b8b1。內文的 WCAG 對比度為 8.62:1(AAA),12 種 ANSI 彩色槽位平均對比度 6.36:1,最低 3.96:1。

色票整體色彩彩度適中,其中紅色為 #d85069、綠色為 #2dcbbe、藍色為 #35a5bb、洋紅為 #d34c68。

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

與 Midsummer Night 相似的配色

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