跳到主要內容

PencilLight

PencilLight 是一套淺色終端機配色(柔和),背景色 #f0f0f0,文字色 #414141,對比度 9.0:1

取得設定檔
背景色
#f0f0f0
前景色
#414141
文字對比度
8.96:1AAA
強調色對比度
3.27:1最低 1.16
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
❯

PencilLight 的設定檔

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

PencilLight

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

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

palette = 0=#202020
palette = 1=#c30670
palette = 2=#10a778
palette = 3=#a79c14
palette = 4=#008ec4
palette = 5=#523b78
palette = 6=#20a4b9
palette = 7=#d9d9d9
palette = 8=#414141
palette = 9=#fb0079
palette = 10=#5ed6ae
palette = 11=#f3e42f
palette = 12=#20bafb
palette = 13=#6854de
palette = 14=#4fb8cc
palette = 15=#f0f0f0
background = #f0f0f0
foreground = #414141
cursor-color = #20bafb
cursor-text = #f0f0f0
selection-background = #b6d6fc
selection-foreground = #f0f0f0

PencilLight 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#f0f0f0rgb(240 240 240)hsl(0 0% 94%)oklch(95.5% 0.000 0)—
前景色foreground#414141rgb(65 65 65)hsl(0 0% 25%)oklch(37.5% 0.000 0)8.96 AAA
光標cursor#20bafbrgb(32 186 251)hsl(198 96% 55%)oklch(74.4% 0.149 233.8)1.94 低於 AA
光標文字cursorText#f0f0f0rgb(240 240 240)hsl(0 0% 94%)oklch(95.5% 0.000 0)1.00 低於 AA
選取範圍selection#b6d6fcrgb(182 214 252)hsl(213 92% 85%)oklch(86.5% 0.063 252.9)1.31 低於 AA
選取文字selectionText#f0f0f0rgb(240 240 240)hsl(0 0% 94%)oklch(95.5% 0.000 0)1.00 低於 AA
黑color0#202020rgb(32 32 32)hsl(0 0% 13%)oklch(24.4% 0.000 0)14.30 AAA
紅color1#c30670rgb(195 6 112)hsl(326 94% 39%)oklch(53.4% 0.216 356.4)5.15 AA
綠color2#10a778rgb(16 167 120)hsl(161 83% 36%)oklch(64.6% 0.134 164.2)2.70 低於 AA
黃color3#a79c14rgb(167 156 20)hsl(56 79% 37%)oklch(68.1% 0.140 104.3)2.49 低於 AA
藍color4#008ec4rgb(0 142 196)hsl(197 100% 38%)oklch(61.0% 0.128 234.4)3.25 AA 大字體
洋紅color5#523b78rgb(82 59 120)hsl(263 34% 35%)oklch(40.7% 0.101 299.3)8.17 AAA
青color6#20a4b9rgb(32 164 185)hsl(188 71% 43%)oklch(66.2% 0.109 211.6)2.61 低於 AA
白color7#d9d9d9rgb(217 217 217)hsl(0 0% 85%)oklch(88.5% 0.000 0)1.24 低於 AA
亮黑color8#414141rgb(65 65 65)hsl(0 0% 25%)oklch(37.5% 0.000 0)8.96 AAA
亮紅color9#fb0079rgb(251 0 121)hsl(331 100% 49%)oklch(63.6% 0.256 4.0)3.43 AA 大字體
亮綠color10#5ed6aergb(94 214 174)hsl(160 59% 60%)oklch(79.7% 0.123 168.4)1.57 低於 AA
亮黃color11#f3e42frgb(243 228 47)hsl(55 89% 57%)oklch(90.3% 0.181 104.3)1.16 低於 AA
亮藍color12#20bafbrgb(32 186 251)hsl(198 96% 55%)oklch(74.4% 0.149 233.8)1.94 低於 AA
亮洋紅color13#6854dergb(104 84 222)hsl(249 68% 60%)oklch(54.5% 0.201 284.1)4.71 AA
亮青color14#4fb8ccrgb(79 184 204)hsl(190 55% 55%)oklch(72.9% 0.100 212.2)2.03 低於 AA
亮白color15#f0f0f0rgb(240 240 240)hsl(0 0% 94%)oklch(95.5% 0.000 0)1.00 低於 AA

關於 PencilLight

PencilLight 採用中性色調的淺色背景(#f0f0f0),預設前景色為 #414141。正文的 WCAG 對比度為 8.96:1(AAA),12 種 ANSI 彩色槽位平均對比度 3.27:1,最低 1.16:1。

色板整體色彩飽和度適中,其中紅色為 #c30670、綠色為 #10a778、藍色為 #008ec4、洋紅為 #523b78。

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

與 PencilLight 相似的配色

資料來源:Kitty Themes (MIT)