跳到正文

Daybreaker

Daybreaker 是一套浅色终端配色,背景色 #fffaf6,文字色 #1e1e1e,对比度 16.1:1

获取配置
背景色
#fffaf6
前景色
#1e1e1e
文字对比度
16.08:1AAA
强调色对比度
8.13:1最低 7.01
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
❯

Daybreaker 的配置文件

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

Daybreaker

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

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

palette = 0=#292929
palette = 1=#9f1717
palette = 2=#075523
palette = 3=#594300
palette = 4=#1452ad
palette = 5=#6f2d9b
palette = 6=#005064
palette = 7=#3d3d3d
palette = 8=#555555
palette = 9=#a91e1e
palette = 10=#075923
palette = 11=#5d4700
palette = 12=#16478f
palette = 13=#7434a1
palette = 14=#005369
palette = 15=#484848
background = #fffaf6
foreground = #1e1e1e
cursor-color = #8a4b00
cursor-text = #fffaf6
selection-background = #e5e1d8
selection-foreground = #1e1e1e

Daybreaker 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#fffaf6rgb(255 250 246)hsl(27 100% 98%)oklch(98.8% 0.008 61.5)—
前景色foreground#1e1e1ergb(30 30 30)hsl(0 0% 12%)oklch(23.5% 0.000 0)16.08 AAA
光标cursor#8a4b00rgb(138 75 0)hsl(33 100% 27%)oklch(47.9% 0.112 59.9)6.56 AA
光标文字cursorText#fffaf6rgb(255 250 246)hsl(27 100% 98%)oklch(98.8% 0.008 61.5)1.00 低于 AA
选区selection#e5e1d8rgb(229 225 216)hsl(42 20% 87%)oklch(91.0% 0.013 86.8)1.26 低于 AA
选区文字selectionText#1e1e1ergb(30 30 30)hsl(0 0% 12%)oklch(23.5% 0.000 0)16.08 AAA
黑color0#292929rgb(41 41 41)hsl(0 0% 16%)oklch(28.1% 0.000 0)14.03 AAA
红color1#9f1717rgb(159 23 23)hsl(0 75% 36%)oklch(45.2% 0.170 27.5)7.76 AAA
绿color2#075523rgb(7 85 35)hsl(142 85% 18%)oklch(39.4% 0.107 149.1)8.68 AAA
黄color3#594300rgb(89 67 0)hsl(45 100% 17%)oklch(39.6% 0.081 87.3)9.09 AAA
蓝color4#1452adrgb(20 82 173)hsl(216 79% 38%)oklch(45.7% 0.158 259.0)7.13 AAA
品红color5#6f2d9brgb(111 45 155)hsl(276 55% 39%)oklch(44.5% 0.173 308.4)8.02 AAA
青color6#005064rgb(0 80 100)hsl(192 100% 20%)oklch(40.0% 0.074 222.0)8.69 AAA
白color7#3d3d3drgb(61 61 61)hsl(0 0% 24%)oklch(36.0% 0.000 0)10.48 AAA
亮黑color8#555555rgb(85 85 85)hsl(0 0% 33%)oklch(45.0% 0.000 0)7.19 AAA
亮红color9#a91e1ergb(169 30 30)hsl(0 70% 39%)oklch(47.7% 0.174 27.0)7.01 AAA
亮绿color10#075923rgb(7 89 35)hsl(140 85% 19%)oklch(40.6% 0.112 148.4)8.23 AAA
亮黄color11#5d4700rgb(93 71 0)hsl(46 100% 18%)oklch(41.0% 0.084 88.3)8.56 AAA
亮蓝color12#16478frgb(22 71 143)hsl(216 73% 32%)oklch(40.9% 0.130 258.6)8.69 AAA
亮品红color13#7434a1rgb(116 52 161)hsl(275 51% 42%)oklch(46.5% 0.172 308.0)7.37 AAA
亮青color14#005369rgb(0 83 105)hsl(193 100% 21%)oklch(41.1% 0.077 223.5)8.30 AAA
亮白color15#484848rgb(72 72 72)hsl(0 0% 28%)oklch(40.2% 0.000 0)8.82 AAA

关于 Daybreaker

Daybreaker 采用中性色调的浅色背景(#fffaf6),默认前景色为 #1e1e1e。正文的 WCAG 对比度为 16.08:1(AAA),12 种 ANSI 彩色槽位平均对比度 8.13:1,最低 7.01:1。

色板整体色彩饱和度适中,其中红色为 #9f1717、绿色为 #075523、蓝色为 #1452ad、品红为 #6f2d9b。

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

与 Daybreaker 相似的配色

数据来源:iTerm2 Color Schemes (MIT)