跳到主要內容

Darktooth

Darktooth 是一套深色終端機配色(柔和),背景色 #1d2021,文字色 #a89984,對比度 5.9:1

取得設定檔
背景色
#1d2021
前景色
#a89984
文字對比度
5.90:1AA
強調色對比度
5.69:1最低 2.49
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
❯

Darktooth 的設定檔

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

Darktooth

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

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

palette = 0=#1d2021
palette = 1=#fb543f
palette = 2=#95c085
palette = 3=#fac03b
palette = 4=#0d6678
palette = 5=#8f4673
palette = 6=#8ba59b
palette = 7=#a89984
palette = 8=#665c54
palette = 9=#fb543f
palette = 10=#95c085
palette = 11=#fac03b
palette = 12=#0d6678
palette = 13=#8f4673
palette = 14=#8ba59b
palette = 15=#fdf4c1
background = #1d2021
foreground = #a89984
cursor-color = #a89984
cursor-text = #1d2021
selection-background = #3c3b38
selection-foreground = #a89984

Darktooth 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#1d2021rgb(29 32 33)hsl(195 6% 12%)oklch(24.1% 0.005 219.7)—
前景色foreground#a89984rgb(168 153 132)hsl(35 17% 59%)oklch(69.0% 0.035 76.3)5.90 AA
游標cursor#a89984rgb(168 153 132)hsl(35 17% 59%)oklch(69.0% 0.035 76.3)5.90 AA
游標文字cursorText#1d2021rgb(29 32 33)hsl(195 6% 12%)oklch(24.1% 0.005 219.7)1.00 低於 AA
選取範圍selection#3c3b38rgb(60 59 56)hsl(45 3% 23%)oklch(35.2% 0.005 91.5)1.46 低於 AA
選取文字selectionText#a89984rgb(168 153 132)hsl(35 17% 59%)oklch(69.0% 0.035 76.3)5.90 AA
黑color0#1d2021rgb(29 32 33)hsl(195 6% 12%)oklch(24.1% 0.005 219.7)1.00 低於 AA
紅color1#fb543frgb(251 84 63)hsl(7 96% 62%)oklch(67.2% 0.207 30.4)5.03 AA
綠color2#95c085rgb(149 192 133)hsl(104 32% 64%)oklch(76.2% 0.094 137.4)7.93 AAA
黃color3#fac03brgb(250 192 59)hsl(42 95% 61%)oklch(83.9% 0.155 83.6)9.89 AAA
藍color4#0d6678rgb(13 102 120)hsl(190 80% 26%)oklch(47.1% 0.080 216.2)2.49 低於 AA
洋紅color5#8f4673rgb(143 70 115)hsl(323 34% 42%)oklch(50.0% 0.114 344.1)2.57 低於 AA
青color6#8ba59brgb(139 165 155)hsl(157 13% 60%)oklch(69.9% 0.032 170.1)6.21 AA
白color7#a89984rgb(168 153 132)hsl(35 17% 59%)oklch(69.0% 0.035 76.3)5.90 AA
亮黑color8#665c54rgb(102 92 84)hsl(27 10% 36%)oklch(48.2% 0.018 61.0)2.52 低於 AA
亮紅color9#fb543frgb(251 84 63)hsl(7 96% 62%)oklch(67.2% 0.207 30.4)5.03 AA
亮綠color10#95c085rgb(149 192 133)hsl(104 32% 64%)oklch(76.2% 0.094 137.4)7.93 AAA
亮黃color11#fac03brgb(250 192 59)hsl(42 95% 61%)oklch(83.9% 0.155 83.6)9.89 AAA
亮藍color12#0d6678rgb(13 102 120)hsl(190 80% 26%)oklch(47.1% 0.080 216.2)2.49 低於 AA
亮洋紅color13#8f4673rgb(143 70 115)hsl(323 34% 42%)oklch(50.0% 0.114 344.1)2.57 低於 AA
亮青color14#8ba59brgb(139 165 155)hsl(157 13% 60%)oklch(69.9% 0.032 170.1)6.21 AA
亮白color15#fdf4c1rgb(253 244 193)hsl(51 94% 87%)oklch(96.2% 0.066 99.2)14.75 AAA

關於 Darktooth

Darktooth 採用中性色調的深色背景(#1d2021),預設前景色為 #a89984。內文的 WCAG 對比度為 5.90:1(AA),12 種 ANSI 彩色槽位平均對比度 5.69:1,最低 2.49:1。

色票整體色彩彩度適中,其中紅色為 #fb543f、綠色為 #95c085、藍色為 #0d6678、洋紅為 #8f4673。

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

與 Darktooth 相似的配色

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