跳到主要內容

datum (light)

datum (light) 是一套淺色終端機配色,背景色 #f1f6fd,文字色 #292e35,對比度 12.6:1

取得設定檔
背景色
#f1f6fd
前景色
#292e35
文字對比度
12.59:1AAA
強調色對比度
6.51:1最低 4.51
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
❯

datum (light) 的設定檔

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

datum (light)

存到 ~/.config/ghostty/themes/datum (light),再在 config 或 config.ghostty 裡寫 theme = datum (light)

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

palette = 0=#292e35
palette = 1=#a24500
palette = 2=#007553
palette = 3=#656023
palette = 4=#0176b8
palette = 5=#973070
palette = 6=#0d7a7f
palette = 7=#ced3d9
palette = 8=#616a76
palette = 9=#976700
palette = 10=#007553
palette = 11=#4d3919
palette = 12=#2f516c
palette = 13=#633750
palette = 14=#154b4e
palette = 15=#e7ecf2
background = #f1f6fd
foreground = #292e35
cursor-color = #973070
cursor-text = #f1f6fd
selection-background = #ced3d9
selection-foreground = #292e35

datum (light) 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#f1f6fdrgb(241 246 253)hsl(215 75% 97%)oklch(97.1% 0.011 256.7)—
前景色foreground#292e35rgb(41 46 53)hsl(215 13% 18%)oklch(29.9% 0.015 256.8)12.59 AAA
游標cursor#973070rgb(151 48 112)hsl(323 52% 39%)oklch(48.2% 0.153 346.1)6.51 AA
游標文字cursorText#f1f6fdrgb(241 246 253)hsl(215 75% 97%)oklch(97.1% 0.011 256.7)1.00 低於 AA
選取範圍selection#ced3d9rgb(206 211 217)hsl(213 13% 83%)oklch(86.5% 0.010 252.8)1.39 低於 AA
選取文字selectionText#292e35rgb(41 46 53)hsl(215 13% 18%)oklch(29.9% 0.015 256.8)12.59 AAA
黑color0#292e35rgb(41 46 53)hsl(215 13% 18%)oklch(29.9% 0.015 256.8)12.59 AAA
紅color1#a24500rgb(162 69 0)hsl(26 100% 32%)oklch(50.6% 0.140 47.1)5.71 AA
綠color2#007553rgb(0 117 83)hsl(163 100% 23%)oklch(49.8% 0.105 164.6)5.27 AA
黃color3#656023rgb(101 96 35)hsl(55 49% 27%)oklch(48.1% 0.082 104.6)5.95 AA
藍color4#0176b8rgb(1 118 184)hsl(202 99% 36%)oklch(54.5% 0.134 244.1)4.51 AA
洋紅color5#973070rgb(151 48 112)hsl(323 52% 39%)oklch(48.2% 0.153 346.1)6.51 AA
青color6#0d7a7frgb(13 122 127)hsl(183 81% 27%)oklch(52.8% 0.087 200.0)4.71 AA
白color7#ced3d9rgb(206 211 217)hsl(213 13% 83%)oklch(86.5% 0.010 252.8)1.39 低於 AA
亮黑color8#616a76rgb(97 106 118)hsl(214 10% 42%)oklch(52.1% 0.022 255.6)5.05 AA
亮紅color9#976700rgb(151 103 0)hsl(41 100% 30%)oklch(55.0% 0.115 76.8)4.54 AA
亮綠color10#007553rgb(0 117 83)hsl(163 100% 23%)oklch(49.8% 0.105 164.6)5.27 AA
亮黃color11#4d3919rgb(77 57 25)hsl(37 51% 20%)oklch(35.9% 0.055 77.2)10.10 AAA
亮藍color12#2f516crgb(47 81 108)hsl(207 39% 30%)oklch(42.1% 0.060 243.9)7.69 AAA
亮洋紅color13#633750rgb(99 55 80)hsl(326 29% 30%)oklch(40.0% 0.072 345.7)8.82 AAA
亮青color14#154b4ergb(21 75 78)hsl(183 58% 19%)oklch(38.0% 0.055 200.4)9.00 AAA
亮白color15#e7ecf2rgb(231 236 242)hsl(213 30% 93%)oklch(94.1% 0.010 252.8)1.09 低於 AA

關於 datum (light)

datum (light) 採用中性色調的淺色背景(#f1f6fd),預設前景色為 #292e35。內文的 WCAG 對比度為 12.59:1(AAA),12 種 ANSI 彩色槽位平均對比度 6.51:1,最低 4.51:1。

色票整體色彩彩度適中,其中紅色為 #a24500、綠色為 #007553、藍色為 #0176b8、洋紅為 #973070。

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

與 datum (light) 相似的配色

資料來源:iTerm2 Color Schemes (MIT)