跳到正文

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/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)