Skip to content

Upgrade UI Style#3028

Draft
nighca wants to merge 2 commits intogoplus:devfrom
nighca:issue-2691
Draft

Upgrade UI Style#3028
nighca wants to merge 2 commits intogoplus:devfrom
nighca:issue-2691

Conversation

@nighca
Copy link
Copy Markdown
Collaborator

@nighca nighca commented Apr 13, 2026

close #2691.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request implements a comprehensive UI theme update, transitioning the editor's visual style from a multi-color palette (yellow, blue, and primary-main) to a more unified grey and turquoise (primary) theme. Key changes include restyling the navbar, panels, buttons, and tabs to use consistent grey tokens, updating SVG icons to use currentColor, and unifying semantic colors for sprites, sounds, and stages. Feedback focuses on maintaining color consistency across interactive elements, specifically regarding hover states for history buttons and ensuring all background colors align with the new primary theme.


const historyBtnClz =
'h-full flex items-center justify-center border-none bg-transparent px-5 text-white outline-none disabled:cursor-not-allowed disabled:text-[#9de6ec] enabled:hover:cursor-pointer enabled:hover:bg-primary-600'
'h-full flex items-center justify-center border-none bg-transparent px-5 text-inherit outline-none disabled:cursor-not-allowed disabled:text-grey-700 enabled:hover:cursor-pointer enabled:hover:text-grey-900'
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The hover text color grey-900 is lighter than the base text-inherit (which resolves to grey-1000 from the navbar wrapper). This is inconsistent with other interactive elements in this PR (like the plus buttons or tab items) which darken on hover. Consider using a lighter base color like grey-800 or grey-900 and darkening to grey-1000 on hover.

  'h-full flex items-center justify-center border-none bg-transparent px-5 text-grey-800 outline-none disabled:cursor-not-allowed disabled:text-grey-700 enabled:hover:cursor-pointer enabled:hover:text-grey-1000'

v-radar="{ name: 'Stage overview', desc: 'Overview of the stage, click to view stage details' }"
class="relative h-14 w-14 cursor-pointer flex items-center justify-center rounded-sm bg-grey-300"
:class="active ? 'border-2 border-stage-main bg-blue-200 p-0' : 'p-0.5 hover:bg-grey-400'"
:class="active ? 'border-2 border-primary-main bg-blue-200 p-0' : 'p-0.5 hover:bg-grey-400'"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The background color bg-blue-200 should be updated to bg-primary-200 to align with the new turquoise-based theme and the changes made to semantic colors in colors.ts where stage now uses primary tokens.

          :class="active ? 'border-2 border-primary-main bg-primary-200 p-0' : 'p-0.5 hover:bg-grey-400'"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Uprade UI style

1 participant