Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
be9605e
feat(theme): follow the system's dark mode, with an Appearance setting
jerelvelarde Oct 28, 2026
ef40675
feat(ui): a visual system of cool greys, one accent and five type sizes
jerelvelarde Oct 28, 2026
635bf8a
feat(orb): an orb drawn on a canvas, in a colour for each Bot
jerelvelarde Oct 28, 2026
28d2b5f
feat(orb): one animation clock for every orb, and eyes that follow th…
jerelvelarde Oct 28, 2026
f20d0fb
feat(orb): every Bot and OpenBot's own mark draw the orb
jerelvelarde Oct 28, 2026
9130e04
feat(orb): conversation faces and onboarding's example Bots draw the orb
jerelvelarde Oct 28, 2026
8eace8c
docs: changelog for OpenBot's new look
jerelvelarde Oct 28, 2026
c56d122
fix(orb): keep small faces in their circles, sharp on any screen, sti…
jerelvelarde Oct 28, 2026
d32d624
fix(orb): the skins draw the orb too
jerelvelarde Oct 28, 2026
ca7f7dc
fix(orb): OpenMuse's header draws its face at the size of its slot
jerelvelarde Oct 29, 2026
8bad1bd
fix(orb): a face at rest draws nothing until it changes
jerelvelarde Oct 29, 2026
8685483
fix(orb): two Bots in one colour no longer share a face, and none is …
jerelvelarde Oct 29, 2026
bc44ee9
fix(orb): every colour reads as its own at list size, and the shipped…
jerelvelarde Oct 31, 2026
d2d6cd7
fix(theme): focus rings this look draws clear 3:1 in both themes
jerelvelarde Oct 31, 2026
114a992
fix(orb): faces in a list are still at rest, and a person can still t…
jerelvelarde Oct 31, 2026
7f551e5
feat(settings): Appearance and Bot faces as segmented choices that sa…
jerelvelarde Oct 31, 2026
b02dce0
fix(theme): the nav size is a step of its own above body text
jerelvelarde Oct 31, 2026
a946020
fix(orb): a mark given a size that isn't px draws at its default inst…
jerelvelarde Oct 31, 2026
0f87b3a
fix(orb): a cancelled touch lets go of the eyes, and one broken orb s…
jerelvelarde Oct 31, 2026
79f2fc2
fix(onboarding): example Bots are named once, by their heading
jerelvelarde Oct 31, 2026
b5f7159
test(orb): a small orb's change of state starts at the orb's clock
jerelvelarde Oct 31, 2026
4beb745
fix(orb): the eyes' and the check's shadows are as soft on a 1x scree…
jerelvelarde Nov 2, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .claude/skills/openbot-screen-layout/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,11 +188,11 @@ itself when the dialog changes something.

## Units

The root is the browser's 16px, so Tailwind's spacing, sizes and widths are their documented values
(`p-4` is 16px, `max-w-3xl` is 768px) and land on its 4px grid. Text is the exception: `styles.css`
sets every `--text-*` to Tailwind's default times 15/16, so `text-sm` is 13.125px and body text is
15px. That is the scale this app has always read at; do not size text in px or rem by hand to match
the docs.
The root is the browser's 16px, so Tailwind's spacing, sizes, widths and text sizes are their
documented values (`p-4` is 16px, `max-w-3xl` is 768px, `text-sm` is 14px) and land on its 4px grid.
Text used to be the exception, on a 15px scale of its own; it is not any more. Where a screen needs one
of the named sizes, use the five `type-*` utilities in `theme.css`; do not size text in px or rem by
hand.

Even so, never hardcode a pixel constant derived from a Tailwind token, and never compute a ratio
from one. Measure the element — `offsetWidth`, `clientWidth`, a `ResizeObserver` — and scale from what
Expand Down
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,18 @@ again when they come back to the end or press the arrow. A rail beside a convers
per turn: hovering one previews what was asked and answered, and choosing it goes there. Nothing
changes for a deployment.

### OpenBot has a new look

