テーマ
プロバイダーネイティブの自動モードを使うか、profile-snake と共通の 43 のプリセットから選ぶか、いくつかの色を上書きするか、パレット全体を定義します。
ネイティブの自動モード
1 つの SVG にライトとダーク
プリセットがなければ、どのカードも github-light と github-dark を持ち、prefers-color-scheme で切り替えます。GitLab のプロフィールには GitLab のパレットが使われます。PNG と WebP は切り替えられないので、ライトのパレット、または theme.mode: dark ならダークのパレットを使います。
yaml
provider:
type: github
user: octocat
theme:
mode: auto
native: true
プリセット
下のプレビューはすべて、コピーできる YAML 付きの本物のカードです。
Signal Dark
ダーク
yaml
theme:
preset: signal-dark
Signal Light
ライト
yaml
theme:
preset: signal-light
GitHub Light
ライト
yaml
theme:
preset: github-light
GitHub Dark
ダーク
yaml
theme:
preset: github-dark
GitLab Light
ライト
yaml
theme:
preset: gitlab-light
GitLab Dark
ダーク
yaml
theme:
preset: gitlab-dark
Dracula
ダーク
yaml
theme:
preset: dracula
Nord
ダーク
yaml
theme:
preset: nord
Tokyo Night
ダーク
yaml
theme:
preset: tokyo-night
Catppuccin
ダーク
yaml
theme:
preset: catppuccin
One Dark
ダーク
yaml
theme:
preset: one-dark
One Light
ライト
yaml
theme:
preset: one-light
Gruvbox Dark
ダーク
yaml
theme:
preset: gruvbox-dark
Gruvbox Light
ライト
yaml
theme:
preset: gruvbox-light
Solarized Dark
ダーク
yaml
theme:
preset: solarized-dark
Solarized Light
ライト
yaml
theme:
preset: solarized-light
Halloween
ダーク
yaml
theme:
preset: halloween
Winter
ライト
yaml
theme:
preset: winter
New Year
ダーク
yaml
theme:
preset: new-year
Sakura
ライト
yaml
theme:
preset: sakura
Monokai
ダーク
yaml
theme:
preset: monokai
Ayu Mirage
ダーク
yaml
theme:
preset: ayu-mirage
Material Palenight
ダーク
yaml
theme:
preset: material-palenight
Night Owl
ダーク
yaml
theme:
preset: night-owl
Rose Pine
ダーク
yaml
theme:
preset: rose-pine
GitHub Dimmed
ダーク
yaml
theme:
preset: github-dimmed
Monochrome
ライト
yaml
theme:
preset: monochrome
Matrix
ダーク
yaml
theme:
preset: matrix
Ocean
ダーク
yaml
theme:
preset: ocean
Sunset
ダーク
yaml
theme:
preset: sunset
High Contrast
ダーク
yaml
theme:
preset: high-contrast
2077
ダーク
yaml
theme:
preset: "2077"
Radical
ダーク
yaml
theme:
preset: radical
Zenburn
ダーク
yaml
theme:
preset: zenburn
Vue
ライト
yaml
theme:
preset: vue
Nord Bright
ライト
yaml
theme:
preset: nord-bright
Transparent
ダーク
yaml
theme:
preset: transparent
Aura
ダーク
yaml
theme:
preset: aura
Cobalt2
ダーク
yaml
theme:
preset: cobalt2
Outrun
ダーク
yaml
theme:
preset: outrun
Moonlight
ダーク
yaml
theme:
preset: moonlight
React
ダーク
yaml
theme:
preset: react
Merko
ダーク
yaml
theme:
preset: merko
Gotham
ダーク
yaml
theme:
preset: gotham
Jolly
ダーク
yaml
theme:
preset: jolly
Synthwave
ダーク
yaml
theme:
preset: synthwave
このフィルターに一致するテーマはありません。
いくつかの色を上書きする
プリセットから始めて、気になる色だけを置き換えます。chart は線、棒、アイコンのアクセントカラー、grid は空のセルとカレンダーの 4 段階の色です。background: transparent でカードの背景をなくします。
yaml
theme:
preset: tokyo-night
background: transparent
colors:
text: "#c0caf5"
chart:
accent: "#ff9e64"
accent2: "#bb9af7"
grid:
levels: ["#1f2335", "#3d59a1", "#7aa2f7", "#c0caf5"]
グラデーション背景
線形グラデーション
theme.background はグラデーションも受け付けます。角度(度)と 2〜8 色をカンマで区切って指定します。色はカード全体に均等に配置され、単色の背景が必要な場所では最初の色が使われます。
yaml
theme:
preset: github-dark
background: "30,#e96443,#904e95"
カスタムテーマ
YAML による完全なパレット
プリセットは不要です。背景、カレンダーの段階、4 つのグラフの色を定義します。text は任意で、デフォルトは mode に合った濃いまたは薄いグレーです。
yaml
theme:
custom:
name: rainbow
mode: dark
background: "#111827"
text: "#f9fafb"
grid:
empty: "#1f2937"
levels: ["#ef4444", "#f59e0b", "#22c55e", "#38bdf8"]
chart:
accent: "#a78bfa"
accent2: "#f472b6"
accent3: "#38bdf8"
muted: "#94a3b8"