feat: add additional resets to normalize.css#838
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
📝 WalkthroughWalkthroughThis PR refines baseline CSS normalization across the Raystack style system. The normalize.css file receives substantial updates to element normalization rules: base typography formatting is reformatted, table normalization gains explicit border and text-indent properties, form controls are enhanced with inherited font feature and variation settings plus comprehensive typography inheritance, a new textarea resize restriction is added, and replaced elements (img, svg, video, etc.) receive consolidated display and sizing normalization. Corresponding stylesheet changes remove button reset styles from global.css (now delegated to normalize.css) and reorganize imports in index.css to include global.css, remove reset.css, and standardize import path quoting. Suggested reviewers
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 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
normalize.csssuch as: visiblehr, list-style removal, heading/link/abbr resets,border-collapseon tables, font-property inheritance on form controls, Firefox focus/invalid fixes,textarearesize, placeholder styling, button cursors, block-level replaced elements, and[hidden]styles/reset.cssintonormalize.cssstyles/reset.csstostyles/global.css(now only holds global scrollbar styling) and update the import instyles/index.css