Conversation
commit: |
There was a problem hiding this comment.
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-uipackage with UnoCSS preset and Vue components - Refactored
packages/vite/src/uno.config.tsto 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.
antfu
approved these changes
Jan 21, 2026
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.
No description provided.