跳到正文

Onenord Light

Onenord Light 是一套浅色终端配色(柔和),背景色 #f7f8fa,文字色 #2e3440,对比度 11.8:1

获取配置
背景色
#f7f8fa
前景色
#2e3440
文字对比度
11.75:1AAA
强调色对比度
3.85:1最低 1.96
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
❯

Onenord Light 的配置文件

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

Onenord Light

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

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

palette = 0=#2e3440
palette = 1=#cb4f53
palette = 2=#48a53d
palette = 3=#ee5e25
palette = 4=#3879c5
palette = 5=#9f4aca
palette = 6=#3ea1ad
palette = 7=#e5e9f0
palette = 8=#646a76
palette = 9=#d16366
palette = 10=#5f9e9d
palette = 11=#ba793e
palette = 12=#1b40a6
palette = 13=#9665af
palette = 14=#8fbcbb
palette = 15=#eceff4
background = #f7f8fa
foreground = #2e3440
cursor-color = #3879c5
cursor-text = #f7f8fa
selection-background = #eaebed
selection-foreground = #000000

Onenord Light 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#f7f8fargb(247 248 250)hsl(220 23% 97%)oklch(97.9% 0.003 264.5)—
前景色foreground#2e3440rgb(46 52 64)hsl(220 16% 22%)oklch(32.4% 0.023 264.2)11.75 AAA
光标cursor#3879c5rgb(56 121 197)hsl(212 56% 50%)oklch(57.1% 0.135 254.2)4.20 AA 大字号
光标文字cursorText#f7f8fargb(247 248 250)hsl(220 23% 97%)oklch(97.9% 0.003 264.5)1.00 低于 AA
选区selection#eaebedrgb(234 235 237)hsl(220 8% 92%)oklch(94.0% 0.003 264.5)1.12 低于 AA
选区文字selectionText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)19.76 AAA
黑color0#2e3440rgb(46 52 64)hsl(220 16% 22%)oklch(32.4% 0.023 264.2)11.75 AAA
红color1#cb4f53rgb(203 79 83)hsl(358 54% 55%)oklch(59.3% 0.158 21.4)4.13 AA 大字号
绿color2#48a53drgb(72 165 61)hsl(114 46% 44%)oklch(64.3% 0.167 141.6)2.94 低于 AA
黄color3#ee5e25rgb(238 94 37)hsl(17 86% 54%)oklch(66.1% 0.190 39.6)3.16 AA 大字号
蓝color4#3879c5rgb(56 121 197)hsl(212 56% 50%)oklch(57.1% 0.135 254.2)4.20 AA 大字号
品红color5#9f4acargb(159 74 202)hsl(280 55% 54%)oklch(57.3% 0.198 312.4)4.59 AA
青color6#3ea1adrgb(62 161 173)hsl(186 47% 46%)oklch(65.6% 0.092 206.4)2.86 低于 AA
白color7#e5e9f0rgb(229 233 240)hsl(218 27% 92%)oklch(93.3% 0.010 261.8)1.15 低于 AA
亮黑color8#646a76rgb(100 106 118)hsl(220 8% 43%)oklch(52.3% 0.020 264.4)5.11 AA
亮红color9#d16366rgb(209 99 102)hsl(358 54% 60%)oklch(63.3% 0.139 20.2)3.47 AA 大字号
亮绿color10#5f9e9drgb(95 158 157)hsl(179 25% 50%)oklch(65.7% 0.065 194.4)2.88 低于 AA
亮黄color11#ba793ergb(186 121 62)hsl(29 50% 49%)oklch(63.3% 0.110 60.8)3.35 AA 大字号
亮蓝color12#1b40a6rgb(27 64 166)hsl(224 72% 38%)oklch(41.5% 0.170 264.6)8.48 AAA
亮品红color13#9665afrgb(150 101 175)hsl(280 32% 54%)oklch(58.7% 0.122 313.5)4.14 AA 大字号
亮青color14#8fbcbbrgb(143 188 187)hsl(179 25% 65%)oklch(76.3% 0.048 194.5)1.96 低于 AA
亮白color15#eceff4rgb(236 239 244)hsl(218 27% 94%)oklch(95.1% 0.007 260.7)1.08 低于 AA

关于 Onenord Light

Onenord Light 采用中性色调的浅色背景(#f7f8fa),默认前景色为 #2e3440。正文的 WCAG 对比度为 11.75:1(AAA),12 种 ANSI 彩色槽位平均对比度 3.85:1,最低 1.96:1。

色板整体色彩饱和度适中,其中红色为 #cb4f53、绿色为 #48a53d、蓝色为 #3879c5、品红为 #9f4aca。

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

与 Onenord Light 相似的配色

数据来源:iTerm2 Color Schemes (MIT)