Skip to content

Settings

Settings (/settings) controls the portal’s appearance and branding configuration.

Branding

Setting Description
companyName Displayed in the sidebar header and emails
portalTitle Browser tab title and top bar
logoUrl URL to a company logo image
defaultSpecFile Pre-selected spec in the API browser

Changes take effect immediately without a restart.

Theme presets

Eight built-in colour presets:

Preset Primary Accent
Lockstep (default) Deep navy #0e1d33 Gold #c6873b
Forest Dark green Sage
Ocean Deep blue Cyan
Midnight Near-black Electric blue
Enterprise Charcoal Silver
Slate Slate grey Teal
Crimson Dark red Rose gold
Rose Dusty rose Warm cream

Custom colours

Beyond presets, you can override any CSS variable individually:

  • --navy / --navy-dark / --navy-mid / --navy-light
  • --gold / --gold-light / --gold-hover
  • --bg / --surface / --surface2
  • --border / --border2
  • --text / --text2 / --muted

Live preview updates as you change values.

Persisting settings

Settings are saved to config/portal.json in the portal-config volume. The full structure:

{
"defaultPreset": "lockstep",
"theme": {
"presetId": "lockstep",
"overrides": {
"colors": {
"--gold": "#d4a055"
}
}
},
"branding": {
"companyName": "Lockstep Technology Group",
"portalTitle": "LTG API Portal",
"logoUrl": null,
"defaultSpecFile": "connectwise.json"
}
}

API

Method Path Description
GET /api/config Get full portal config
PUT /api/config Save portal config
GET /api/settings/theme Get theme settings only
PUT /api/settings/theme Update theme settings