- Every screen has new colours: cool neutral greys, a near-black primary button that turns light
in dark mode, a purple focus ring, slightly rounder corners and quicker easing. Text now follows
the browser's own size, so it is a little larger than before.
- Dark mode follows the system by default. Settings → General → Appearance offers System, Light and
Dark, kept in this browser. Someone who had turned the old dark switch on stays dark.
- Every Bot, and OpenBot's own mark, is an orb with eyes that blinks and follows the pointer. It
holds still with reduced motion.
- Each Bot's orb takes its colour and pattern from the Bot, so two Bots in one colour still look
different. Violet is kept for OpenBot's own mark.

### Generated interfaces use A2UI 1.0

With generative UI on, a Bot builds an interface from CopilotKit's standard catalog on A2UI 1.0
Expand Down
24 changes: 18 additions & 6 deletions app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,27 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>OpenBot</title>
<!-- Sets the theme before the first paint. Must stay inline and classic: `defer` or `type="module"` runs too late. -->
<!-- The rule in src/lib/theme.ts (parseThemePreference, then resolveTheme): the person's choice, else the system's setting. -->
<script>
// localStorage throws in some privacy modes; a theme is not worth taking the app down for.
try {
const dark = window.localStorage.getItem("openbot-theme") === "dark";
(() => {
let choice = null;
// localStorage throws in some privacy modes; the system's setting still applies.
try {
choice = window.localStorage.getItem("openbot-appearance");
if (choice !== "system" && choice !== "light" && choice !== "dark")
choice = window.localStorage.getItem("openbot-theme") === "dark" ? "dark" : "system";
} catch {}
const dark =
choice === "dark" ||
(choice !== "light" && !!window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches);
document.documentElement.classList.toggle("dark", dark);
document.documentElement.style.colorScheme = dark ? "dark" : "light";
const skin = window.localStorage.getItem("openbot-skin");
if (skin && skin !== "openbot") document.documentElement.dataset.skin = skin;
} catch {}
// The person's skin, painted before the bundle loads, the same way.
try {
const skin = window.localStorage.getItem("openbot-skin");
if (skin && skin !== "openbot") document.documentElement.dataset.skin = skin;
} catch {}
})();
</script>
</head>
<body>
Expand Down
1 change: 0 additions & 1 deletion app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
"@tanstack/react-router": "^1.170.27",
"@tanstack/react-table": "^9.3.1",
"better-auth": "^1.6.27",
"boring-avatars": "^2.0.4",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"embla-carousel-react": "^8.6.0",
Expand Down
24 changes: 17 additions & 7 deletions app/src/components/agents/abstract-avatar.tsx
Original file line number Diff line number Diff line change
@@ -1,25 +1,35 @@
import Avatar from "boring-avatars";
import { BotOrb } from "@/components/agents/orb/bot-orb";

/**
* A Bot's face: its orb, with the look its seed picks. The seed is the Bot's id unless a tenant
* package set one or the Bot was copied from another, so `ChannelAvatar`, which goes by id, matches it
* for every other Bot.
* The orb hides itself from assistive tech, so the Bot is announced once, by name. Beside a heading
* that already names the Bot, pass `decorative` and the face is hidden too, so it isn't said twice.
*
* Clipped to its circle, so its glow never spills into the row beside it or makes a list scroll.
* At rest the glow is too faint that far out to be missed.
*/
export function AbstractAvatar({
decorative = false,
name,
seed,
size = 40,
}: {
decorative?: boolean;
name: string;
seed: string;
size?: number;
}) {
return (
<span
role="img"
aria-label={name}
{...(decorative
? { "aria-hidden": true }
: { role: "img", "aria-label": name })}
className="inline-flex shrink-0 overflow-hidden rounded-full"
style={{ height: size, width: size }}
>
{/* The drawing carries its own role; hidden so the coworker is announced once, by name. */}
<span aria-hidden="true" className="contents">
<Avatar name={seed} size={size} />
</span>
<BotOrb seed={seed} size={size} />
</span>
);
}
Loading