跳到主要內容

Ghostty Default Style Dark

Ghostty Default Style Dark 是一套深色終端機配色(冷色),背景色 #282c34,文字色 #ffffff,對比度 14.0:1

取得設定檔
背景色
#282c34
前景色
#ffffff
文字對比度
14.00:1AAA
強調色對比度
6.17:1最低 3.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
❯

Ghostty Default Style Dark 的設定檔

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

Ghostty Default Style Dark

存到 ~/.config/ghostty/themes/Ghostty Default Style Dark,再在 config 或 config.ghostty 裡寫 theme = Ghostty Default Style Dark

更多 Ghostty 配色
原始檔
# Theme: Ghostty Default Style Dark (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-tw/schemes/ghostty-default-style-dark?format=ghostty

palette = 0=#1d1f21
palette = 1=#cc6566
palette = 2=#b6bd68
palette = 3=#f0c674
palette = 4=#82a2be
palette = 5=#b294bb
palette = 6=#8abeb7
palette = 7=#c4c8c6
palette = 8=#666666
palette = 9=#d54e53
palette = 10=#b9ca4b
palette = 11=#e7c547
palette = 12=#7aa6da
palette = 13=#c397d8
palette = 14=#70c0b1
palette = 15=#eaeaea
background = #282c34
foreground = #ffffff
cursor-color = #ffffff
cursor-text = #353a44
selection-background = #ffffff
selection-foreground = #282c34

Ghostty Default Style Dark 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#282c34rgb(40 44 52)hsl(220 13% 18%)oklch(29.3% 0.016 264.3)—
前景色foreground#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)14.00 AAA
游標cursor#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)14.00 AAA
游標文字cursorText#353a44rgb(53 58 68)hsl(220 12% 24%)oklch(34.8% 0.019 264.3)1.23 低於 AA
選取範圍selection#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)14.00 AAA
選取文字selectionText#282c34rgb(40 44 52)hsl(220 13% 18%)oklch(29.3% 0.016 264.3)1.00 低於 AA
黑color0#1d1f21rgb(29 31 33)hsl(210 6% 12%)oklch(23.8% 0.005 248.0)1.18 低於 AA
紅color1#cc6566rgb(204 101 102)hsl(359 50% 60%)oklch(62.9% 0.131 20.9)3.75 AA 大字級
綠color2#b6bd68rgb(182 189 104)hsl(65 39% 57%)oklch(77.4% 0.109 112.8)6.98 AA
黃color3#f0c674rgb(240 198 116)hsl(40 81% 70%)oklch(84.6% 0.111 82.9)8.69 AAA
藍color4#82a2bergb(130 162 190)hsl(208 32% 63%)oklch(69.8% 0.054 245.1)5.24 AA
洋紅color5#b294bbrgb(178 148 187)hsl(286 22% 66%)oklch(70.7% 0.065 318.3)5.23 AA
青color6#8abeb7rgb(138 190 183)hsl(172 29% 64%)oklch(76.3% 0.055 185.7)6.75 AA
白color7#c4c8c6rgb(196 200 198)hsl(150 4% 78%)oklch(82.9% 0.005 165.0)8.28 AAA
亮黑color8#666666rgb(102 102 102)hsl(0 0% 40%)oklch(51.0% 0.000 0)2.44 低於 AA
亮紅color9#d54e53rgb(213 78 83)hsl(358 62% 57%)oklch(60.8% 0.170 21.6)3.36 AA 大字級
亮綠color10#b9ca4brgb(185 202 75)hsl(68 55% 54%)oklch(80.2% 0.151 116.4)7.74 AAA
亮黃color11#e7c547rgb(231 197 71)hsl(47 77% 59%)oklch(83.1% 0.145 93.7)8.32 AAA
亮藍color12#7aa6dargb(122 166 218)hsl(213 56% 67%)oklch(71.4% 0.090 253.1)5.53 AA
亮洋紅color13#c397d8rgb(195 151 216)hsl(281 45% 72%)oklch(74.0% 0.103 314.6)5.83 AA
亮青color14#70c0b1rgb(112 192 177)hsl(169 39% 60%)oklch(75.2% 0.082 180.6)6.58 AA
亮白color15#eaeaeargb(234 234 234)hsl(0 0% 92%)oklch(93.7% 0.000 0)11.64 AAA

關於 Ghostty Default Style Dark

Ghostty Default Style Dark 採用冷色調的深色背景(#282c34),預設前景色為 #ffffff。內文的 WCAG 對比度為 14.00:1(AAA),12 種 ANSI 彩色槽位平均對比度 6.17:1,最低 3.36:1。

色票整體色彩彩度適中,其中紅色為 #cc6566、綠色為 #b6bd68、藍色為 #82a2be、洋紅為 #b294bb。

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

與 Ghostty Default Style Dark 相似的配色

資料來源:iTerm2 Color Schemes (MIT)