本文へスキップ

Spacemacs

Spacemacs はダーク系のターミナル配色(ソフト)。背景色 #1f2022、文字色 #a3a3a3、コントラスト比 6.5:1

設定を取得
背景色
#1f2022
前景色
#a3a3a3
文字のコントラスト
6.46:1AA
アクセントのコントラスト
4.64:1最小 2.61
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
❯

Spacemacs の設定ファイル

16 種類の形式を、ひとつのパレットから生成

Spacemacs

~/.config/ghostty/themes/Spacemacs に保存し、config または config.ghostty に theme = Spacemacs を書く

Ghostty の配色をもっと見る
元ファイル
# Theme: Spacemacs (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/ja/schemes/spacemacs?format=ghostty

palette = 0=#1f2022
palette = 1=#f2241f
palette = 2=#67b11d
palette = 3=#b1951d
palette = 4=#4f97d7
palette = 5=#a31db1
palette = 6=#2d9574
palette = 7=#a3a3a3
palette = 8=#585858
palette = 9=#f2241f
palette = 10=#67b11d
palette = 11=#b1951d
palette = 12=#4f97d7
palette = 13=#a31db1
palette = 14=#2d9574
palette = 15=#f8f8f8
background = #1f2022
foreground = #a3a3a3
cursor-color = #a3a3a3
cursor-text = #1f2022
selection-background = #3d3d3f
selection-foreground = #a3a3a3

Spacemacs のパレット

パレット各スロットの色値と背景に対する WCAG コントラスト比
カラースロットHEXRGBHSLOKLCHコントラスト
背景色background#1f2022rgb(31 32 34)hsl(220 5% 13%)oklch(24.3% 0.004 264.5)—
前景色foreground#a3a3a3rgb(163 163 163)hsl(0 0% 64%)oklch(71.5% 0.000 0)6.46 AA
カーソルcursor#a3a3a3rgb(163 163 163)hsl(0 0% 64%)oklch(71.5% 0.000 0)6.46 AA
カーソルの文字cursorText#1f2022rgb(31 32 34)hsl(220 5% 13%)oklch(24.3% 0.004 264.5)1.00 AA 未満
選択範囲selection#3d3d3frgb(61 61 63)hsl(240 2% 24%)oklch(36.1% 0.003 286.2)1.50 AA 未満
選択範囲の文字selectionText#a3a3a3rgb(163 163 163)hsl(0 0% 64%)oklch(71.5% 0.000 0)6.46 AA
黒color0#1f2022rgb(31 32 34)hsl(220 5% 13%)oklch(24.3% 0.004 264.5)1.00 AA 未満
赤color1#f2241frgb(242 36 31)hsl(1 89% 54%)oklch(61.5% 0.236 28.5)3.92 AA(大きな文字)
緑color2#67b11drgb(103 177 29)hsl(90 72% 40%)oklch(68.6% 0.186 133.7)6.12 AA
黄color3#b1951drgb(177 149 29)hsl(49 72% 40%)oklch(67.6% 0.131 94.6)5.58 AA
青color4#4f97d7rgb(79 151 215)hsl(208 63% 58%)oklch(65.8% 0.120 247.6)5.23 AA
マゼンタcolor5#a31db1rgb(163 29 177)hsl(294 72% 40%)oklch(52.1% 0.227 323.6)2.61 AA 未満
シアンcolor6#2d9574rgb(45 149 116)hsl(161 54% 38%)oklch(60.2% 0.107 167.6)4.40 AA(大きな文字)
白color7#a3a3a3rgb(163 163 163)hsl(0 0% 64%)oklch(71.5% 0.000 0)6.46 AA
明るい黒color8#585858rgb(88 88 88)hsl(0 0% 35%)oklch(46.0% 0.000 0)2.29 AA 未満
明るい赤color9#f2241frgb(242 36 31)hsl(1 89% 54%)oklch(61.5% 0.236 28.5)3.92 AA(大きな文字)
明るい緑color10#67b11drgb(103 177 29)hsl(90 72% 40%)oklch(68.6% 0.186 133.7)6.12 AA
明るい黄color11#b1951drgb(177 149 29)hsl(49 72% 40%)oklch(67.6% 0.131 94.6)5.58 AA
明るい青color12#4f97d7rgb(79 151 215)hsl(208 63% 58%)oklch(65.8% 0.120 247.6)5.23 AA
明るいマゼンタcolor13#a31db1rgb(163 29 177)hsl(294 72% 40%)oklch(52.1% 0.227 323.6)2.61 AA 未満
明るいシアンcolor14#2d9574rgb(45 149 116)hsl(161 54% 38%)oklch(60.2% 0.107 167.6)4.40 AA(大きな文字)
明るい白color15#f8f8f8rgb(248 248 248)hsl(0 0% 97%)oklch(97.9% 0.000 0)15.35 AAA

Spacemacs について

Spacemacs はニュートラルのダーク背景(#1f2022)を採用し、標準の前景色に #a3a3a3 を使ったターミナル配色です。本文の WCAG コントラスト比は 6.46:1(AA)、12 色の ANSI カラーは平均 4.64:1、最小 2.61:1 です。

パレット全体は適度な彩度で、赤 #f2241f、緑 #67b11d、青 #4f97d7、マゼンタ #a31db1 を基調としています。

Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 向けの設定ファイルを書き出せるほか、VS Code・Zed の統合ターミナル、CSS 変数、Tailwind CSS、JSON 形式にも対応しています。

Spacemacs に似た配色

データ出典:Gogh (MIT OR Apache-2.0)