Skip to content

refactor(rolldown): theme#233

Open
webfansplz wants to merge 2 commits intomainfrom
refactor/theme
Open

refactor(rolldown): theme#233
webfansplz wants to merge 2 commits intomainfrom
refactor/theme

Conversation

@webfansplz
Copy link
Member

@webfansplz webfansplz commented Mar 19, 2026

Theme:

image

Screenshot:

image

Copilot AI review requested due to automatic review settings March 19, 2026 14:04
@webfansplz webfansplz marked this pull request as draft March 19, 2026 14:06
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Refactors DevTools UI theming by moving primary color definitions out of the shared UI preset into tool-specific UnoCSS configs (rolldown/vite), and updates rolldown branding colors accordingly.

Changes:

  • Add per-tool theme overrides in packages/vite and packages/rolldown UnoCSS configs.
  • Update presetDevToolsUI to accept an optional theme option and merge it into the UnoCSS theme.
  • Adjust rolldown visual branding (logo gradients) and add a predefined hue for rolldown.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
packages/vite/src/uno.config.ts Adds a primary palette override via presetDevToolsUI({ theme }).
packages/ui/src/unocss/theme.ts Removes the previously exported shared theme definition.
packages/ui/src/unocss/index.ts Extends preset options with theme and changes how theme merging is applied.
packages/rolldown/src/uno.config.ts Adds a rolldown-specific primary palette override via presetDevToolsUI({ theme }).
packages/rolldown/src/app/utils/color.ts Adds rolldown to the predefined hue map.
packages/rolldown/src/app/components/visual/LogoBanner.vue Updates glow/gradient colors to match rolldown branding.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

@webfansplz webfansplz marked this pull request as ready for review March 19, 2026 14:21
@pkg-pr-new
Copy link

pkg-pr-new bot commented Mar 19, 2026

Open in StackBlitz

@vitejs/devtools

npm i https://pkg.pr.new/@vitejs/devtools@233

@vitejs/devtools-kit

npm i https://pkg.pr.new/@vitejs/devtools-kit@233

@vitejs/devtools-rolldown

npm i https://pkg.pr.new/@vitejs/devtools-rolldown@233

@vitejs/devtools-rpc

npm i https://pkg.pr.new/@vitejs/devtools-rpc@233

@vitejs/devtools-self-inspect

npm i https://pkg.pr.new/@vitejs/devtools-self-inspect@233

commit: fd1c9cb

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.

2 participants