Repository navigation
Refresh the web UI with shadcn-style StyleX components - #45
Merged
Merged
Conversation
Add shared font, radius, and shadow tokens, bundle Inter, and extend the local shadcn set with Button variants and sizes, Card, Input, and Badge. Apply them to the sidebar, agent header tabs, home, composer, tool activity, settings, feed, and jobs filters. Before/after screenshots are in docs/visual-refresh-evidence. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Scott · project thread
Summary
A visual pass to make the web UI feel more modern and clean, built on StyleX and shadcn components.
StyleX + shadcn approach: the repo already adapts shadcn's Base UI components by hand and swaps their Tailwind classes for StyleX (see
docs/development.md). This PR keeps that approach and doesn't add Tailwind. The new components are locally owned copies of shadcn components with StyleX styles.styles/tokens.stylex.ts): newfonts,radii, andshadowsvars. Shadows mix in the active foreground color, so they work with every custom theme. The--roost-*palette contract is unchanged; the only palette change is a slightly less yellow default light sidebar (#F2F2E9→#F6F6F1).@fontsource-variable/inter(5.3.0). Before this, the stack named Inter but fell back to Arial or the system font on machines that don't have Inter installed.components/ui): Button getsvariant(ghoststays the default, so the ~165 existing call sites look the same; addsdefault,secondary,outline,destructive) andsize. New Card, Input (Base UI), and Badge.Light and dark both work, and so does mobile. Message text in the chat screenshots is blurred because they were taken against real data.
Screenshots (before → after)
Home
Chat
Chat (dark)
Chat (mobile)
Dashboard
Feed
Settings
Settings (mobile)
Create agent
Testing
pnpm lintandpnpm --filter @roost/web typecheckare clean.pnpm --filter @roost/web test: 429 passed, 0 failed.🤖 Generated with Claude Code