Design #
A conventional modern product UI at the craft level of Linear and Vercel. The user chose this on 2026-11-23; see PRODUCT.md → Design Direction.
Color #
Restrained: tinted neutrals plus one accent, the green of the Superbot icon. Tokens live in src/web/styles.css as CSS variables and are exposed to Tailwind through @theme inline.
The landing hero uses the Bluesky banner’s dark pine gradient, mint type and speech-bubble outlines in both color modes. The shared logo and favicon use the same bubble and S from the Icon Composer project in assets/Superbot.icon.
| Token | Role |
|---|---|
bg / panel / sidebar / raised |
Page, content surfaces, nav rail, hover/fill layer |
line / line-strong |
Hairline borders; hover borders |
text / muted / faint |
Primary, secondary and tertiary text |
accent / accent-hover / accent-fg |
Primary actions, current selection, switches |
accent-soft / accent-text |
Selected chips, success badges |
danger, warn, info (+ -soft) |
State only, never decoration |
Dark is the default when the OS asks for it. data-theme on <html> overrides it, and the choice is stored in localStorage. Neutrals carry a faint green hue (oklch hue 155).
Type #
Geist for everything; Geist Mono for commands, variables, regex and code. Base size is 14px, and most UI text is 13px.
- Page titles: 20px semibold, tight tracking.
- Panel titles: 13px semibold.
- Numbers:
tabular(tabular-nums).
Components #
All in src/web/components/ui.tsx.
- Buttons:
- Variants: primary, secondary, ghost, danger, danger-ghost.
- Heights: 32px, or 28px for
sm. - Radius
rounded-md.
- Inputs: 32px high, 1px
lineborder, accent border plus a soft ring on focus. - Panels: bordered
rounded-lgsections with an optional header row. Never nested. - Tables: inside panels. Hairline row dividers and muted 12px headers. Secondary columns hide at narrow widths.
- Editors: native
<dialog>.SectionDialogputs section tabs on the left (General, Conditions, Advanced, Expiry), with the Enabled toggle and actions in the footer.SaveBaris a sticky bar for unsaved settings pages.
- Feedback: toasts in the bottom-right; skeleton rows while loading; empty states that explain the feature; callouts for account and bot status.
Layout #
- 240px sidebar with grouped nav (Main, Moderation, Community, Settings) and a channel switcher. It collapses into a drawer below
lg. - Content is capped at
max-w-6xlwith 32px gutters, 16px on phones.
Motion #
150ms color and transform transitions on controls. No page-load choreography. The landing chat demo fades lines in and respects prefers-reduced-motion.