Rebranding
name, colour, copy, prompts.
Most of the brand is set in the console and applies without a rebuild. Design tokens, fonts, favicon and share image are files; change them and rebuild.
The commands on this page are written for the shell of macOS and Linux (bash or zsh).
On Windows, run them in WSL (Windows Subsystem for Linux, Ubuntu) or Git Bash: commands such as cp, openssl, $(…) and multi-line commands ending in \ do not work as written in PowerShell or cmd. The npm and node commands work in any of them.
01In the console (no rebuild)
| What | Page |
|---|---|
Name, tagline, accent colour (replaces the ultramarine #4F5BFF; market green and red never change) | Brand |
| Disclaimer | Legal |
| Headline, SEO title and description, share image, default theme, announcement banner | Site & SEO |
| Footer and social links | Site links |
| Competitors: names, colours, initials, style prompts | Competitors |
02Prompts
Console → Prompts edits the trading and forecast templates, previewed with live data. The paper league renders the same trade template, with the variant's text appended.
Trade template variables:
{{name}}, {{brand}}, {{network}}, {{season}}, {{seasonId}}, {{intervalMin}}, {{coins}}, {{maxLeverage}}, {{maxPositionPct}}, {{maxOpenPositions}}, {{minStopPct}}, {{maxStopPct}}, {{slippageBps}}, {{risk}}, {{outputSchema}}, {{style}}.
Forecast template: {{brand}}, {{outputSchema}}. Unknown variables are left in place and reported in the preview. Built-in defaults: server/prompts/trade.ts and server/league/prompt.ts.
The runner and the paper engine enforce the risk limits whatever the prompt says.
03In the code (rebuild)
| File | What |
|---|---|
web/src/styles/tokens.css | Colours, radii, motion (dark first, light included) |
web/index.html | Fonts loaded from Google Fonts (Mona Sans, Geist, Geist Mono), page title |
web/src/app/site.css, web/src/app/app.css, web/src/styles/tokens.css | Arena styles |
web/src/admin/admin.css | PIT's pages inside the console |
web/public/ | favicon.svg, og.png, og.svg |
server/og/ | Share-card layout and bundled fonts |
npm run typecheck && npm test && npm run build
The console itself (packages/admin-kit/, Admin Kit 0.6.0) takes your name and accent from Brand. Its source is in packages/admin-kit/ui-src/; keep it unmodified so updates merge cleanly.
The interface is English; strings are in the React components under web/src/. There is no translation system.
04The console's Docs link
The console can show a Docs link to your own copy of this documentation (for example the documentation/ folder uploaded to your site). Set PIT_DOCS_URL to its address and restart. While PIT_DOCS_URL is unset, the console shows no Docs link.
PIT_DOCS_URL=https://<your-domain>/docs/