-
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
Export component styles without global reset #2913
Conversation
🦋 Changeset detectedLatest commit: 19bb68a The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 @@
## main #2913 +/- ##
=======================================
Coverage 87.93% 87.93%
=======================================
Files 223 223
Lines 12933 12933
Branches 1747 1747
=======================================
Hits 11372 11372
Misses 1506 1506
Partials 55 55 |
Size Change: +20.7 kB (+3.07%) Total Size: 695 kB
ℹ️ View Unchanged
|
🚀 Your packages were publishedPublished Packages:
|
Follow up to #2237.
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. This pull request exports a new CSS bundle without the global style reset to prevent these kinds of conflicts.
Approach and changes
@sumup-oss/circuit-ui/experimental/styles.css
Definition of done