跳到主要內容

Dotshare

Dotshare 是一套深色終端機配色(純黑),背景色 #000000,文字色 #ffffff,對比度 21.0:1

取得設定檔
背景色
#000000
前景色
#ffffff
文字對比度
21.00:1AAA
強調色對比度
7.59:1最低 3.88
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
❯

Dotshare 的設定檔

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

Dotshare

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

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

palette = 0=#101010
palette = 1=#e84f4f
palette = 2=#b8d68c
palette = 3=#e1aa5d
palette = 4=#7dc1cf
palette = 5=#9b64fb
palette = 6=#6d878d
palette = 7=#dddddd
palette = 8=#404040
palette = 9=#d23d3d
palette = 10=#a0cf5d
palette = 11=#f39d21
palette = 12=#4e9fb1
palette = 13=#8542ff
palette = 14=#42717b
palette = 15=#dddddd
background = #000000
foreground = #ffffff
cursor-color = #ffffff
cursor-text = #000000
selection-background = #222222
selection-foreground = #ffffff

Dotshare 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)—
前景色foreground#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA
光標cursor#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA
光標文字cursorText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低於 AA
選取範圍selection#222222rgb(34 34 34)hsl(0 0% 13%)oklch(25.2% 0.000 0)1.32 低於 AA
選取文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA
黑color0#101010rgb(16 16 16)hsl(0 0% 6%)oklch(17.3% 0.000 0)1.10 低於 AA
紅color1#e84f4frgb(232 79 79)hsl(0 77% 61%)oklch(63.8% 0.189 24.2)5.66 AA
綠color2#b8d68crgb(184 214 140)hsl(84 47% 69%)oklch(83.6% 0.103 126.5)13.04 AAA
黃color3#e1aa5drgb(225 170 93)hsl(35 69% 62%)oklch(77.4% 0.114 73.9)10.11 AAA
藍color4#7dc1cfrgb(125 193 207)hsl(190 46% 65%)oklch(77.1% 0.071 212.1)10.40 AAA
洋紅color5#9b64fbrgb(155 100 251)hsl(262 95% 69%)oklch(63.6% 0.215 296.6)5.61 AA
青color6#6d878drgb(109 135 141)hsl(191 13% 49%)oklch(60.5% 0.031 213.3)5.50 AA
白color7#ddddddrgb(221 221 221)hsl(0 0% 87%)oklch(89.8% 0.000 0)15.46 AAA
亮黑color8#404040rgb(64 64 64)hsl(0 0% 25%)oklch(37.1% 0.000 0)2.03 低於 AA
亮紅color9#d23d3drgb(210 61 61)hsl(0 62% 53%)oklch(58.0% 0.186 25.1)4.48 AA 大字體
亮綠color10#a0cf5drgb(160 207 93)hsl(85 54% 59%)oklch(79.7% 0.152 128.1)11.58 AAA
亮黃color11#f39d21rgb(243 157 33)hsl(35 90% 54%)oklch(76.5% 0.159 68.8)9.66 AAA
亮藍color12#4e9fb1rgb(78 159 177)hsl(191 39% 50%)oklch(65.9% 0.083 214.2)6.92 AA
亮洋紅color13#8542ffrgb(133 66 255)hsl(261 100% 63%)oklch(57.4% 0.258 292.4)4.22 AA 大字體
亮青color14#42717brgb(66 113 123)hsl(191 30% 37%)oklch(51.9% 0.054 212.8)3.88 AA 大字體
亮白color15#ddddddrgb(221 221 221)hsl(0 0% 87%)oklch(89.8% 0.000 0)15.46 AAA

關於 Dotshare

Dotshare 採用中性色調的深色背景(#000000),預設前景色為 #ffffff。正文的 WCAG 對比度為 21.00:1(AAA),12 種 ANSI 彩色槽位平均對比度 7.59:1,最低 3.88:1。

色板整體色彩飽和度適中,其中紅色為 #e84f4f、綠色為 #b8d68c、藍色為 #7dc1cf、洋紅為 #9b64fb。

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

與 Dotshare 相似的配色

資料來源:terminal.sexy (MIT)