跳到主要內容

Django Smooth

Django Smooth 是一套深色終端機配色(粉彩),背景色 #245032,文字色 #f8f8f8,對比度 8.7:1

取得設定檔
背景色
#245032
前景色
#f8f8f8
文字對比度
8.72:1AAA
強調色對比度
6.16:1最低 3.04
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
❯

Django Smooth 的設定檔

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

Django Smooth

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

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

palette = 0=#000000
palette = 1=#fd6209
palette = 2=#41a83e
palette = 3=#ffe862
palette = 4=#989898
palette = 5=#f8f8f8
palette = 6=#9df39f
palette = 7=#e8e8e7
palette = 8=#323232
palette = 9=#ff943b
palette = 10=#73da70
palette = 11=#ffff94
palette = 12=#cacaca
palette = 13=#ffffff
palette = 14=#cfffd1
palette = 15=#ffffff
background = #245032
foreground = #f8f8f8
cursor-color = #336442
cursor-text = #f8f8f8
selection-background = #336442
selection-foreground = #f8f8f8

Django Smooth 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#245032rgb(36 80 50)hsl(139 38% 23%)oklch(39.1% 0.071 152.2)—
前景色foreground#f8f8f8rgb(248 248 248)hsl(0 0% 97%)oklch(97.9% 0.000 0)8.72 AAA
光標cursor#336442rgb(51 100 66)hsl(138 32% 30%)oklch(45.9% 0.077 152.2)1.34 低於 AA
光標文字cursorText#f8f8f8rgb(248 248 248)hsl(0 0% 97%)oklch(97.9% 0.000 0)8.72 AAA
選取範圍selection#336442rgb(51 100 66)hsl(138 32% 30%)oklch(45.9% 0.077 152.2)1.34 低於 AA
選取文字selectionText#f8f8f8rgb(248 248 248)hsl(0 0% 97%)oklch(97.9% 0.000 0)8.72 AAA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)2.27 低於 AA
紅color1#fd6209rgb(253 98 9)hsl(22 98% 51%)oklch(68.8% 0.205 42.1)3.05 AA 大字體
綠color2#41a83ergb(65 168 62)hsl(118 46% 45%)oklch(64.9% 0.173 142.8)3.04 AA 大字體
黃color3#ffe862rgb(255 232 98)hsl(51 100% 69%)oklch(92.5% 0.153 99.6)7.48 AAA
藍color4#989898rgb(152 152 152)hsl(0 0% 60%)oklch(68.0% 0.000 0)3.21 AA 大字體
洋紅color5#f8f8f8rgb(248 248 248)hsl(0 0% 97%)oklch(97.9% 0.000 0)8.72 AAA
青color6#9df39frgb(157 243 159)hsl(121 78% 78%)oklch(88.9% 0.141 144.8)6.94 AA
白color7#e8e8e7rgb(232 232 231)hsl(60 2% 91%)oklch(93.1% 0.001 106.4)7.55 AAA
亮黑color8#323232rgb(50 50 50)hsl(0 0% 20%)oklch(31.7% 0.000 0)1.39 低於 AA
亮紅color9#ff943brgb(255 148 59)hsl(27 100% 62%)oklch(76.6% 0.162 56.1)4.21 AA 大字體
亮綠color10#73da70rgb(115 218 112)hsl(118 59% 65%)oklch(80.2% 0.173 143.2)5.29 AA
亮黃color11#ffff94rgb(255 255 148)hsl(60 100% 79%)oklch(97.8% 0.130 108.6)8.81 AAA
亮藍color12#cacacargb(202 202 202)hsl(0 0% 79%)oklch(83.9% 0.000 0)5.65 AA
亮洋紅color13#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)9.26 AAA
亮青color14#cfffd1rgb(207 255 209)hsl(122 100% 91%)oklch(95.5% 0.078 146.0)8.32 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)9.26 AAA

關於 Django Smooth

Django Smooth 採用中性色調的深色背景(#245032),預設前景色為 #f8f8f8。正文的 WCAG 對比度為 8.72:1(AAA),12 種 ANSI 彩色槽位平均對比度 6.16:1,最低 3.04:1。

色板整體色彩飽和度適中,其中紅色為 #fd6209、綠色為 #41a83e、藍色為 #989898、洋紅為 #f8f8f8。

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

與 Django Smooth 相似的配色

資料來源:iTerm2 Color Schemes (MIT)