跳到主要內容

Electron Highlighter Day

Electron Highlighter Day 是一套淺色終端機配色(柔和、鮮艷),背景色 #eef0f5,文字色 #2f3b54,對比度 9.8:1

取得設定檔
背景色
#eef0f5
前景色
#2f3b54
文字對比度
9.83:1AAA
強調色對比度
3.22:1最低 2.30
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
❯

Electron Highlighter Day 的設定檔

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

Electron Highlighter Day

存到 ~/.config/ghostty/themes/Electron Highlighter Day,再在 config 或 config.ghostty 裏寫 theme = Electron Highlighter Day

更多 Ghostty 配色
原始檔案
# Theme: Electron Highlighter Day (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-hk/schemes/electron-highlighter-day?format=ghostty

palette = 0=#c2c6d4
palette = 1=#f52a65
palette = 2=#10a877
palette = 3=#df8e1d
palette = 4=#366ff0
palette = 5=#8b4fe0
palette = 6=#0a9fbf
palette = 7=#59647e
palette = 8=#7b88a8
palette = 9=#f52a65
palette = 10=#10a877
palette = 11=#df8e1d
palette = 12=#366ff0
palette = 13=#8b4fe0
palette = 14=#0a9fbf
palette = 15=#2f3b54
background = #eef0f5
foreground = #2f3b54
cursor-color = #2f3b54
cursor-text = #eef0f5
selection-background = #d6def5
selection-foreground = #2f3b54

Electron Highlighter Day 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#eef0f5rgb(238 240 245)hsl(223 26% 95%)oklch(95.5% 0.007 268.5)—
前景色foreground#2f3b54rgb(47 59 84)hsl(221 28% 26%)oklch(35.3% 0.047 264.4)9.83 AAA
光標cursor#2f3b54rgb(47 59 84)hsl(221 28% 26%)oklch(35.3% 0.047 264.4)9.83 AAA
光標文字cursorText#eef0f5rgb(238 240 245)hsl(223 26% 95%)oklch(95.5% 0.007 268.5)1.00 低於 AA
選取範圍selection#d6def5rgb(214 222 245)hsl(225 61% 90%)oklch(90.2% 0.033 270.4)1.18 低於 AA
選取文字selectionText#2f3b54rgb(47 59 84)hsl(221 28% 26%)oklch(35.3% 0.047 264.4)9.83 AAA
黑color0#c2c6d4rgb(194 198 212)hsl(227 17% 80%)oklch(82.8% 0.020 273.2)1.49 低於 AA
紅color1#f52a65rgb(245 42 101)hsl(343 91% 56%)oklch(63.4% 0.233 11.6)3.41 AA 大字體
綠color2#10a877rgb(16 168 119)hsl(161 83% 36%)oklch(64.9% 0.137 163.4)2.67 低於 AA
黃color3#df8e1drgb(223 142 29)hsl(35 77% 49%)oklch(71.4% 0.149 67.8)2.30 低於 AA
藍color4#366ff0rgb(54 111 240)hsl(222 86% 58%)oklch(57.9% 0.204 263.4)3.93 AA 大字體
洋紅color5#8b4fe0rgb(139 79 224)hsl(265 70% 59%)oklch(57.2% 0.210 298.5)4.29 AA 大字體
青color6#0a9fbfrgb(10 159 191)hsl(191 90% 39%)oklch(65.0% 0.116 219.2)2.74 低於 AA
白color7#59647ergb(89 100 126)hsl(222 17% 42%)oklch(50.4% 0.044 266.9)5.19 AA
亮黑color8#7b88a8rgb(123 136 168)hsl(223 21% 57%)oklch(62.8% 0.051 267.6)3.11 AA 大字體
亮紅color9#f52a65rgb(245 42 101)hsl(343 91% 56%)oklch(63.4% 0.233 11.6)3.41 AA 大字體
亮綠color10#10a877rgb(16 168 119)hsl(161 83% 36%)oklch(64.9% 0.137 163.4)2.67 低於 AA
亮黃color11#df8e1drgb(223 142 29)hsl(35 77% 49%)oklch(71.4% 0.149 67.8)2.30 低於 AA
亮藍color12#366ff0rgb(54 111 240)hsl(222 86% 58%)oklch(57.9% 0.204 263.4)3.93 AA 大字體
亮洋紅color13#8b4fe0rgb(139 79 224)hsl(265 70% 59%)oklch(57.2% 0.210 298.5)4.29 AA 大字體
亮青color14#0a9fbfrgb(10 159 191)hsl(191 90% 39%)oklch(65.0% 0.116 219.2)2.74 低於 AA
亮白color15#2f3b54rgb(47 59 84)hsl(221 28% 26%)oklch(35.3% 0.047 264.4)9.83 AAA

關於 Electron Highlighter Day

Electron Highlighter Day 採用中性色調的淺色背景(#eef0f5),預設前景色為 #2f3b54。正文的 WCAG 對比度為 9.83:1(AAA),12 種 ANSI 彩色槽位平均對比度 3.22:1,最低 2.30:1。

色板整體色彩飽和度較高,其中紅色為 #f52a65、綠色為 #10a877、藍色為 #366ff0、洋紅為 #8b4fe0。

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

與 Electron Highlighter Day 相似的配色

資料來源:iTerm2 Color Schemes (MIT)