fix: quick-ref CSS snippet meaningful values + slot styling guidance#161
fix: quick-ref CSS snippet meaningful values + slot styling guidance#161
Conversation
…', adds slot styling - Replace misleading 'initial' placeholder in CSS property examples with heuristic values - Use CEM default values when available for more accurate examples - Add slot styling section to CSS snippet showing correct light DOM CSS patterns - Named slots get [slot="name"] selector examples, default slot gets > * selector - 4 new tests: no initial, slot section, no slot for bare, CEM defaults Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Warning Rate limit exceeded
⌛ 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: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (3)
✨ 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 |
Summary
initialas placeholder — this is misleading becauseinitialresets custom properties to their initial (empty) value, not to a useful default. Now uses CEM defaults or smart property-name heuristics.[slot="name"]selectors, default slot gets> *selector.diagnose_styling(PR fix: buildCssSnippet self-referential var() bug + slot styling guidance #158) andsuggest_usage(PR feat: add slot styling guidance to suggest_usage handler #154).This is the first tool agents call before writing code — making its output correct prevents hallucinations at the source.
Test plan
🤖 Generated with Claude Code