跳到主要內容

Adwaita

Adwaita 是一套淺色終端機配色(柔和),背景色 #ffffff,文字色 #1d1d20,對比度 16.8:1

取得設定檔
背景色
#ffffff
前景色
#1d1d20
文字對比度
16.82:1AAA
強調色對比度
3.97:1最低 1.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
❯

Adwaita 的設定檔

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

Adwaita

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

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

palette = 0=#1d1d20
palette = 1=#c01c28
palette = 2=#26a269
palette = 3=#a2734c
palette = 4=#12488b
palette = 5=#a347ba
palette = 6=#2aa1b3
palette = 7=#c2c2c2
palette = 8=#5d5d5d
palette = 9=#f66151
palette = 10=#33d17a
palette = 11=#e9ad0c
palette = 12=#2a7bde
palette = 13=#c061cb
palette = 14=#33c7de
palette = 15=#ffffff
background = #ffffff
foreground = #1d1d20
cursor-color = #1d1d20
cursor-text = #ffffff
selection-background = #1d1d20
selection-foreground = #ffffff

Adwaita 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)—
前景色foreground#1d1d20rgb(29 29 32)hsl(240 5% 12%)oklch(23.2% 0.006 285.9)16.82 AAA
光標cursor#1d1d20rgb(29 29 32)hsl(240 5% 12%)oklch(23.2% 0.006 285.9)16.82 AAA
光標文字cursorText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)1.00 低於 AA
選取範圍selection#1d1d20rgb(29 29 32)hsl(240 5% 12%)oklch(23.2% 0.006 285.9)16.82 AAA
選取文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)1.00 低於 AA
黑color0#1d1d20rgb(29 29 32)hsl(240 5% 12%)oklch(23.2% 0.006 285.9)16.82 AAA
紅color1#c01c28rgb(192 28 40)hsl(356 75% 43%)oklch(52.0% 0.196 24.7)6.11 AA
綠color2#26a269rgb(38 162 105)hsl(152 62% 39%)oklch(63.2% 0.136 157.9)3.25 AA 大字體
黃color3#a2734crgb(162 115 76)hsl(27 36% 47%)oklch(59.4% 0.080 60.1)4.12 AA 大字體
藍color4#12488brgb(18 72 139)hsl(213 77% 31%)oklch(40.7% 0.124 256.4)9.03 AAA
洋紅color5#a347bargb(163 71 186)hsl(288 45% 50%)oklch(56.5% 0.188 319.1)5.04 AA
青color6#2aa1b3rgb(42 161 179)hsl(188 62% 43%)oklch(65.4% 0.103 210.1)3.07 AA 大字體
白color7#c2c2c2rgb(194 194 194)hsl(0 0% 76%)oklch(81.4% 0.000 0)1.78 低於 AA
亮黑color8#5d5d5drgb(93 93 93)hsl(0 0% 36%)oklch(47.8% 0.000 0)6.58 AA
亮紅color9#f66151rgb(246 97 81)hsl(6 90% 64%)oklch(68.1% 0.186 29.0)3.11 AA 大字體
亮綠color10#33d17argb(51 209 122)hsl(147 63% 51%)oklch(76.1% 0.178 153.6)1.99 低於 AA
亮黃color11#e9ad0crgb(233 173 12)hsl(44 90% 48%)oklch(78.3% 0.159 83.1)2.01 低於 AA
亮藍color12#2a7bdergb(42 123 222)hsl(213 73% 52%)oklch(58.7% 0.169 255.9)4.21 AA 大字體
亮洋紅color13#c061cbrgb(192 97 203)hsl(294 50% 59%)oklch(64.4% 0.180 323.4)3.61 AA 大字體
亮青color14#33c7dergb(51 199 222)hsl(188 72% 54%)oklch(76.5% 0.122 210.7)2.03 低於 AA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)1.00 低於 AA

關於 Adwaita

Adwaita 採用中性色調的淺色背景(#ffffff),預設前景色為 #1d1d20。正文的 WCAG 對比度為 16.82:1(AAA),12 種 ANSI 彩色槽位平均對比度 3.97:1,最低 1.99:1。

色板整體色彩飽和度適中,其中紅色為 #c01c28、綠色為 #26a269、藍色為 #12488b、洋紅為 #a347ba。該配色歸屬 Adwaita 主題系列。

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

與 Adwaita 相似的配色

資料來源:iTerm2 Color Schemes (LGPL-2.1-or-later)