跳到正文

Sweet Emotion

Sweet Emotion 是一套深色终端配色(冷色),背景色 #211027,文字色 #f9e5f4,对比度 15.0:1

获取配置
背景色
#211027
前景色
#f9e5f4
文字对比度
15.02:1AAA
强调色对比度
8.85:1最低 6.63
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
❯

Sweet Emotion 的配置文件

16 种格式,都从同一份色板生成

Sweet Emotion

存到 ~/.config/ghostty/themes/Sweet Emotion,再在 config 或 config.ghostty 里写 theme = Sweet Emotion

更多 Ghostty 配色
原始文件
# Theme: Sweet Emotion (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/schemes/sweet-emotion?format=ghostty

palette = 0=#a6a7a6
palette = 1=#ee75a8
palette = 2=#78c6a6
palette = 3=#e6b86b
palette = 4=#89a8ee
palette = 5=#c38bec
palette = 6=#75cbd6
palette = 7=#f9e5f4
palette = 8=#c4c7c8
palette = 9=#f18bb6
palette = 10=#8ecfb4
palette = 11=#eac383
palette = 12=#9cb6f1
palette = 13=#cd9eef
palette = 14=#8bd3dd
palette = 15=#fff9ee
background = #211027
foreground = #f9e5f4
cursor-color = #e6b86b
cursor-text = #211027
selection-background = #49343d
selection-foreground = #fff8ee

Sweet Emotion 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#211027rgb(33 16 39)hsl(284 42% 11%)oklch(20.9% 0.050 316.8)—
前景色foreground#f9e5f4rgb(249 229 244)hsl(315 62% 94%)oklch(94.2% 0.029 334.4)15.02 AAA
光标cursor#e6b86brgb(230 184 107)hsl(38 71% 66%)oklch(80.8% 0.109 79.1)9.79 AAA
光标文字cursorText#211027rgb(33 16 39)hsl(284 42% 11%)oklch(20.9% 0.050 316.8)1.00 低于 AA
选区selection#49343drgb(73 52 61)hsl(334 17% 25%)oklch(35.2% 0.033 351.5)1.58 低于 AA
选区文字selectionText#fff8eergb(255 248 238)hsl(35 100% 97%)oklch(98.2% 0.015 77.1)17.05 AAA
黑color0#a6a7a6rgb(166 167 166)hsl(120 1% 65%)oklch(72.7% 0.002 145.6)7.45 AAA
红color1#ee75a8rgb(238 117 168)hsl(335 78% 70%)oklch(71.7% 0.158 355.3)6.63 AA
绿color2#78c6a6rgb(120 198 166)hsl(155 41% 62%)oklch(76.7% 0.091 166.0)8.93 AAA
黄color3#e6b86brgb(230 184 107)hsl(38 71% 66%)oklch(80.8% 0.109 79.1)9.79 AAA
蓝color4#89a8eergb(137 168 238)hsl(222 75% 74%)oklch(73.6% 0.108 265.5)7.62 AAA
品红color5#c38becrgb(195 139 236)hsl(275 72% 74%)oklch(72.8% 0.147 309.7)7.04 AAA
青color6#75cbd6rgb(117 203 214)hsl(187 54% 65%)oklch(79.2% 0.085 206.2)9.65 AAA
白color7#f9e5f4rgb(249 229 244)hsl(315 62% 94%)oklch(94.2% 0.029 334.4)15.02 AAA
亮黑color8#c4c7c8rgb(196 199 200)hsl(195 4% 78%)oklch(82.8% 0.004 219.5)10.57 AAA
亮红color9#f18bb6rgb(241 139 182)hsl(335 78% 75%)oklch(75.7% 0.133 354.0)7.80 AAA
亮绿color10#8ecfb4rgb(142 207 180)hsl(155 40% 68%)oklch(80.3% 0.077 166.7)10.05 AAA
亮黄color11#eac383rgb(234 195 131)hsl(37 71% 72%)oklch(83.7% 0.093 79.3)10.81 AAA
亮蓝color12#9cb6f1rgb(156 182 241)hsl(222 75% 78%)oklch(77.8% 0.090 266.0)8.88 AAA
亮品红color13#cd9eefrgb(205 158 239)hsl(275 72% 78%)oklch(77.1% 0.123 310.3)8.33 AAA
亮青color14#8bd3ddrgb(139 211 221)hsl(187 55% 71%)oklch(82.3% 0.073 206.9)10.67 AAA
亮白color15#fff9eergb(255 249 238)hsl(39 100% 97%)oklch(98.4% 0.016 82.8)17.15 AAA

关于 Sweet Emotion

Sweet Emotion 采用冷色调的深色背景(#211027),默认前景色为 #f9e5f4。正文的 WCAG 对比度为 15.02:1(AAA),12 种 ANSI 彩色槽位平均对比度 8.85:1,最低 6.63:1。

色板整体色彩饱和度适中,其中红色为 #ee75a8、绿色为 #78c6a6、蓝色为 #89a8ee、品红为 #c38bec。

支持一键导出 Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 终端配置文件,同时提供 VS Code 与 Zed 集成终端、CSS 变量、Tailwind CSS 及 JSON 色板格式。

与 Sweet Emotion 相似的配色

数据来源:iTerm2 Color Schemes (MIT)