跳到主要內容

Soft One Dark

Soft One Dark 是一套深色終端機配色(柔和、粉彩),背景色 #282c34,文字色 #abb2bf,對比度 6.6:1

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

Soft One Dark 的設定檔

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

Soft One Dark

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

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

palette = 0=#9e9e9e
palette = 1=#ff8272
palette = 2=#97c379
palette = 3=#e4c17b
palette = 4=#64aeef
palette = 5=#c676dd
palette = 6=#828996
palette = 7=#abb2bf
palette = 8=#8e8e8e
palette = 9=#ffc4bd
palette = 10=#d6fcb9
palette = 11=#fefdd5
palette = 12=#c1e3fe
palette = 13=#ffb1fe
palette = 14=#e5e6fe
palette = 15=#feffff
background = #282c34
foreground = #abb2bf
cursor-color = #64aeef
cursor-text = #282c34
selection-background = #464a54
selection-foreground = #abb2bf

Soft One Dark 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#282c34rgb(40 44 52)hsl(220 13% 18%)oklch(29.3% 0.016 264.3)—
前景色foreground#abb2bfrgb(171 178 191)hsl(219 14% 71%)oklch(76.2% 0.020 263.0)6.57 AA
光標cursor#64aeefrgb(100 174 239)hsl(208 81% 66%)oklch(72.9% 0.121 246.8)5.89 AA
光標文字cursorText#282c34rgb(40 44 52)hsl(220 13% 18%)oklch(29.3% 0.016 264.3)1.00 低於 AA
選取範圍selection#464a54rgb(70 74 84)hsl(223 9% 30%)oklch(40.9% 0.018 268.3)1.58 低於 AA
選取文字selectionText#abb2bfrgb(171 178 191)hsl(219 14% 71%)oklch(76.2% 0.020 263.0)6.57 AA
黑color0#9e9e9ergb(158 158 158)hsl(0 0% 62%)oklch(69.9% 0.000 0)5.23 AA
紅color1#ff8272rgb(255 130 114)hsl(7 100% 72%)oklch(74.5% 0.155 28.8)5.79 AA
綠color2#97c379rgb(151 195 121)hsl(96 38% 62%)oklch(76.8% 0.111 133.4)6.93 AA
黃color3#e4c17brgb(228 193 123)hsl(40 66% 69%)oklch(82.6% 0.097 83.8)8.14 AAA
藍color4#64aeefrgb(100 174 239)hsl(208 81% 66%)oklch(72.9% 0.121 246.8)5.89 AA
洋紅color5#c676ddrgb(198 118 221)hsl(287 60% 66%)oklch(69.1% 0.167 318.4)4.69 AA
青color6#828996rgb(130 137 150)hsl(219 9% 55%)oklch(62.9% 0.021 263.0)3.98 AA 大字體
白color7#abb2bfrgb(171 178 191)hsl(219 14% 71%)oklch(76.2% 0.020 263.0)6.57 AA
亮黑color8#8e8e8ergb(142 142 142)hsl(0 0% 56%)oklch(64.7% 0.000 0)4.27 AA 大字體
亮紅color9#ffc4bdrgb(255 196 189)hsl(6 100% 87%)oklch(87.1% 0.069 26.3)9.25 AAA
亮綠color10#d6fcb9rgb(214 252 185)hsl(94 92% 86%)oklch(94.8% 0.096 132.1)12.32 AAA
亮黃color11#fefdd5rgb(254 253 213)hsl(59 95% 92%)oklch(98.5% 0.052 106.1)13.48 AAA
亮藍color12#c1e3fergb(193 227 254)hsl(207 97% 88%)oklch(90.0% 0.052 242.2)10.46 AAA
亮洋紅color13#ffb1fergb(255 177 254)hsl(301 100% 85%)oklch(85.9% 0.133 327.1)8.65 AAA
亮青color14#e5e6fergb(229 230 254)hsl(238 93% 95%)oklch(93.1% 0.032 283.8)11.39 AAA
亮白color15#feffffrgb(254 255 255)hsl(180 100% 100%)oklch(99.9% 0.001 197.1)13.97 AAA

關於 Soft One Dark

Soft One Dark 採用冷色調的深色背景(#282c34),預設前景色為 #abb2bf。正文的 WCAG 對比度為 6.57:1(AA),12 種 ANSI 彩色槽位平均對比度 8.41:1,最低 3.98:1。

色板整體色彩飽和度適中,其中紅色為 #ff8272、綠色為 #97c379、藍色為 #64aeef、洋紅為 #c676dd。該配色歸屬 One Dark & One Light 主題系列。

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

與 Soft One Dark 相似的配色

資料來源:Warp Themes (Apache-2.0)