跳到主要內容

Sierra

Sierra 是一套深色終端機配色(低彩度),背景色 #1c1a14,文字色 #cacbb9,對比度 10.6:1

取得設定檔
背景色
#1c1a14
前景色
#cacbb9
文字對比度
10.56:1AAA
強調色對比度
4.04:1最低 2.29
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
❯

Sierra 的設定檔

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

Sierra

存到 ~/.config/ghostty/themes/Sierra,再在 config 或 config.ghostty 裡寫 theme = Sierra

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

palette = 0=#0e0e04
palette = 1=#515a45
palette = 2=#68694f
palette = 3=#7f7f60
palette = 4=#989876
palette = 5=#897c5b
palette = 6=#a18e60
palette = 7=#bb7774
palette = 8=#a85e5d
palette = 9=#475a2e
palette = 10=#676938
palette = 11=#7f7f41
palette = 12=#98984e
palette = 13=#897645
palette = 14=#a17140
palette = 15=#c9cbac
background = #1c1a14
foreground = #cacbb9
cursor-color = #cacbb9
cursor-text = #1c1a14
selection-background = #424138
selection-foreground = #cacbb9

Sierra 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#1c1a14rgb(28 26 20)hsl(45 17% 9%)oklch(21.8% 0.012 91.8)—
前景色foreground#cacbb9rgb(202 203 185)hsl(63 15% 76%)oklch(83.6% 0.025 109.5)10.56 AAA
游標cursor#cacbb9rgb(202 203 185)hsl(63 15% 76%)oklch(83.6% 0.025 109.5)10.56 AAA
游標文字cursorText#1c1a14rgb(28 26 20)hsl(45 17% 9%)oklch(21.8% 0.012 91.8)1.00 低於 AA
選取範圍selection#424138rgb(66 65 56)hsl(54 8% 24%)oklch(37.3% 0.015 101.9)1.69 低於 AA
選取文字selectionText#cacbb9rgb(202 203 185)hsl(63 15% 76%)oklch(83.6% 0.025 109.5)10.56 AAA
黑color0#0e0e04rgb(14 14 4)hsl(60 56% 4%)oklch(16.0% 0.022 108.6)1.11 低於 AA
紅color1#515a45rgb(81 90 69)hsl(86 13% 31%)oklch(45.3% 0.035 126.6)2.40 低於 AA
綠color2#68694frgb(104 105 79)hsl(62 14% 36%)oklch(51.3% 0.039 109.5)3.08 AA 大字級
黃color3#7f7f60rgb(127 127 96)hsl(60 14% 44%)oklch(58.8% 0.045 107.7)4.23 AA 大字級
藍color4#989876rgb(152 152 118)hsl(60 14% 53%)oklch(67.1% 0.048 107.6)5.87 AA
洋紅color5#897c5brgb(137 124 91)hsl(43 20% 45%)oklch(58.9% 0.050 89.0)4.22 AA 大字級
青color6#a18e60rgb(161 142 96)hsl(42 26% 50%)oklch(65.3% 0.067 88.0)5.43 AA
白color7#bb7774rgb(187 119 116)hsl(3 34% 59%)oklch(64.0% 0.086 22.5)4.97 AA
亮黑color8#a85e5drgb(168 94 93)hsl(1 30% 51%)oklch(56.7% 0.097 21.4)3.66 AA 大字級
亮紅color9#475a2ergb(71 90 46)hsl(86 32% 27%)oklch(44.0% 0.071 128.1)2.29 低於 AA
亮綠color10#676938rgb(103 105 56)hsl(62 30% 32%)oklch(50.7% 0.070 110.7)3.03 AA 大字級
亮黃color11#7f7f41rgb(127 127 65)hsl(60 32% 38%)oklch(58.2% 0.084 108.8)4.15 AA 大字級
亮藍color12#98984ergb(152 152 78)hsl(60 32% 45%)oklch(66.3% 0.097 108.8)5.75 AA
亮洋紅color13#897645rgb(137 118 69)hsl(43 33% 40%)oklch(57.2% 0.071 88.9)3.93 AA 大字級
亮青color14#a17140rgb(161 113 64)hsl(30 43% 44%)oklch(58.7% 0.089 65.1)4.10 AA 大字級
亮白color15#c9cbacrgb(201 203 172)hsl(64 23% 74%)oklch(83.2% 0.042 110.3)10.45 AAA

關於 Sierra

Sierra 採用中性色調的深色背景(#1c1a14),預設前景色為 #cacbb9。內文的 WCAG 對比度為 10.56:1(AAA),12 種 ANSI 彩色槽位平均對比度 4.04:1,最低 2.29:1。

色票整體色彩彩度偏低,其中紅色為 #515a45、綠色為 #68694f、藍色為 #989876、洋紅為 #897c5b。

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

與 Sierra 相似的配色

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