Themes
Customize the visual appearance with a 6-color system. Override specific colors in theme.json or install preset themes for complete visual styles.
Theme System
TorlyAI uses a 6-color system that makes it easy to customize the entire interface by changing just a few colors.
The 6 Colors
backgroundMain background color
foregroundPrimary text color
accentHighlights and interactive elements
infoInformational elements
successSuccess states
destructiveErrors and dangerous actions
Theme Locations
Themes cascade from app-level to workspace-level:
- App-level:
~/.torlyai/theme.json - Workspace:
~/.torlyai/workspaces/{id}/theme.json
Workspace themes override app-level themes for that workspace only.
Theme Format
{
"name": "TorlyAI Green",
"author": "TorlyAI",
"version": "1.0.0",
"colors": {
"background": "#0a0a0a",
"foreground": "#fafafa",
"accent": "#22c55e",
"info": "#3b82f6",
"success": "#22c55e",
"destructive": "#ef4444"
},
"dark": {
"background": "#000000",
"foreground": "#ffffff"
}
}Dark Mode
The dark section provides overrides for dark mode. If not specified, the main colors are used.
Preset Themes
TorlyAI comes with several preset themes you can use as starting points:
Default
Clean dark theme with green accents
Haze
Soft purple tones
Ocean
Deep blue color scheme
Creating Custom Themes
- Create a
theme.jsonfile - Define your 6 colors
- Optionally add dark mode overrides
- Place in app or workspace themes folder