跳到主要內容

Edge Dark

Edge Dark 是一套深色終端機配色,背景色 #262729,文字色 #afb2b5,對比度 7.0:1

取得設定檔
背景色
#262729
前景色
#afb2b5
文字對比度
7.02:1AAA
強調色對比度
6.59:1最低 4.98
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
❯

Edge Dark 的設定檔

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

Edge Dark

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

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

palette = 0=#262729
palette = 1=#e77171
palette = 2=#a1bf78
palette = 3=#dbb774
palette = 4=#73b3e7
palette = 5=#d390e7
palette = 6=#5ebaa5
palette = 7=#afb2b5
palette = 8=#4a4c4f
palette = 9=#e77171
palette = 10=#a1bf78
palette = 11=#dbb774
palette = 12=#73b3e7
palette = 13=#d390e7
palette = 14=#5ebaa5
palette = 15=#e4e5e6
background = #262729
foreground = #afb2b5
cursor-color = #afb2b5
cursor-text = #262729
selection-background = #454649
selection-foreground = #afb2b5

Edge Dark 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#262729rgb(38 39 41)hsl(220 4% 15%)oklch(27.2% 0.004 264.5)—
前景色foreground#afb2b5rgb(175 178 181)hsl(210 4% 70%)oklch(76.2% 0.005 247.9)7.02 AAA
光標cursor#afb2b5rgb(175 178 181)hsl(210 4% 70%)oklch(76.2% 0.005 247.9)7.02 AAA
光標文字cursorText#262729rgb(38 39 41)hsl(220 4% 15%)oklch(27.2% 0.004 264.5)1.00 低於 AA
選取範圍selection#454649rgb(69 70 73)hsl(225 3% 28%)oklch(39.4% 0.005 271.3)1.58 低於 AA
選取文字selectionText#afb2b5rgb(175 178 181)hsl(210 4% 70%)oklch(76.2% 0.005 247.9)7.02 AAA
黑color0#262729rgb(38 39 41)hsl(220 4% 15%)oklch(27.2% 0.004 264.5)1.00 低於 AA
紅color1#e77171rgb(231 113 113)hsl(0 71% 67%)oklch(68.7% 0.147 21.7)4.98 AA
綠color2#a1bf78rgb(161 191 120)hsl(85 36% 61%)oklch(76.5% 0.101 127.3)7.29 AAA
黃color3#dbb774rgb(219 183 116)hsl(39 59% 66%)oklch(79.6% 0.095 82.2)7.86 AAA
藍color4#73b3e7rgb(115 179 231)hsl(207 71% 68%)oklch(74.4% 0.100 244.2)6.64 AA
洋紅color5#d390e7rgb(211 144 231)hsl(286 64% 74%)oklch(75.0% 0.140 318.2)6.35 AA
青color6#5ebaa5rgb(94 186 165)hsl(166 40% 55%)oklch(72.6% 0.094 176.7)6.44 AA
白color7#afb2b5rgb(175 178 181)hsl(210 4% 70%)oklch(76.2% 0.005 247.9)7.02 AAA
亮黑color8#4a4c4frgb(74 76 79)hsl(216 3% 30%)oklch(41.6% 0.006 258.3)1.74 低於 AA
亮紅color9#e77171rgb(231 113 113)hsl(0 71% 67%)oklch(68.7% 0.147 21.7)4.98 AA
亮綠color10#a1bf78rgb(161 191 120)hsl(85 36% 61%)oklch(76.5% 0.101 127.3)7.29 AAA
亮黃color11#dbb774rgb(219 183 116)hsl(39 59% 66%)oklch(79.6% 0.095 82.2)7.86 AAA
亮藍color12#73b3e7rgb(115 179 231)hsl(207 71% 68%)oklch(74.4% 0.100 244.2)6.64 AA
亮洋紅color13#d390e7rgb(211 144 231)hsl(286 64% 74%)oklch(75.0% 0.140 318.2)6.35 AA
亮青color14#5ebaa5rgb(94 186 165)hsl(166 40% 55%)oklch(72.6% 0.094 176.7)6.44 AA
亮白color15#e4e5e6rgb(228 229 230)hsl(210 4% 90%)oklch(92.1% 0.002 247.8)11.85 AAA

關於 Edge Dark

Edge Dark 採用中性色調的深色背景(#262729),預設前景色為 #afb2b5。正文的 WCAG 對比度為 7.02:1(AAA),12 種 ANSI 彩色槽位平均對比度 6.59:1,最低 4.98:1。

色板整體色彩飽和度適中,其中紅色為 #e77171、綠色為 #a1bf78、藍色為 #73b3e7、洋紅為 #d390e7。

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

與 Edge Dark 相似的配色

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