跳到主要內容

One Double Light

One Double Light 是一套淺色終端機配色(柔和、鮮艷),背景色 #fafafa,文字色 #383a43,對比度 10.8:1

取得設定檔
背景色
#fafafa
前景色
#383a43
文字對比度
10.85:1AAA
強調色對比度
3.47:1最低 2.21
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
❯

One Double Light 的設定檔

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

One Double Light

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

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

palette = 0=#454b58
palette = 1=#f74840
palette = 2=#25a343
palette = 3=#cc8100
palette = 4=#0087c1
palette = 5=#b50da9
palette = 6=#009ab7
palette = 7=#ebd8d9
palette = 8=#0e131f
palette = 9=#ff3711
palette = 10=#00b90e
palette = 11=#ec9900
palette = 12=#1165de
palette = 13=#e500d8
palette = 14=#00b4dd
palette = 15=#ffffff
background = #fafafa
foreground = #383a43
cursor-color = #191a1a
cursor-text = #dbdfe5
selection-background = #454e5e
selection-foreground = #191a1a

One Double Light 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#fafafargb(250 250 250)hsl(0 0% 98%)oklch(98.5% 0.000 0)—
前景色foreground#383a43rgb(56 58 67)hsl(229 9% 24%)oklch(35.0% 0.016 275.6)10.85 AAA
光標cursor#191a1argb(25 26 26)hsl(180 2% 10%)oklch(21.7% 0.002 197.0)16.71 AAA
光標文字cursorText#dbdfe5rgb(219 223 229)hsl(216 16% 88%)oklch(90.2% 0.009 258.3)1.28 低於 AA
選取範圍selection#454e5ergb(69 78 94)hsl(218 15% 32%)oklch(42.2% 0.029 261.9)8.03 AAA
選取文字selectionText#191a1argb(25 26 26)hsl(180 2% 10%)oklch(21.7% 0.002 197.0)16.71 AAA
黑color0#454b58rgb(69 75 88)hsl(221 12% 31%)oklch(41.2% 0.023 265.7)8.38 AAA
紅color1#f74840rgb(247 72 64)hsl(3 92% 61%)oklch(65.3% 0.213 27.4)3.38 AA 大字體
綠color2#25a343rgb(37 163 67)hsl(134 63% 39%)oklch(62.8% 0.173 146.9)3.14 AA 大字體
黃color3#cc8100rgb(204 129 0)hsl(38 100% 40%)oklch(66.6% 0.145 69.4)3.00 低於 AA
藍color4#0087c1rgb(0 135 193)hsl(198 100% 38%)oklch(59.1% 0.130 237.5)3.84 AA 大字體
洋紅color5#b50da9rgb(181 13 169)hsl(304 87% 38%)oklch(53.8% 0.237 332.0)5.60 AA
青color6#009ab7rgb(0 154 183)hsl(190 100% 36%)oklch(63.3% 0.113 217.5)3.19 AA 大字體
白color7#ebd8d9rgb(235 216 217)hsl(357 32% 88%)oklch(89.8% 0.021 13.9)1.31 低於 AA
亮黑color8#0e131frgb(14 19 31)hsl(222 38% 9%)oklch(18.8% 0.026 266.6)17.78 AAA
亮紅color9#ff3711rgb(255 55 17)hsl(10 100% 53%)oklch(64.9% 0.238 32.1)3.46 AA 大字體
亮綠color10#00b90ergb(0 185 14)hsl(125 100% 36%)oklch(68.1% 0.229 142.8)2.53 低於 AA
亮黃color11#ec9900rgb(236 153 0)hsl(39 100% 46%)oklch(74.9% 0.161 71.0)2.21 低於 AA
亮藍color12#1165dergb(17 101 222)hsl(215 86% 47%)oklch(53.6% 0.200 259.4)5.11 AA
亮洋紅color13#e500d8rgb(229 0 216)hsl(303 100% 45%)oklch(63.9% 0.289 331.5)3.78 AA 大字體
亮青color14#00b4ddrgb(0 180 221)hsl(191 100% 43%)oklch(71.4% 0.132 221.9)2.35 低於 AA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)1.04 低於 AA

關於 One Double Light

One Double Light 採用中性色調的淺色背景(#fafafa),預設前景色為 #383a43。正文的 WCAG 對比度為 10.85:1(AAA),12 種 ANSI 彩色槽位平均對比度 3.47:1,最低 2.21:1。

色板整體色彩飽和度較高,其中紅色為 #f74840、綠色為 #25a343、藍色為 #0087c1、洋紅為 #b50da9。該配色歸屬 One Dark & One Light 主題系列。

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

與 One Double Light 相似的配色

資料來源:iTerm2 Color Schemes (MIT)