跳到主要內容

Nebula

Nebula 是一套深色終端機配色(鮮艷、冷色),背景色 #23262e,文字色 #ffffff,對比度 15.1:1

取得設定檔
背景色
#23262e
前景色
#ffffff
文字對比度
15.13:1AAA
強調色對比度
7.87:1最低 3.99
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
❯

Nebula 的設定檔

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

Nebula

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

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

palette = 0=#2e3436
palette = 1=#ff007a
palette = 2=#84ff39
palette = 3=#f3d56e
palette = 4=#7cb7ff
palette = 5=#c74ded
palette = 6=#00e8c6
palette = 7=#d3d7cf
palette = 8=#555753
palette = 9=#ff007a
palette = 10=#84ff39
palette = 11=#f3d56e
palette = 12=#7cb7ff
palette = 13=#c74ded
palette = 14=#00e8c6
palette = 15=#eeeeec
background = #23262e
foreground = #ffffff
cursor-color = #ffffff
cursor-text = #23262e
selection-background = #53565c
selection-foreground = #ffffff

Nebula 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#23262ergb(35 38 46)hsl(224 14% 16%)oklch(26.9% 0.016 269.1)—
前景色foreground#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)15.13 AAA
光標cursor#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)15.13 AAA
光標文字cursorText#23262ergb(35 38 46)hsl(224 14% 16%)oklch(26.9% 0.016 269.1)1.00 低於 AA
選取範圍selection#53565crgb(83 86 92)hsl(220 5% 34%)oklch(45.3% 0.010 264.5)2.06 低於 AA
選取文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)15.13 AAA
黑color0#2e3436rgb(46 52 54)hsl(195 8% 20%)oklch(32.0% 0.009 219.8)1.20 低於 AA
紅color1#ff007argb(255 0 122)hsl(331 100% 50%)oklch(64.4% 0.259 4.3)3.99 AA 大字體
綠color2#84ff39rgb(132 255 57)hsl(97 100% 61%)oklch(89.4% 0.249 136.7)11.77 AAA
黃color3#f3d56ergb(243 213 110)hsl(46 85% 69%)oklch(87.8% 0.127 93.4)10.48 AAA
藍color4#7cb7ffrgb(124 183 255)hsl(213 100% 74%)oklch(76.8% 0.121 254.1)7.26 AAA
洋紅color5#c74dedrgb(199 77 237)hsl(286 82% 62%)oklch(64.8% 0.242 317.1)4.12 AA 大字體
青color6#00e8c6rgb(0 232 198)hsl(171 100% 45%)oklch(83.2% 0.154 176.9)9.62 AAA
白color7#d3d7cfrgb(211 215 207)hsl(90 9% 83%)oklch(87.4% 0.012 128.6)10.37 AAA
亮黑color8#555753rgb(85 87 83)hsl(90 2% 33%)oklch(45.4% 0.007 128.6)2.07 低於 AA
亮紅color9#ff007argb(255 0 122)hsl(331 100% 50%)oklch(64.4% 0.259 4.3)3.99 AA 大字體
亮綠color10#84ff39rgb(132 255 57)hsl(97 100% 61%)oklch(89.4% 0.249 136.7)11.77 AAA
亮黃color11#f3d56ergb(243 213 110)hsl(46 85% 69%)oklch(87.8% 0.127 93.4)10.48 AAA
亮藍color12#7cb7ffrgb(124 183 255)hsl(213 100% 74%)oklch(76.8% 0.121 254.1)7.26 AAA
亮洋紅color13#c74dedrgb(199 77 237)hsl(286 82% 62%)oklch(64.8% 0.242 317.1)4.12 AA 大字體
亮青color14#00e8c6rgb(0 232 198)hsl(171 100% 45%)oklch(83.2% 0.154 176.9)9.62 AAA
亮白color15#eeeeecrgb(238 238 236)hsl(60 6% 93%)oklch(94.9% 0.003 106.5)13.02 AAA

關於 Nebula

Nebula 採用冷色調的深色背景(#23262e),預設前景色為 #ffffff。正文的 WCAG 對比度為 15.13:1(AAA),12 種 ANSI 彩色槽位平均對比度 7.87:1,最低 3.99:1。

色板整體色彩飽和度較高,其中紅色為 #ff007a、綠色為 #84ff39、藍色為 #7cb7ff、洋紅為 #c74ded。

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

與 Nebula 相似的配色

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