feat(desktop): comprehensive UI polish — design system, animations, and theme overhaul#2535
Closed
HUQIANTAO wants to merge 2 commits into
Closed
feat(desktop): comprehensive UI polish — design system, animations, and theme overhaul#2535HUQIANTAO wants to merge 2 commits into
HUQIANTAO wants to merge 2 commits into
Conversation
1cdd7dc to
751771f
Compare
Collaborator
|
附个截图看看 |
Contributor
Author
|
Hi @SivanCola — 感谢 review 🙏 PR description 里其实已经附了 4 张图(暗/亮主题、message area、tool cards、welcome screen),覆盖了主要改动区域。如果想看某个具体区域的新效果,可以告诉我具体哪个(drawer 进入动画?streaming cursor 的 breathe?thinking 的 pulse?),我再补。 另外:当前这个 PR 在 rebase 后冲突,需要先把冲突解决(详见下一个 comment)。 |
9ce4026 to
8a1c640
Compare
Owner
|
Thanks for the work here. This PR currently has an empty diff (0 files changed, +0/-0): the two commits add and then remove a screenshot, cancelling each other out, and the styles.css / Message.tsx changes described in the PR body were never committed. Closing as there is nothing to merge. If you would like to land the UI polish, please open a fresh PR with the actual changes against the latest main-v2. Thank you! |
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.
Summary
A comprehensive visual overhaul of the Reasonix desktop frontend that transforms the UI from a functional-but-raw state into a polished, modern interface. This PR touches the design token system, animation framework, and every major visual component.
Motivation
The desktop shell was functionally complete (chat, commands, sessions, memory, settings, approvals, updates) but lacked visual refinement. The goal is to bring it to a professional-grade aesthetic comparable to tools like Cherry Studio, Cursor, and Continue.
Changes
Design Token System (
styles.css—:rootvariables)Surface palette (dark theme)
#0e0e10with a deep blue-purple#1a1a2e, creating a softer, more layered dark environment--bg-soft(#22223a),--bg-elev(#2a2a45),--bg-elev-2(#33335a)--border: #3a3a5c)Surface palette (light theme)
#faf9f7) to cooler neutral gray (#f5f5f7)Text hierarchy
--fg-1(primary),--fg-2(secondary),--fg-3(tertiary/metadata)#e8e8f0/#a0a0b8/#6c6c88; Light:#1d1d2a/#52526a/#8888a0Shadow system
--shadow-sm,--shadow-md,--shadow-lgRadius system
--radius-sm(8px),--radius(12px),--radius-lg(16px)Transition system
--ease-fast(0.12s),--ease(0.2s),--ease-slow(0.3s)Chat-specific tokens
--chat-bg-user/--chat-bg-assistantfor per-role message backgroundsAnimation System (new)
Six reusable
@keyframes+ utility classes:.anim-pulse.anim-slide-in.anim-slide-up.anim-fade-in.anim-scale-in.breatheMessage Area (
Message.tsx+styles.css)User messages
msg__avatarelement: 20x20px rounded square withUsericon (Lucide), accent-tinted background--chat-bg-userbackground, 1px border, 12px border-radius--accent-soft, border darkensAssistant messages
--chat-bg-assistantbackground containerMessage actions toolbar
opacity: 0), revealed on message hover at 60% opacityRewind menu
--bg-softto--bg-elevanim-scale-inentrance animation--shadow-mdThinking/Reasoning Indicator (
Message.tsx+styles.css)Icon
ChevronRightwithBrain(Lucide) iconanim-pulseanimation while thinkingElapsed time
X.Xsin monospaceToggle button
Content body
--borderto--accent-soft--bg-softbackground fillanim-slide-upentrance animationStreaming Cursor
blinkto smoothbreathe(1.4s ease-in-out)box-shadowglow effect with accent colorTool Cards
box-shadowglow ring (0 0 0 1px var(--accent-soft))--radius-smtokenWelcome Screen
radial-gradientwith accent-tinted soft glowanim-slide-upentrance on all elements (logo -> title -> tagline -> hints -> examples, 50ms intervals)translateY(-1px)+--shadow-smComposer (Input Area)
0 0 0 2pxaccent glow ring--shadow-sm, hover scales to 1.05 with--shadow-mdtranslateY(-1px)anim-pulseanimationDrawers & Modals
Drawers
anim-fade-inon backdropdrawer-inkeyframe with sharedanim-slide-in--shadow-lgModals
anim-fade-inon backdropanim-scale-inentrance on modal body--shadow-lgScrollbar
--borderthumb with semi-transparent overlay (dark:rgba(255,255,255,0.15), light:rgba(0,0,0,0.12))--scrollbar-thumb/--scrollbar-thumb-hovertokens with theme-aware valuesStatus Bar
pulsekeyframe with sharedanim-pulseChip (Header Buttons)
--radius-smtokentranslateY(-1px)micro-liftFiles Changed
desktop/frontend/src/styles.cssdesktop/frontend/src/components/Message.tsxTesting
wails buildon macOS arm64