-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove the global style reset #2922
Conversation
🦋 Changeset detectedLatest commit: b29c790 The changes in this PR will be included in the next version bump. This PR includes changesets to release 5 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## next #2922 +/- ##
=======================================
Coverage 87.67% 87.67%
=======================================
Files 232 232
Lines 13220 13220
Branches 1807 1807
=======================================
Hits 11590 11590
Misses 1574 1574
Partials 56 56 |
Size Change: -21.3 kB (-3.07%) Total Size: 674 kB
ℹ️ View Unchanged
|
Relates to #2237 and #2913.
Purpose
CSS resets are used to reduce browser inconsistencies in things like default line heights, margins and font sizes of headings, and so on. All browsers have presentation defaults, but no browsers have the same defaults.
Circuit UI’s global base styles are pretty opinionated and can clash with other frameworks or styles used on a page. In #2237, we added the style resets to individual components as necessary. In #2913, we exported the component styles without the reset styles as an experiment.
Approach and changes
Definition of done