跳到主要內容

Danqing Light

Danqing Light 是一套淺色終端機配色(柔和),背景色 #fcfefd,文字色 #5a605d,對比度 6.3:1

取得設定檔
背景色
#fcfefd
前景色
#5a605d
文字對比度
6.35:1AA
強調色對比度
2.03:1最低 1.60
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
❯

Danqing Light 的設定檔

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

Danqing Light

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

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

palette = 0=#fcfefd
palette = 1=#f9906f
palette = 2=#8ab361
palette = 3=#f0c239
palette = 4=#b0a4e3
palette = 5=#cca4e3
palette = 6=#30dff3
palette = 7=#5a605d
palette = 8=#cad8d2
palette = 9=#f9906f
palette = 10=#8ab361
palette = 11=#f0c239
palette = 12=#b0a4e3
palette = 13=#cca4e3
palette = 14=#30dff3
palette = 15=#2d302f
background = #fcfefd
foreground = #5a605d
cursor-color = #5a605d
cursor-text = #fcfefd
selection-background = #d1d4d2
selection-foreground = #5a605d

Danqing Light 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#fcfefdrgb(252 254 253)hsl(150 50% 99%)oklch(99.5% 0.002 165.1)—
前景色foreground#5a605drgb(90 96 93)hsl(150 3% 36%)oklch(48.3% 0.009 164.7)6.35 AA
光標cursor#5a605drgb(90 96 93)hsl(150 3% 36%)oklch(48.3% 0.009 164.7)6.35 AA
光標文字cursorText#fcfefdrgb(252 254 253)hsl(150 50% 99%)oklch(99.5% 0.002 165.1)1.00 低於 AA
選取範圍selection#d1d4d2rgb(209 212 210)hsl(140 3% 83%)oklch(86.7% 0.004 157.2)1.47 低於 AA
選取文字selectionText#5a605drgb(90 96 93)hsl(150 3% 36%)oklch(48.3% 0.009 164.7)6.35 AA
黑color0#fcfefdrgb(252 254 253)hsl(150 50% 99%)oklch(99.5% 0.002 165.1)1.00 低於 AA
紅color1#f9906frgb(249 144 111)hsl(14 92% 71%)oklch(75.8% 0.136 38.2)2.24 低於 AA
綠color2#8ab361rgb(138 179 97)hsl(90 35% 54%)oklch(71.8% 0.119 130.6)2.38 低於 AA
黃color3#f0c239rgb(240 194 57)hsl(45 86% 58%)oklch(83.2% 0.154 89.1)1.66 低於 AA
藍color4#b0a4e3rgb(176 164 227)hsl(251 53% 77%)oklch(75.2% 0.090 292.8)2.24 低於 AA
洋紅color5#cca4e3rgb(204 164 227)hsl(278 53% 77%)oklch(77.6% 0.098 312.9)2.08 低於 AA
青color6#30dff3rgb(48 223 243)hsl(186 89% 57%)oklch(82.9% 0.134 207.0)1.60 低於 AA
白color7#5a605drgb(90 96 93)hsl(150 3% 36%)oklch(48.3% 0.009 164.7)6.35 AA
亮黑color8#cad8d2rgb(202 216 210)hsl(154 15% 82%)oklch(87.0% 0.017 168.4)1.45 低於 AA
亮紅color9#f9906frgb(249 144 111)hsl(14 92% 71%)oklch(75.8% 0.136 38.2)2.24 低於 AA
亮綠color10#8ab361rgb(138 179 97)hsl(90 35% 54%)oklch(71.8% 0.119 130.6)2.38 低於 AA
亮黃color11#f0c239rgb(240 194 57)hsl(45 86% 58%)oklch(83.2% 0.154 89.1)1.66 低於 AA
亮藍color12#b0a4e3rgb(176 164 227)hsl(251 53% 77%)oklch(75.2% 0.090 292.8)2.24 低於 AA
亮洋紅color13#cca4e3rgb(204 164 227)hsl(278 53% 77%)oklch(77.6% 0.098 312.9)2.08 低於 AA
亮青color14#30dff3rgb(48 223 243)hsl(186 89% 57%)oklch(82.9% 0.134 207.0)1.60 低於 AA
亮白color15#2d302frgb(45 48 47)hsl(160 3% 18%)oklch(30.6% 0.005 174.1)13.16 AAA

關於 Danqing Light

Danqing Light 採用中性色調的淺色背景(#fcfefd),預設前景色為 #5a605d。正文的 WCAG 對比度為 6.35:1(AA),12 種 ANSI 彩色槽位平均對比度 2.03:1,最低 1.60:1。

色板整體色彩飽和度適中,其中紅色為 #f9906f、綠色為 #8ab361、藍色為 #b0a4e3、洋紅為 #cca4e3。

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

與 Danqing Light 相似的配色

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