Files
omarchycn/default/themed/pi.json.tpl
T
David Heinemeier HanssonandClaude Fable 5 afa2839a5a Rename bg/fg palette keys to background/foreground
The canonical colors.toml keys are now background/foreground, including
all permutations (dark_background, darker_background, lighter_background,
dark_foreground, light_foreground, bright_foreground). The old short
names are gone entirely, not kept as aliases; legacy alacritty-generated
themes still resolve through the ANSI color0/color7 fallback.

Theme files are also regrouped: accent/selection/muted first, then the
backgrounds, then the foregrounds, then the named colors.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-18 16:24:51 -07: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% }}"
}
}