fix: grid breakpoints from px -> rem, update variables #106#107
fix: grid breakpoints from px -> rem, update variables #106#107airikej wants to merge 2 commits into
Conversation
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ 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: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThis PR updates the design system with improved Figma variable export error handling and alpha rounding, migrates responsive breakpoints from pixel to rem units across Sass configurations, and introduces filter component active state theme variables for both default and dark themes. ChangesCore System Updates
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related issues
Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 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. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@scripts/variable-exporter.ts`:
- Around line 130-131: The branch currently compares the rounded value `alpha =
Number(a.toFixed(4))` to 1, which can coerce near-1 transparencies to
`rgb(...)`; change the branch to use the original `a` for the equality check
(e.g., test `a === 1`) while keeping `alpha` (the rounded value) for the `rgba`
output so `rr`, `gg`, `bb` stay the same but transparency is preserved
correctly.
🪄 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: defaults
Review profile: CHILL
Plan: Pro
Run ID: ec67aa4c-7057-4167-9074-b5c08fce1a2f
📒 Files selected for processing (5)
scripts/variable-exporter.tssrc/_mixins.scsssrc/variables/_bootstrap-variables.scsssrc/variables/themes/default/color-variables__dark.scsssrc/variables/themes/default/color-variables__default.scss
Summary by CodeRabbit
New Features
Improvements