跳到主要內容

Squintless

Squintless 是一套淺色終端機配色(暖色),背景色 #f2e5bc,文字色 #3c3836,對比度 9.2:1

取得設定檔
背景色
#f2e5bc
前景色
#3c3836
文字對比度
9.23:1AAA
強調色對比度
4.72:1最低 3.00
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
❯

Squintless 的設定檔

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

Squintless

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

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

palette = 0=#f2e5bc
palette = 1=#9d0006
palette = 2=#79740e
palette = 3=#b57614
palette = 4=#076678
palette = 5=#8f3f71
palette = 6=#427b58
palette = 7=#7c6f64
palette = 8=#928374
palette = 9=#9d0006
palette = 10=#79740e
palette = 11=#b57614
palette = 12=#076678
palette = 13=#8f3f71
palette = 14=#427b58
palette = 15=#3c3836
background = #f2e5bc
foreground = #3c3836
cursor-color = #282828
cursor-text = #f2e5bc
selection-background = #d5c4a1
selection-foreground = #3c3836

Squintless 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#f2e5bcrgb(242 229 188)hsl(46 67% 84%)oklch(92.2% 0.055 92.5)—
前景色foreground#3c3836rgb(60 56 54)hsl(20 5% 22%)oklch(34.4% 0.007 48.5)9.23 AAA
光標cursor#282828rgb(40 40 40)hsl(0 0% 16%)oklch(27.7% 0.000 0)11.73 AAA
光標文字cursorText#f2e5bcrgb(242 229 188)hsl(46 67% 84%)oklch(92.2% 0.055 92.5)1.00 低於 AA
選取範圍selection#d5c4a1rgb(213 196 161)hsl(40 38% 73%)oklch(82.5% 0.051 85.1)1.37 低於 AA
選取文字selectionText#3c3836rgb(60 56 54)hsl(20 5% 22%)oklch(34.4% 0.007 48.5)9.23 AAA
黑color0#f2e5bcrgb(242 229 188)hsl(46 67% 84%)oklch(92.2% 0.055 92.5)1.00 低於 AA
紅color1#9d0006rgb(157 0 6)hsl(358 100% 31%)oklch(43.7% 0.179 28.3)6.86 AA
綠color2#79740ergb(121 116 14)hsl(57 79% 26%)oklch(54.6% 0.112 106.5)3.87 AA 大字體
黃color3#b57614rgb(181 118 20)hsl(37 80% 39%)oklch(61.8% 0.128 70.7)3.00 AA 大字體
藍color4#076678rgb(7 102 120)hsl(190 89% 25%)oklch(47.1% 0.082 215.8)5.25 AA
洋紅color5#8f3f71rgb(143 63 113)hsl(323 39% 40%)oklch(48.9% 0.124 344.3)5.36 AA
青color6#427b58rgb(66 123 88)hsl(143 30% 37%)oklch(53.4% 0.082 155.4)3.97 AA 大字體
白color7#7c6f64rgb(124 111 100)hsl(28 11% 44%)oklch(55.0% 0.023 62.6)3.87 AA 大字體
亮黑color8#928374rgb(146 131 116)hsl(30 12% 51%)oklch(61.9% 0.029 67.3)2.92 低於 AA
亮紅color9#9d0006rgb(157 0 6)hsl(358 100% 31%)oklch(43.7% 0.179 28.3)6.86 AA
亮綠color10#79740ergb(121 116 14)hsl(57 79% 26%)oklch(54.6% 0.112 106.5)3.87 AA 大字體
亮黃color11#b57614rgb(181 118 20)hsl(37 80% 39%)oklch(61.8% 0.128 70.7)3.00 AA 大字體
亮藍color12#076678rgb(7 102 120)hsl(190 89% 25%)oklch(47.1% 0.082 215.8)5.25 AA
亮洋紅color13#8f3f71rgb(143 63 113)hsl(323 39% 40%)oklch(48.9% 0.124 344.3)5.36 AA
亮青color14#427b58rgb(66 123 88)hsl(143 30% 37%)oklch(53.4% 0.082 155.4)3.97 AA 大字體
亮白color15#3c3836rgb(60 56 54)hsl(20 5% 22%)oklch(34.4% 0.007 48.5)9.23 AAA

關於 Squintless

Squintless 採用暖色調的淺色背景(#f2e5bc),預設前景色為 #3c3836。正文的 WCAG 對比度為 9.23:1(AAA),12 種 ANSI 彩色槽位平均對比度 4.72:1,最低 3.00:1。

色板整體色彩飽和度適中,其中紅色為 #9d0006、綠色為 #79740e、藍色為 #076678、洋紅為 #8f3f71。

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

與 Squintless 相似的配色

資料來源:iTerm2 Color Schemes (MIT)