跳到正文

Diary of a Lunatic

Diary of a Lunatic 是一套深色终端配色(粉彩、冷色),背景色 #042631,文字色 #d8f5f7,对比度 13.8:1

获取配置
背景色
#042631
前景色
#d8f5f7
文字对比度
13.81:1AAA
强调色对比度
8.96:1最低 6.40
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
❯

Diary of a Lunatic 的配置文件

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

Diary of a Lunatic

存到 ~/.config/ghostty/themes/Diary of a Lunatic,再在 config 或 config.ghostty 里写 theme = Diary of a Lunatic

更多 Ghostty 配色
原始文件
# Theme: Diary of a Lunatic (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/schemes/diary-of-a-lunatic?format=ghostty

palette = 0=#9ebdc7
palette = 1=#e58c91
palette = 2=#94cfac
palette = 3=#e3bb69
palette = 4=#83bce7
palette = 5=#b59be8
palette = 6=#72d7e3
palette = 7=#d8f5f7
palette = 8=#b9d3da
palette = 9=#f1a4aa
palette = 10=#b0e2c1
palette = 11=#f2d38b
palette = 12=#a0d1f0
palette = 13=#ccb3f5
palette = 14=#96eaf1
palette = 15=#f3ffff
background = #042631
foreground = #d8f5f7
cursor-color = #eac16a
cursor-text = #042631
selection-background = #234c64
selection-foreground = #f1ffff

Diary of a Lunatic 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#042631rgb(4 38 49)hsl(195 85% 10%)oklch(25.1% 0.043 224.0)—
前景色foreground#d8f5f7rgb(216 245 247)hsl(184 66% 91%)oklch(95.0% 0.030 201.7)13.81 AAA
光标cursor#eac16argb(234 193 106)hsl(41 75% 67%)oklch(82.9% 0.116 84.6)9.30 AAA
光标文字cursorText#042631rgb(4 38 49)hsl(195 85% 10%)oklch(25.1% 0.043 224.0)1.00 低于 AA
选区selection#234c64rgb(35 76 100)hsl(202 48% 26%)oklch(39.8% 0.061 236.8)1.73 低于 AA
选区文字selectionText#f1ffffrgb(241 255 255)hsl(180 100% 97%)oklch(99.0% 0.015 196.9)15.44 AAA
黑color0#9ebdc7rgb(158 189 199)hsl(195 27% 70%)oklch(77.9% 0.036 219.3)7.96 AAA
红color1#e58c91rgb(229 140 145)hsl(357 63% 72%)oklch(73.4% 0.109 16.4)6.40 AA
绿color2#94cfacrgb(148 207 172)hsl(144 38% 70%)oklch(80.4% 0.078 158.0)8.88 AAA
黄color3#e3bb69rgb(227 187 105)hsl(40 69% 65%)oklch(81.0% 0.111 83.9)8.73 AAA
蓝color4#83bce7rgb(131 188 231)hsl(206 68% 71%)oklch(77.2% 0.086 241.8)7.77 AAA
品红color5#b59be8rgb(181 155 232)hsl(260 63% 76%)oklch(74.1% 0.112 299.2)6.65 AA
青color6#72d7e3rgb(114 215 227)hsl(186 67% 67%)oklch(82.3% 0.096 205.6)9.46 AAA
白color7#d8f5f7rgb(216 245 247)hsl(184 66% 91%)oklch(95.0% 0.030 201.7)13.81 AAA
亮黑color8#b9d3dargb(185 211 218)hsl(193 31% 79%)oklch(85.0% 0.030 215.7)10.09 AAA
亮红color9#f1a4aargb(241 164 170)hsl(355 73% 79%)oklch(79.5% 0.092 14.2)8.01 AAA
亮绿color10#b0e2c1rgb(176 226 193)hsl(140 46% 79%)oklch(86.9% 0.069 155.8)10.92 AAA
亮黄color11#f2d38brgb(242 211 139)hsl(42 80% 75%)oklch(87.7% 0.097 87.1)10.90 AAA
亮蓝color12#a0d1f0rgb(160 209 240)hsl(203 73% 78%)oklch(83.7% 0.067 236.4)9.70 AAA
亮品红color13#ccb3f5rgb(204 179 245)hsl(263 77% 83%)oklch(81.1% 0.095 301.7)8.54 AAA
亮青color14#96eaf1rgb(150 234 241)hsl(185 76% 77%)oklch(88.6% 0.082 202.5)11.56 AAA
亮白color15#f3ffffrgb(243 255 255)hsl(180 100% 98%)oklch(99.1% 0.013 197.0)15.50 AAA

关于 Diary of a Lunatic

Diary of a Lunatic 采用冷色调的深色背景(#042631),默认前景色为 #d8f5f7。正文的 WCAG 对比度为 13.81:1(AAA),12 种 ANSI 彩色槽位平均对比度 8.96:1,最低 6.40:1。

色板整体色彩饱和度适中,其中红色为 #e58c91、绿色为 #94cfac、蓝色为 #83bce7、品红为 #b59be8。

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

与 Diary of a Lunatic 相似的配色

数据来源:iTerm2 Color Schemes (MIT)