跳到主要內容

Elic

Elic 是一套深色終端機配色(鮮艷、暖色),背景色 #4a453e,文字色 #f2f2f2,對比度 8.5:1

取得設定檔
背景色
#4a453e
前景色
#f2f2f2
文字對比度
8.48:1AAA
強調色對比度
4.02:1最低 2.11
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
❯

Elic 的設定檔

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

Elic

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

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

palette = 0=#303030
palette = 1=#e1321a
palette = 2=#6ab017
palette = 3=#ffc005
palette = 4=#729fcf
palette = 5=#ec0048
palette = 6=#f2f2f2
palette = 7=#2aa7e7
palette = 8=#5d5d5d
palette = 9=#ff361e
palette = 10=#7bc91f
palette = 11=#ffd00a
palette = 12=#0071ff
palette = 13=#ff1d62
palette = 14=#4bb8fd
palette = 15=#a020f0
background = #4a453e
foreground = #f2f2f2
cursor-color = #f2f2f2
cursor-text = #4a453e
selection-background = #716d67
selection-foreground = #f2f2f2

Elic 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#4a453ergb(74 69 62)hsl(35 9% 27%)oklch(39.3% 0.013 76.5)—
前景色foreground#f2f2f2rgb(242 242 242)hsl(0 0% 95%)oklch(96.1% 0.000 0)8.48 AAA
光標cursor#f2f2f2rgb(242 242 242)hsl(0 0% 95%)oklch(96.1% 0.000 0)8.48 AAA
光標文字cursorText#4a453ergb(74 69 62)hsl(35 9% 27%)oklch(39.3% 0.013 76.5)1.00 低於 AA
選取範圍selection#716d67rgb(113 109 103)hsl(36 5% 42%)oklch(53.6% 0.010 78.2)1.85 低於 AA
選取文字selectionText#f2f2f2rgb(242 242 242)hsl(0 0% 95%)oklch(96.1% 0.000 0)8.48 AAA
黑color0#303030rgb(48 48 48)hsl(0 0% 19%)oklch(30.9% 0.000 0)1.39 低於 AA
紅color1#e1321argb(225 50 26)hsl(7 79% 49%)oklch(59.3% 0.213 31.2)2.11 低於 AA
綠color2#6ab017rgb(106 176 23)hsl(87 77% 39%)oklch(68.4% 0.185 132.7)3.54 AA 大字體
黃color3#ffc005rgb(255 192 5)hsl(45 100% 51%)oklch(84.2% 0.172 84.5)5.78 AA
藍color4#729fcfrgb(114 159 207)hsl(211 49% 63%)oklch(68.9% 0.086 250.7)3.42 AA 大字體
洋紅color5#ec0048rgb(236 0 72)hsl(342 100% 46%)oklch(59.8% 0.239 17.2)2.11 低於 AA
青color6#f2f2f2rgb(242 242 242)hsl(0 0% 95%)oklch(96.1% 0.000 0)8.48 AAA
白color7#2aa7e7rgb(42 167 231)hsl(200 80% 54%)oklch(69.2% 0.140 237.2)3.52 AA 大字體
亮黑color8#5d5d5drgb(93 93 93)hsl(0 0% 36%)oklch(47.8% 0.000 0)1.44 低於 AA
亮紅color9#ff361ergb(255 54 30)hsl(6 100% 56%)oklch(64.9% 0.237 30.7)2.62 低於 AA
亮綠color10#7bc91frgb(123 201 31)hsl(88 73% 45%)oklch(75.6% 0.203 132.6)4.62 AA
亮黃color11#ffd00argb(255 208 10)hsl(48 100% 52%)oklch(87.3% 0.177 92.1)6.46 AA
亮藍color12#0071ffrgb(0 113 255)hsl(213 100% 50%)oklch(58.5% 0.228 259.1)2.17 低於 AA
亮洋紅color13#ff1d62rgb(255 29 98)hsl(342 100% 56%)oklch(64.5% 0.247 12.8)2.53 低於 AA
亮青color14#4bb8fdrgb(75 184 253)hsl(203 98% 64%)oklch(74.9% 0.140 240.3)4.33 AA 大字體
亮白color15#a020f0rgb(160 32 240)hsl(277 87% 53%)oklch(56.6% 0.274 306.4)1.79 低於 AA

關於 Elic

Elic 採用暖色調的深色背景(#4a453e),預設前景色為 #f2f2f2。正文的 WCAG 對比度為 8.48:1(AAA),12 種 ANSI 彩色槽位平均對比度 4.02:1,最低 2.11:1。

色板整體色彩飽和度較高,其中紅色為 #e1321a、綠色為 #6ab017、藍色為 #729fcf、洋紅為 #ec0048。

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

與 Elic 相似的配色

資料來源:Gogh (MIT OR Apache-2.0)