跳到主要內容

Hadar Theme

Hadar Theme 是一套深色終端機配色(柔和、冷色),背景色 #00030f,文字色 #8695b7,對比度 6.9:1

取得設定檔
背景色
#00030f
前景色
#8695b7
文字對比度
6.86:1AA
強調色對比度
11.55:1最低 5.44
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
❯

Hadar Theme 的設定檔

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

Hadar Theme

存到 ~/.config/ghostty/themes/Hadar Theme,再在 config 或 config.ghostty 裡寫 theme = Hadar Theme

更多 Ghostty 配色
原始檔
# Theme: Hadar Theme (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-tw/schemes/hadar-theme?format=ghostty

palette = 0=#00000c
palette = 1=#f92672
palette = 2=#a6e22e
palette = 3=#e6db74
palette = 4=#66d9ef
palette = 5=#ae81ff
palette = 6=#00ffff
palette = 7=#fcfcfa
palette = 8=#2f3b54
palette = 9=#f92672
palette = 10=#a6e22e
palette = 11=#e6db74
palette = 12=#66d9ef
palette = 13=#ae81ff
palette = 14=#00ffff
palette = 15=#fcfcfa
background = #00030f
foreground = #8695b7
cursor-color = #00b09c
cursor-text = #00030f
selection-background = #142034
selection-foreground = #8695b7

Hadar Theme 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#00030frgb(0 3 15)hsl(228 100% 3%)oklch(10.1% 0.037 257.7)—
前景色foreground#8695b7rgb(134 149 183)hsl(222 25% 62%)oklch(67.0% 0.053 266.3)6.86 AA
游標cursor#00b09crgb(0 176 156)hsl(173 100% 35%)oklch(67.9% 0.122 180.9)7.54 AAA
游標文字cursorText#00030frgb(0 3 15)hsl(228 100% 3%)oklch(10.1% 0.037 257.7)1.00 低於 AA
選取範圍selection#142034rgb(20 32 52)hsl(218 44% 14%)oklch(24.3% 0.042 260.2)1.26 低於 AA
選取文字selectionText#8695b7rgb(134 149 183)hsl(222 25% 62%)oklch(67.0% 0.053 266.3)6.86 AA
黑color0#00000crgb(0 0 12)hsl(240 100% 2%)oklch(7.0% 0.048 264.1)1.01 低於 AA
紅color1#f92672rgb(249 38 114)hsl(338 95% 56%)oklch(64.2% 0.240 7.5)5.44 AA
綠color2#a6e22ergb(166 226 46)hsl(80 76% 53%)oklch(84.1% 0.204 127.3)13.27 AAA
黃color3#e6db74rgb(230 219 116)hsl(54 70% 68%)oklch(87.9% 0.125 103.2)14.46 AAA
藍color4#66d9efrgb(102 217 239)hsl(190 81% 67%)oklch(82.7% 0.108 212.0)12.49 AAA
洋紅color5#ae81ffrgb(174 129 255)hsl(261 100% 75%)oklch(70.1% 0.181 298.1)7.24 AAA
青color6#00ffffrgb(0 255 255)hsl(180 100% 50%)oklch(90.5% 0.155 194.8)16.42 AAA
白color7#fcfcfargb(252 252 250)hsl(60 25% 98%)oklch(99.1% 0.003 106.4)20.04 AAA
亮黑color8#2f3b54rgb(47 59 84)hsl(221 28% 26%)oklch(35.3% 0.047 264.4)1.84 低於 AA
亮紅color9#f92672rgb(249 38 114)hsl(338 95% 56%)oklch(64.2% 0.240 7.5)5.44 AA
亮綠color10#a6e22ergb(166 226 46)hsl(80 76% 53%)oklch(84.1% 0.204 127.3)13.27 AAA
亮黃color11#e6db74rgb(230 219 116)hsl(54 70% 68%)oklch(87.9% 0.125 103.2)14.46 AAA
亮藍color12#66d9efrgb(102 217 239)hsl(190 81% 67%)oklch(82.7% 0.108 212.0)12.49 AAA
亮洋紅color13#ae81ffrgb(174 129 255)hsl(261 100% 75%)oklch(70.1% 0.181 298.1)7.24 AAA
亮青color14#00ffffrgb(0 255 255)hsl(180 100% 50%)oklch(90.5% 0.155 194.8)16.42 AAA
亮白color15#fcfcfargb(252 252 250)hsl(60 25% 98%)oklch(99.1% 0.003 106.4)20.04 AAA

關於 Hadar Theme

Hadar Theme 採用冷色調的深色背景(#00030f),預設前景色為 #8695b7。內文的 WCAG 對比度為 6.86:1(AA),12 種 ANSI 彩色槽位平均對比度 11.55:1,最低 5.44:1。

色票整體色彩彩度適中,其中紅色為 #f92672、綠色為 #a6e22e、藍色為 #66d9ef、洋紅為 #ae81ff。

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

與 Hadar Theme 相似的配色

資料來源:Warp Themes (Apache-2.0)