---
paths:
  - "licensing-service-startos/licensing-service/web/**"
  - "licensing-service-startos/licensing-service/src/api/admin_ui.rs"
---

# Admin SPA conventions (web/index.html)

The admin UI is a single embedded `web/index.html` (rust-embed), served via
`api/admin_ui.rs`.

## Pill / toggle colors

- **Navy-filled** — selected / on state.
- **Cream-outlined** — off state.
- **Opacity** (not strikethrough) — muted / disabled.
- **Gold** is reserved **strictly for marketing accents** (most-popular badge,
  launch-special ribbon). Never use gold for ordinary selected/on state.

## Reference flows

- `openBtcpayConnectModal` is the reference implementation for the BTCPay
  one-click connect flow — see [payments](payments.md).

Don't rewrite user-facing copy in here outside the explicit scope of a request.
