fix(style): adapt feedback and welcome to dark mode - #336
Conversation
|
Warning Rate limit exceeded
To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughThis PR updates multiple component styling across the codebase to use CSS variables and theme tokens instead of hardcoded color values, enabling consistent theme application and dark mode support throughout the component library. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Review rate limit: 0/1 reviews remaining, refill in 20 minutes and 15 seconds.Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@packages/components/src/feedback/index.vue`:
- Around line 147-150: The current CSS variable mappings assign hover source
vars to active destination tokens (e.g., --tv-Button-bg-color-active-default)
causing hover styles not to apply; update the mappings so the hover destination
tokens are used instead: replace --tv-Button-bg-color-active-default,
--tv-Button-border-color-active-default, and
--tv-Button-text-color-active-default with --tv-Button-bg-color-hover-default,
--tv-Button-border-color-hover-default, and --tv-Button-text-color-hover-default
respectively and point each to the corresponding --tr-feedback-button-*-hover
variable to restore correct TinyButton hover behavior.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro
Run ID: 24f7a8e9-b38e-4dc0-8eea-b1c9b9474e24
⛔ Files ignored due to path filters (3)
packages/svgs/src/assets/dislike.svgis excluded by!**/*.svgpackages/svgs/src/assets/like.svgis excluded by!**/*.svgpackages/svgs/src/assets/menu.svgis excluded by!**/*.svg
📒 Files selected for processing (5)
docs/demos/welcome/align.vuepackages/components/src/action-group/ActionGroup.vuepackages/components/src/feedback/components/SourceList.vuepackages/components/src/feedback/index.vuepackages/components/src/welcome/index.vue
📦 Package Previewpnpm add https://pkg.pr.new/@opentiny/tiny-robot@a7fdb7f pnpm add https://pkg.pr.new/@opentiny/tiny-robot-kit@a7fdb7f pnpm add https://pkg.pr.new/@opentiny/tiny-robot-svgs@a7fdb7f commit: a7fdb7f |
🧹 Preview Cleaned UpThe preview deployment has been removed. |

Summary by CodeRabbit