Files
dotfiles/default/themed/pi.json.tpl
T
gitadmin 9c353f257b feat(themes): add color derivation and themed app templates
Add script/omarchy-theme-color and expand omarchy-theme-set-templates to
derive a full palette from each theme's colors.toml, then render new
themed templates (shell, pi, vscode theme, gum, neovim, claude, hermes,
t3code) from it.

Adds backgrounds and palette updates for existing themes plus new themes
(last-horizon, lupine, solitude, tidewater-*, miasma, ...).
2026-09-24 21:25:12 -04:00

96 lines
3.2 KiB
Smarty

{
"$schema": "https://raw.githubusercontent.com/earendil-works/pi/main/packages/coding-agent/src/modes/interactive/theme/theme-schema.json",
"name": "omarchy-system",
"vars": {
"background": "{{ background }}",
"foreground": "{{ foreground }}",
"accent": "{{ accent }}",
"selectionBackground": "{{ selection_background }}",
"selectionForeground": "{{ selection_foreground }}",
"selectedBackground": "{{ mix background accent 22% }}",
"color0": "{{ background }}",
"color1": "{{ red }}",
"color2": "{{ green }}",
"color3": "{{ yellow }}",
"color4": "{{ blue }}",
"color5": "{{ magenta }}",
"color6": "{{ cyan }}",
"color7": "{{ foreground }}",
"color8": "{{ muted }}",
"color9": "{{ bright_red }}",
"color10": "{{ bright_green }}",
"color11": "{{ bright_yellow }}",
"color12": "{{ bright_blue }}",
"color13": "{{ bright_magenta }}",
"color14": "{{ bright_cyan }}",
"color15": "{{ bright_foreground }}",
"panel": "{{ mix background foreground 6% }}",
"panelAlt": "{{ mix background foreground 10% }}",
"panelPending": "{{ mix background accent 12% }}",
"panelSuccess": "{{ mix background green 12% }}",
"panelError": "{{ mix background red 12% }}",
"border": "{{ mix background foreground 30% }}",
"borderMuted": "{{ mix background foreground 20% }}",
"mutedText": "{{ mix foreground background 34% }}",
"dimText": "{{ mix foreground background 52% }}"
},
"colors": {
"accent": "accent",
"border": "border",
"borderAccent": "accent",
"borderMuted": "borderMuted",
"success": "color2",
"error": "color1",
"warning": "color3",
"muted": "mutedText",
"dim": "dimText",
"text": "foreground",
"thinkingText": "dimText",
"selectedBg": "selectedBackground",
"userMessageBg": "panel",
"userMessageText": "foreground",
"customMessageBg": "panel",
"customMessageText": "foreground",
"customMessageLabel": "accent",
"toolPendingBg": "panelPending",
"toolSuccessBg": "panelSuccess",
"toolErrorBg": "panelError",
"toolTitle": "accent",
"toolOutput": "foreground",
"mdHeading": "color5",
"mdLink": "accent",
"mdLinkUrl": "color6",
"mdCode": "color6",
"mdCodeBlock": "foreground",
"mdCodeBlockBorder": "borderMuted",
"mdQuote": "mutedText",
"mdQuoteBorder": "borderMuted",
"mdHr": "borderMuted",
"mdListBullet": "color5",
"toolDiffAdded": "color2",
"toolDiffRemoved": "color1",
"toolDiffContext": "mutedText",
"syntaxComment": "dimText",
"syntaxKeyword": "color5",
"syntaxFunction": "color4",
"syntaxVariable": "accent",
"syntaxString": "color2",
"syntaxNumber": "color3",
"syntaxType": "color4",
"syntaxOperator": "color5",
"syntaxPunctuation": "mutedText",
"thinkingOff": "borderMuted",
"thinkingMinimal": "accent",
"thinkingLow": "color4",
"thinkingMedium": "color5",
"thinkingHigh": "color3",
"thinkingXhigh": "color1",
"bashMode": "color3"
},
"export": {
"pageBg": "{{ background }}",
"cardBg": "{{ mix background foreground 6% }}",
"infoBg": "{{ mix background foreground 10% }}"
}
}