跳到主要內容

Atom One Dark

Atom One Dark 是一套深色終端機配色(冷色),背景色 #21252b,文字色 #abb2bf,對比度 7.2:1

取得設定檔
背景色
#21252b
前景色
#abb2bf
文字對比度
7.22:1AAA
強調色對比度
6.60:1最低 4.82
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
❯

Atom One Dark 的設定檔

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

Atom One Dark

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

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

palette = 0=#21252b
palette = 1=#e06c75
palette = 2=#98c379
palette = 3=#e5c07b
palette = 4=#61afef
palette = 5=#c678dd
palette = 6=#56b6c2
palette = 7=#abb2bf
palette = 8=#767676
palette = 9=#e06c75
palette = 10=#98c379
palette = 11=#e5c07b
palette = 12=#61afef
palette = 13=#c678dd
palette = 14=#56b6c2
palette = 15=#abb2bf
background = #21252b
foreground = #abb2bf
cursor-color = #abb2bf
cursor-text = #21252b
selection-background = #323844
selection-foreground = #abb2bf

Atom One Dark 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#21252brgb(33 37 43)hsl(216 13% 15%)oklch(26.3% 0.013 258.4)—
前景色foreground#abb2bfrgb(171 178 191)hsl(219 14% 71%)oklch(76.2% 0.020 263.0)7.22 AAA
游標cursor#abb2bfrgb(171 178 191)hsl(219 14% 71%)oklch(76.2% 0.020 263.0)7.22 AAA
游標文字cursorText#21252brgb(33 37 43)hsl(216 13% 15%)oklch(26.3% 0.013 258.4)1.00 低於 AA
選取範圍selection#323844rgb(50 56 68)hsl(220 15% 23%)oklch(34.0% 0.023 264.2)1.31 低於 AA
選取文字selectionText#abb2bfrgb(171 178 191)hsl(219 14% 71%)oklch(76.2% 0.020 263.0)7.22 AAA
黑color0#21252brgb(33 37 43)hsl(216 13% 15%)oklch(26.3% 0.013 258.4)1.00 低於 AA
紅color1#e06c75rgb(224 108 117)hsl(355 65% 65%)oklch(67.1% 0.145 17.0)4.82 AA
綠color2#98c379rgb(152 195 121)hsl(95 38% 62%)oklch(76.8% 0.110 133.0)7.64 AAA
黃color3#e5c07brgb(229 192 123)hsl(39 67% 69%)oklch(82.5% 0.097 82.3)8.91 AAA
藍color4#61afefrgb(97 175 239)hsl(207 82% 66%)oklch(73.0% 0.121 245.3)6.51 AA
洋紅color5#c678ddrgb(198 120 221)hsl(286 60% 67%)oklch(69.4% 0.164 318.2)5.23 AA
青color6#56b6c2rgb(86 182 194)hsl(187 47% 55%)oklch(72.3% 0.092 206.3)6.50 AA
白color7#abb2bfrgb(171 178 191)hsl(219 14% 71%)oklch(76.2% 0.020 263.0)7.22 AAA
亮黑color8#767676rgb(118 118 118)hsl(0 0% 46%)oklch(56.6% 0.000 0)3.39 AA 大字級
亮紅color9#e06c75rgb(224 108 117)hsl(355 65% 65%)oklch(67.1% 0.145 17.0)4.82 AA
亮綠color10#98c379rgb(152 195 121)hsl(95 38% 62%)oklch(76.8% 0.110 133.0)7.64 AAA
亮黃color11#e5c07brgb(229 192 123)hsl(39 67% 69%)oklch(82.5% 0.097 82.3)8.91 AAA
亮藍color12#61afefrgb(97 175 239)hsl(207 82% 66%)oklch(73.0% 0.121 245.3)6.51 AA
亮洋紅color13#c678ddrgb(198 120 221)hsl(286 60% 67%)oklch(69.4% 0.164 318.2)5.23 AA
亮青color14#56b6c2rgb(86 182 194)hsl(187 47% 55%)oklch(72.3% 0.092 206.3)6.50 AA
亮白color15#abb2bfrgb(171 178 191)hsl(219 14% 71%)oklch(76.2% 0.020 263.0)7.22 AAA

關於 Atom One Dark

Atom One Dark 採用冷色調的深色背景(#21252b),預設前景色為 #abb2bf。內文的 WCAG 對比度為 7.22:1(AAA),12 種 ANSI 彩色槽位平均對比度 6.60:1,最低 4.82:1。

色票整體色彩彩度適中,其中紅色為 #e06c75、綠色為 #98c379、藍色為 #61afef、洋紅為 #c678dd。此配色歸屬 One Dark & One Light 主題系列。

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

與 Atom One Dark 相似的配色

資料來源:iTerm2 Color Schemes (MIT)