Skip to content

Conversation

@webfansplz
Copy link
Member

No description provided.

Copilot AI review requested due to automatic review settings January 20, 2026 16:03
@pkg-pr-new
Copy link

pkg-pr-new bot commented Jan 20, 2026

Open in StackBlitz

npm i https://pkg.pr.new/@vitejs/devtools@166
npm i https://pkg.pr.new/@vitejs/devtools-kit@166
npm i https://pkg.pr.new/@vitejs/devtools-rpc@166
npm i https://pkg.pr.new/@vitejs/devtools-vite@166

commit: ed97208

Copy link

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

This PR sets up a new @vitejs/devtools-ui package to centralize shared UI components and UnoCSS configuration. The UnoCSS preset, theme, and shortcuts previously defined in the vite package are extracted into this reusable package, and Vue components (VisualLogo, VisualLogoBanner, VisualLoading) are organized for shared use.

Changes:

  • Created new @vitejs/devtools-ui package with UnoCSS preset and Vue components
  • Refactored packages/vite/src/uno.config.ts to consume the new preset instead of duplicating configuration
  • Updated all component imports across the vite package to use the centralized components from the UI package

Reviewed changes

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

Show a summary per file
File Description
packages/ui/package.json New package manifest for the UI package
packages/ui/src/unocss/index.ts Extracted UnoCSS preset with theme and shortcuts
packages/ui/src/unocss/theme.ts Extracted color theme configuration
packages/ui/src/unocss/shortcuts.ts Extracted utility shortcuts
packages/ui/src/index.ts Main entry point exporting UnoCSS preset
packages/ui/src/components/VisualLogo.vue New SVG logo component
packages/ui/src/components/VisualLogoBanner.vue Updated banner component importing VisualLogo
packages/ui/src/components/VisualLoading.vue Updated loading component importing VisualLogoBanner
packages/vite/src/uno.config.ts Simplified to use the new preset
packages/vite/package.json Added dependency on @vitejs/devtools-ui
tsconfig.base.json Added path mappings for UI package exports
alias.ts Added aliases for UI package exports
pnpm-lock.yaml Updated lockfile with new package and minor Vue version updates
packages/vite/src/app/**/*.vue Updated component imports to use centralized UI package
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

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

@webfansplz webfansplz requested a review from antfu January 20, 2026 16:11
@antfu antfu merged commit 0d119d9 into main Jan 21, 2026
18 of 19 checks passed
@antfu antfu deleted the feat/ui branch January 21, 2026 07:45
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.

3 participants