跳到正文

Classic Light

Classic Light 是一套浅色终端配色(柔和),背景色 #f5f5f5,文字色 #303030,对比度 12.1:1

获取配置
背景色
#f5f5f5
前景色
#303030
文字对比度
12.11:1AAA
强调色对比度
2.91:1最低 1.53
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
❯

Classic Light 的配置文件

16 种格式,都从同一份色板生成

Classic Light

存到 ~/.config/ghostty/themes/Classic Light,再在 config 或 config.ghostty 里写 theme = Classic Light

更多 Ghostty 配色
原始文件
# Theme: Classic Light (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/schemes/classic-light?format=ghostty

palette = 0=#f5f5f5
palette = 1=#ac4142
palette = 2=#90a959
palette = 3=#f4bf75
palette = 4=#6a9fb5
palette = 5=#aa759f
palette = 6=#75b5aa
palette = 7=#303030
palette = 8=#b0b0b0
palette = 9=#ac4142
palette = 10=#90a959
palette = 11=#f4bf75
palette = 12=#6a9fb5
palette = 13=#aa759f
palette = 14=#75b5aa
palette = 15=#151515
background = #f5f5f5
foreground = #303030
cursor-color = #303030
cursor-text = #f5f5f5
selection-background = #bfbfbf
selection-foreground = #303030

Classic Light 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#f5f5f5rgb(245 245 245)hsl(0 0% 96%)oklch(97.0% 0.000 0)—
前景色foreground#303030rgb(48 48 48)hsl(0 0% 19%)oklch(30.9% 0.000 0)12.11 AAA
光标cursor#303030rgb(48 48 48)hsl(0 0% 19%)oklch(30.9% 0.000 0)12.11 AAA
光标文字cursorText#f5f5f5rgb(245 245 245)hsl(0 0% 96%)oklch(97.0% 0.000 0)1.00 低于 AA
选区selection#bfbfbfrgb(191 191 191)hsl(0 0% 75%)oklch(80.5% 0.000 0)1.69 低于 AA
选区文字selectionText#303030rgb(48 48 48)hsl(0 0% 19%)oklch(30.9% 0.000 0)12.11 AAA
黑color0#f5f5f5rgb(245 245 245)hsl(0 0% 96%)oklch(97.0% 0.000 0)1.00 低于 AA
红color1#ac4142rgb(172 65 66)hsl(359 45% 46%)oklch(52.3% 0.141 22.8)5.37 AA
绿color2#90a959rgb(144 169 89)hsl(79 32% 51%)oklch(69.7% 0.110 123.5)2.41 低于 AA
黄color3#f4bf75rgb(244 191 117)hsl(35 85% 71%)oklch(83.7% 0.110 74.6)1.53 低于 AA
蓝color4#6a9fb5rgb(106 159 181)hsl(198 34% 56%)oklch(67.4% 0.065 226.0)2.66 低于 AA
品红color5#aa759frgb(170 117 159)hsl(312 24% 56%)oklch(63.0% 0.088 334.2)3.35 AA 大字号
青color6#75b5aargb(117 181 170)hsl(170 30% 58%)oklch(72.7% 0.068 182.3)2.15 低于 AA
白color7#303030rgb(48 48 48)hsl(0 0% 19%)oklch(30.9% 0.000 0)12.11 AAA
亮黑color8#b0b0b0rgb(176 176 176)hsl(0 0% 69%)oklch(75.7% 0.000 0)1.99 低于 AA
亮红color9#ac4142rgb(172 65 66)hsl(359 45% 46%)oklch(52.3% 0.141 22.8)5.37 AA
亮绿color10#90a959rgb(144 169 89)hsl(79 32% 51%)oklch(69.7% 0.110 123.5)2.41 低于 AA
亮黄color11#f4bf75rgb(244 191 117)hsl(35 85% 71%)oklch(83.7% 0.110 74.6)1.53 低于 AA
亮蓝color12#6a9fb5rgb(106 159 181)hsl(198 34% 56%)oklch(67.4% 0.065 226.0)2.66 低于 AA
亮品红color13#aa759frgb(170 117 159)hsl(312 24% 56%)oklch(63.0% 0.088 334.2)3.35 AA 大字号
亮青color14#75b5aargb(117 181 170)hsl(170 30% 58%)oklch(72.7% 0.068 182.3)2.15 低于 AA
亮白color15#151515rgb(21 21 21)hsl(0 0% 8%)oklch(19.6% 0.000 0)16.75 AAA

关于 Classic Light

Classic Light 采用中性色调的浅色背景(#f5f5f5),默认前景色为 #303030。正文的 WCAG 对比度为 12.11:1(AAA),12 种 ANSI 彩色槽位平均对比度 2.91:1,最低 1.53:1。

色板整体色彩饱和度适中,其中红色为 #ac4142、绿色为 #90a959、蓝色为 #6a9fb5、品红为 #aa759f。

支持一键导出 Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 终端配置文件,同时提供 VS Code 与 Zed 集成终端、CSS 变量、Tailwind CSS 及 JSON 色板格式。

与 Classic Light 相似的配色

数据来源:Gogh (MIT OR Apache-2.0)