跳到主要內容

Doom One Light

Doom One Light 是一套淺色終端機配色,背景色 #fafafa,文字色 #383a42,對比度 10.9:1

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

Doom One Light 的設定檔

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

Doom One Light

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

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

palette = 0=#383a42
palette = 1=#e45649
palette = 2=#50a14f
palette = 3=#986801
palette = 4=#4078f2
palette = 5=#a626a4
palette = 6=#005478
palette = 7=#f0f0f0
palette = 8=#c6c7c7
palette = 9=#e45649
palette = 10=#50a14f
palette = 11=#986801
palette = 12=#4078f2
palette = 13=#b751b6
palette = 14=#0184bc
palette = 15=#383a42
background = #fafafa
foreground = #383a42
cursor-color = #383a42
cursor-text = #fafafa
selection-background = #c5c6c8
selection-foreground = #383a42

Doom One Light 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#fafafargb(250 250 250)hsl(0 0% 98%)oklch(98.5% 0.000 0)—
前景色foreground#383a42rgb(56 58 66)hsl(228 8% 24%)oklch(35.0% 0.014 274.5)10.86 AAA
光標cursor#383a42rgb(56 58 66)hsl(228 8% 24%)oklch(35.0% 0.014 274.5)10.86 AAA
光標文字cursorText#fafafargb(250 250 250)hsl(0 0% 98%)oklch(98.5% 0.000 0)1.00 低於 AA
選取範圍selection#c5c6c8rgb(197 198 200)hsl(220 3% 78%)oklch(82.6% 0.003 264.5)1.64 低於 AA
選取文字selectionText#383a42rgb(56 58 66)hsl(228 8% 24%)oklch(35.0% 0.014 274.5)10.86 AAA
黑color0#383a42rgb(56 58 66)hsl(228 8% 24%)oklch(35.0% 0.014 274.5)10.86 AAA
紅color1#e45649rgb(228 86 73)hsl(5 74% 59%)oklch(63.9% 0.179 28.3)3.51 AA 大字體
綠color2#50a14frgb(80 161 79)hsl(119 34% 47%)oklch(63.8% 0.142 143.5)3.07 AA 大字體
黃color3#986801rgb(152 104 1)hsl(41 99% 30%)oklch(55.4% 0.116 76.9)4.66 AA
藍color4#4078f2rgb(64 120 242)hsl(221 87% 60%)oklch(60.2% 0.193 263.2)3.88 AA 大字體
洋紅color5#a626a4rgb(166 38 164)hsl(301 63% 40%)oklch(52.4% 0.211 328.8)5.86 AA
青color6#005478rgb(0 84 120)hsl(198 100% 24%)oklch(42.2% 0.091 236.0)7.92 AAA
白color7#f0f0f0rgb(240 240 240)hsl(0 0% 94%)oklch(95.5% 0.000 0)1.09 低於 AA
亮黑color8#c6c7c7rgb(198 199 199)hsl(180 1% 78%)oklch(82.9% 0.001 197.1)1.62 低於 AA
亮紅color9#e45649rgb(228 86 73)hsl(5 74% 59%)oklch(63.9% 0.179 28.3)3.51 AA 大字體
亮綠color10#50a14frgb(80 161 79)hsl(119 34% 47%)oklch(63.8% 0.142 143.5)3.07 AA 大字體
亮黃color11#986801rgb(152 104 1)hsl(41 99% 30%)oklch(55.4% 0.116 76.9)4.66 AA
亮藍color12#4078f2rgb(64 120 242)hsl(221 87% 60%)oklch(60.2% 0.193 263.2)3.88 AA 大字體
亮洋紅color13#b751b6rgb(183 81 182)hsl(301 41% 52%)oklch(60.1% 0.180 327.9)4.13 AA 大字體
亮青color14#0184bcrgb(1 132 188)hsl(198 99% 37%)oklch(58.1% 0.127 237.2)4.00 AA 大字體
亮白color15#383a42rgb(56 58 66)hsl(228 8% 24%)oklch(35.0% 0.014 274.5)10.86 AAA

關於 Doom One Light

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

色板整體色彩飽和度適中,其中紅色為 #e45649、綠色為 #50a14f、藍色為 #4078f2、洋紅為 #a626a4。該配色歸屬 One Dark & One Light 主題系列。

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

與 Doom One Light 相似的配色

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