Fixed What's new banner visual regression#26787
Conversation
ref https://linear.app/ghost/issue/DES-1305/twcss-4-migration-whats-new-banner-shadow-missing - The custom shadow syntax changed with the recent Tailwind CSS 4 integration, which caused a visual regression in the What's New banner in the sidebar.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughThe change refactors CSS utility classes in the banner component's gradient variant. Multiple explicit shadow utility classes are replaced with consolidated shadow syntax. This updates shadow declarations for normal, dark, hover, and dark-hover states, consolidating them from rgb-based shadow tokens to a unified shadow declaration format. The final hover and translate classes remain unchanged. No modifications to public APIs or component behavior; only the internal CSS class strings are updated. 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 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 |
ref https://linear.app/ghost/issue/DES-1305/twcss-4-migration-whats-new-banner-shadow-missing