Repository navigation
Let themes reach icons, shape and motion (not only colours) #31692
CantrellJax
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Custom themes are great for colours: about 60 named roles, light and dark variants, import and preview. But a theme still can't change a few things that decide how the app feels:
lucide-reactdirectly, so a theme can't swap even one icon.data-theme-id=t3-chatProposal. Three small, opt-in changes, each with today's values as the defaults, so nothing changes visually unless a theme sets them:
lucide-react, and a theme can override individual entries. This is mechanical, and splits by area.ThemeDefinition: radius, shadow, spacing scale, motion duration and easing, emitted as CSS variables next to the colour roles.ThemeDefinition, falling back to the current appearance settings.The colour leaks could go through #31385 for the terminal palette, plus a tiny change to move the composer overrides onto roles.
We're building this in a downstream fork and would like it to match whatever shape you'd accept. If the direction sounds right, we can send each piece as a small PR, in whatever split and order you prefer. If you'd rather not take it, that's fine too.
All reactions