跳到主要內容

Ura

Ura 是一套淺色終端機配色(柔和、暖色),背景色 #feffee,文字色 #23476a,對比度 9.5:1

取得設定檔
背景色
#feffee
前景色
#23476a
文字對比度
9.52:1AAA
強調色對比度
3.21:1最低 1.33
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
❯

Ura 的設定檔

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

Ura

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

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

palette = 0=#000000
palette = 1=#c21b6f
palette = 2=#6fc21b
palette = 3=#c26f1b
palette = 4=#1b6fc2
palette = 5=#6f1bc2
palette = 6=#1bc26f
palette = 7=#808080
palette = 8=#808080
palette = 9=#ee84b9
palette = 10=#b9ee84
palette = 11=#eeb984
palette = 12=#84b9ee
palette = 13=#b984ee
palette = 14=#84eeb9
palette = 15=#e5e5e5
background = #feffee
foreground = #23476a
cursor-color = #23476a
cursor-text = #feffee
selection-background = #c3cecd
selection-foreground = #23476a

Ura 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#feffeergb(254 255 238)hsl(64 100% 97%)oklch(99.5% 0.022 109.5)—
前景色foreground#23476argb(35 71 106)hsl(210 50% 28%)oklch(38.9% 0.073 249.6)9.52 AAA
光標cursor#23476argb(35 71 106)hsl(210 50% 28%)oklch(38.9% 0.073 249.6)9.52 AAA
光標文字cursorText#feffeergb(254 255 238)hsl(64 100% 97%)oklch(99.5% 0.022 109.5)1.00 低於 AA
選取範圍selection#c3cecdrgb(195 206 205)hsl(175 10% 79%)oklch(84.3% 0.012 190.4)1.59 低於 AA
選取文字selectionText#23476argb(35 71 106)hsl(210 50% 28%)oklch(38.9% 0.073 249.6)9.52 AAA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)20.75 AAA
紅color1#c21b6frgb(194 27 111)hsl(330 76% 43%)oklch(53.9% 0.206 357.5)5.64 AA
綠color2#6fc21brgb(111 194 27)hsl(90 76% 43%)oklch(73.3% 0.202 134.0)2.21 低於 AA
黃color3#c26f1brgb(194 111 27)hsl(30 76% 43%)oklch(62.2% 0.138 59.2)3.72 AA 大字體
藍color4#1b6fc2rgb(27 111 194)hsl(210 76% 43%)oklch(53.8% 0.150 252.8)5.06 AA
洋紅color5#6f1bc2rgb(111 27 194)hsl(270 76% 43%)oklch(46.2% 0.228 299.2)7.95 AAA
青color6#1bc26frgb(27 194 111)hsl(150 76% 43%)oklch(71.7% 0.175 154.1)2.31 低於 AA
白color7#808080rgb(128 128 128)hsl(0 0% 50%)oklch(60.0% 0.000 0)3.90 AA 大字體
亮黑color8#808080rgb(128 128 128)hsl(0 0% 50%)oklch(60.0% 0.000 0)3.90 AA 大字體
亮紅color9#ee84b9rgb(238 132 185)hsl(330 76% 73%)oklch(74.4% 0.143 349.8)2.40 低於 AA
亮綠color10#b9ee84rgb(185 238 132)hsl(90 76% 73%)oklch(88.9% 0.146 130.6)1.33 低於 AA
亮黃color11#eeb984rgb(238 185 132)hsl(30 76% 73%)oklch(82.2% 0.092 66.0)1.74 低於 AA
亮藍color12#84b9eergb(132 185 238)hsl(210 76% 73%)oklch(76.9% 0.095 249.1)2.04 低於 AA
亮洋紅color13#b984eergb(185 132 238)hsl(270 76% 73%)oklch(70.7% 0.158 305.8)2.73 低於 AA
亮青color14#84eeb9rgb(132 238 185)hsl(150 76% 73%)oklch(87.1% 0.125 160.5)1.39 低於 AA
亮白color15#e5e5e5rgb(229 229 229)hsl(0 0% 90%)oklch(92.2% 0.000 0)1.24 低於 AA

關於 Ura

Ura 採用暖色調的淺色背景(#feffee),預設前景色為 #23476a。正文的 WCAG 對比度為 9.52:1(AAA),12 種 ANSI 彩色槽位平均對比度 3.21:1,最低 1.33:1。

色板整體色彩飽和度適中,其中紅色為 #c21b6f、綠色為 #6fc21b、藍色為 #1b6fc2、洋紅為 #6f1bc2。

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

與 Ura 相似的配色

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