跳到主要內容

Candlelight

Candlelight 是一套深色終端機配色(低飽和、暖色),背景色 #432708,文字色 #f8e7c4,對比度 11.2:1

取得設定檔
背景色
#432708
前景色
#f8e7c4
文字對比度
11.24:1AAA
強調色對比度
6.37:1最低 5.04
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
❯

Candlelight 的設定檔

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

Candlelight

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

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

palette = 0=#c8b99e
palette = 1=#e89661
palette = 2=#9ab57c
palette = 3=#dfbb53
palette = 4=#83aebd
palette = 5=#bc91a4
palette = 6=#79b8ae
palette = 7=#f8e7c4
palette = 8=#cfc1aa
palette = 9=#eba374
palette = 10=#a6be8c
palette = 11=#e3c368
palette = 12=#92b8c5
palette = 13=#c49eaf
palette = 14=#89c1b8
palette = 15=#f9eacb
background = #432708
foreground = #f8e7c4
cursor-color = #eba374
cursor-text = #432708
selection-background = #cfc1aa
selection-foreground = #a09172

Candlelight 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#432708rgb(67 39 8)hsl(32 79% 15%)oklch(30.2% 0.060 64.1)—
前景色foreground#f8e7c4rgb(248 231 196)hsl(40 79% 87%)oklch(93.3% 0.049 85.1)11.24 AAA
光標cursor#eba374rgb(235 163 116)hsl(24 75% 69%)oklch(77.5% 0.106 53.7)6.54 AA
光標文字cursorText#432708rgb(67 39 8)hsl(32 79% 15%)oklch(30.2% 0.060 64.1)1.00 低於 AA
選取範圍selection#cfc1aargb(207 193 170)hsl(37 28% 74%)oklch(81.6% 0.035 80.3)7.74 AAA
選取文字selectionText#a09172rgb(160 145 114)hsl(40 19% 54%)oklch(66.2% 0.047 85.1)4.43 AA 大字體
黑color0#c8b99ergb(200 185 158)hsl(39 28% 70%)oklch(79.1% 0.041 82.3)7.11 AAA
紅color1#e89661rgb(232 150 97)hsl(24 75% 65%)oklch(74.5% 0.121 52.8)5.85 AA
綠color2#9ab57crgb(154 181 124)hsl(88 28% 60%)oklch(73.8% 0.084 128.9)6.05 AA
黃color3#dfbb53rgb(223 187 83)hsl(45 69% 60%)oklch(80.4% 0.129 90.1)7.42 AAA
藍color4#83aebdrgb(131 174 189)hsl(196 31% 63%)oklch(72.5% 0.051 221.4)5.71 AA
洋紅color5#bc91a4rgb(188 145 164)hsl(333 24% 65%)oklch(70.3% 0.058 350.4)5.04 AA
青color6#79b8aergb(121 184 174)hsl(170 31% 60%)oklch(73.7% 0.066 183.4)6.06 AA
白color7#f8e7c4rgb(248 231 196)hsl(40 79% 87%)oklch(93.3% 0.049 85.1)11.24 AAA
亮黑color8#cfc1aargb(207 193 170)hsl(37 28% 74%)oklch(81.6% 0.035 80.3)7.74 AAA
亮紅color9#eba374rgb(235 163 116)hsl(24 75% 69%)oklch(77.5% 0.106 53.7)6.54 AA
亮綠color10#a6be8crgb(166 190 140)hsl(89 28% 65%)oklch(77.0% 0.073 128.9)6.76 AA
亮黃color11#e3c368rgb(227 195 104)hsl(44 69% 65%)oklch(82.6% 0.116 90.4)8.01 AAA
亮藍color12#92b8c5rgb(146 184 197)hsl(195 31% 67%)oklch(75.9% 0.045 220.7)6.45 AA
亮洋紅color13#c49eafrgb(196 158 175)hsl(333 24% 69%)oklch(73.9% 0.050 349.7)5.78 AA
亮青color14#89c1b8rgb(137 193 184)hsl(170 31% 65%)oklch(77.0% 0.060 183.7)6.78 AA
亮白color15#f9eacbrgb(249 234 203)hsl(40 79% 89%)oklch(94.1% 0.044 85.2)11.52 AAA

關於 Candlelight

Candlelight 採用暖色調的深色背景(#432708),預設前景色為 #f8e7c4。正文的 WCAG 對比度為 11.24:1(AAA),12 種 ANSI 彩色槽位平均對比度 6.37:1,最低 5.04:1。

色板整體色彩飽和度偏低,其中紅色為 #e89661、綠色為 #9ab57c、藍色為 #83aebd、洋紅為 #bc91a4。

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

與 Candlelight 相似的配色

資料來源:iTerm2 Color Schemes (MIT)