本文へスキップ

Swayr

Swayr はダーク系のターミナル配色(暖色)。背景色 #1c1709、文字色 #c2b9a1、コントラスト比 9.1:1

設定を取得
背景色
#1c1709
前景色
#c2b9a1
文字のコントラスト
9.14:1AAA
アクセントのコントラスト
5.58:1最小 1.63
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
❯

Swayr の設定ファイル

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

Swayr

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

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

palette = 0=#1c1709
palette = 1=#8e4317
palette = 2=#787200
palette = 3=#945c00
palette = 4=#315094
palette = 5=#5c2e40
palette = 6=#00617d
palette = 7=#c2b9a1
palette = 8=#4f4939
palette = 9=#f07935
palette = 10=#d9d138
palette = 11=#ffab26
palette = 12=#8aa9ed
palette = 13=#ff8cb8
palette = 14=#43bfe0
palette = 15=#f2e8c9
background = #1c1709
foreground = #c2b9a1
cursor-color = #c2b9a1
cursor-text = #1c1709
selection-background = #413a2a
selection-foreground = #c2b9a1

Swayr のパレット

パレット各スロットの色値と背景に対する WCAG コントラスト比
カラースロットHEXRGBHSLOKLCHコントラスト
背景色background#1c1709rgb(28 23 9)hsl(44 51% 7%)oklch(20.6% 0.026 90.4)—
前景色foreground#c2b9a1rgb(194 185 161)hsl(44 21% 70%)oklch(78.7% 0.034 89.9)9.14 AAA
カーソルcursor#c2b9a1rgb(194 185 161)hsl(44 21% 70%)oklch(78.7% 0.034 89.9)9.14 AAA
カーソルの文字cursorText#1c1709rgb(28 23 9)hsl(44 51% 7%)oklch(20.6% 0.026 90.4)1.00 AA 未満
選択範囲selection#413a2argb(65 58 42)hsl(42 21% 21%)oklch(35.1% 0.028 87.1)1.58 AA 未満
選択範囲の文字selectionText#c2b9a1rgb(194 185 161)hsl(44 21% 70%)oklch(78.7% 0.034 89.9)9.14 AAA
黒color0#1c1709rgb(28 23 9)hsl(44 51% 7%)oklch(20.6% 0.026 90.4)1.00 AA 未満
赤color1#8e4317rgb(142 67 23)hsl(22 72% 32%)oklch(47.2% 0.116 47.1)2.52 AA 未満
緑color2#787200rgb(120 114 0)hsl(57 100% 24%)oklch(54.0% 0.115 106.0)3.58 AA(大きな文字)
黄color3#945c00rgb(148 92 0)hsl(37 100% 29%)oklch(52.5% 0.114 69.1)3.22 AA(大きな文字)
青color4#315094rgb(49 80 148)hsl(221 50% 39%)oklch(44.4% 0.118 263.8)2.30 AA 未満
マゼンタcolor5#5c2e40rgb(92 46 64)hsl(337 33% 27%)oklch(36.7% 0.071 356.3)1.63 AA 未満
シアンcolor6#00617drgb(0 97 125)hsl(193 100% 25%)oklch(45.9% 0.088 226.1)2.56 AA 未満
白color7#c2b9a1rgb(194 185 161)hsl(44 21% 70%)oklch(78.7% 0.034 89.9)9.14 AAA
明るい黒color8#4f4939rgb(79 73 57)hsl(44 16% 27%)oklch(40.6% 0.027 89.9)1.99 AA 未満
明るい赤color9#f07935rgb(240 121 53)hsl(22 86% 57%)oklch(70.3% 0.166 47.1)6.37 AA
明るい緑color10#d9d138rgb(217 209 56)hsl(57 68% 54%)oklch(84.2% 0.164 106.4)11.16 AAA
明るい黄color11#ffab26rgb(255 171 38)hsl(37 100% 57%)oklch(80.4% 0.163 71.8)9.44 AAA
明るい青color12#8aa9edrgb(138 169 237)hsl(221 73% 74%)oklch(73.8% 0.105 265.1)7.64 AAA
明るいマゼンタcolor13#ff8cb8rgb(255 140 184)hsl(337 100% 77%)oklch(77.7% 0.147 356.7)8.25 AAA
明るいシアンcolor14#43bfe0rgb(67 191 224)hsl(193 72% 57%)oklch(75.0% 0.116 219.3)8.31 AAA
明るい白color15#f2e8c9rgb(242 232 201)hsl(45 61% 87%)oklch(93.1% 0.042 92.2)14.59 AAA

Swayr について

Swayr は暖色寄りのダーク背景(#1c1709)を採用し、標準の前景色に #c2b9a1 を使ったターミナル配色です。本文の WCAG コントラスト比は 9.14:1(AAA)、12 色の ANSI カラーは平均 5.58:1、最小 1.63:1 です。

パレット全体は適度な彩度で、赤 #8e4317、緑 #787200、青 #315094、マゼンタ #5c2e40 を基調としています。

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

Swayr に似た配色

データ出典:terminal.sexy (MIT)