跳到主要內容

Helios

Helios 是一套深色終端機配色,背景色 #1d2021,文字色 #d5d5d5,對比度 11.2:1

取得設定檔
背景色
#1d2021
前景色
#d5d5d5
文字對比度
11.17:1AAA
強調色對比度
5.10:1最低 3.24
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
❯

Helios 的設定檔

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

Helios

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

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

palette = 0=#1d2021
palette = 1=#d72638
palette = 2=#88b92d
palette = 3=#f19d1a
palette = 4=#1e8bac
palette = 5=#be4264
palette = 6=#1ba595
palette = 7=#d5d5d5
palette = 8=#6f7579
palette = 9=#d72638
palette = 10=#88b92d
palette = 11=#f19d1a
palette = 12=#1e8bac
palette = 13=#be4264
palette = 14=#1ba595
palette = 15=#e5e5e5
background = #1d2021
foreground = #d5d5d5
cursor-color = #d5d5d5
cursor-text = #1d2021
selection-background = #454849
selection-foreground = #d5d5d5

Helios 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#1d2021rgb(29 32 33)hsl(195 6% 12%)oklch(24.1% 0.005 219.7)—
前景色foreground#d5d5d5rgb(213 213 213)hsl(0 0% 84%)oklch(87.3% 0.000 0)11.17 AAA
光標cursor#d5d5d5rgb(213 213 213)hsl(0 0% 84%)oklch(87.3% 0.000 0)11.17 AAA
光標文字cursorText#1d2021rgb(29 32 33)hsl(195 6% 12%)oklch(24.1% 0.005 219.7)1.00 低於 AA
選取範圍selection#454849rgb(69 72 73)hsl(195 3% 28%)oklch(39.9% 0.004 219.6)1.78 低於 AA
選取文字selectionText#d5d5d5rgb(213 213 213)hsl(0 0% 84%)oklch(87.3% 0.000 0)11.17 AAA
黑color0#1d2021rgb(29 32 33)hsl(195 6% 12%)oklch(24.1% 0.005 219.7)1.00 低於 AA
紅color1#d72638rgb(215 38 56)hsl(354 70% 50%)oklch(57.0% 0.209 22.7)3.30 AA 大字體
綠color2#88b92drgb(136 185 45)hsl(81 61% 45%)oklch(72.5% 0.171 127.5)7.05 AAA
黃color3#f19d1argb(241 157 26)hsl(37 88% 52%)oklch(76.2% 0.160 70.1)7.48 AAA
藍color4#1e8bacrgb(30 139 172)hsl(194 70% 40%)oklch(59.4% 0.104 224.0)4.17 AA 大字體
洋紅color5#be4264rgb(190 66 100)hsl(344 49% 50%)oklch(56.1% 0.161 7.2)3.24 AA 大字體
青color6#1ba595rgb(27 165 149)hsl(173 72% 38%)oklch(65.0% 0.111 182.5)5.36 AA
白color7#d5d5d5rgb(213 213 213)hsl(0 0% 84%)oklch(87.3% 0.000 0)11.17 AAA
亮黑color8#6f7579rgb(111 117 121)hsl(204 4% 45%)oklch(55.9% 0.010 236.7)3.51 AA 大字體
亮紅color9#d72638rgb(215 38 56)hsl(354 70% 50%)oklch(57.0% 0.209 22.7)3.30 AA 大字體
亮綠color10#88b92drgb(136 185 45)hsl(81 61% 45%)oklch(72.5% 0.171 127.5)7.05 AAA
亮黃color11#f19d1argb(241 157 26)hsl(37 88% 52%)oklch(76.2% 0.160 70.1)7.48 AAA
亮藍color12#1e8bacrgb(30 139 172)hsl(194 70% 40%)oklch(59.4% 0.104 224.0)4.17 AA 大字體
亮洋紅color13#be4264rgb(190 66 100)hsl(344 49% 50%)oklch(56.1% 0.161 7.2)3.24 AA 大字體
亮青color14#1ba595rgb(27 165 149)hsl(173 72% 38%)oklch(65.0% 0.111 182.5)5.36 AA
亮白color15#e5e5e5rgb(229 229 229)hsl(0 0% 90%)oklch(92.2% 0.000 0)13.02 AAA

關於 Helios

Helios 採用中性色調的深色背景(#1d2021),預設前景色為 #d5d5d5。正文的 WCAG 對比度為 11.17:1(AAA),12 種 ANSI 彩色槽位平均對比度 5.10:1,最低 3.24:1。

色板整體色彩飽和度適中,其中紅色為 #d72638、綠色為 #88b92d、藍色為 #1e8bac、洋紅為 #be4264。

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

與 Helios 相似的配色

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