-
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
feat(styles): extract static style #477
Conversation
Codecov Report
@@ Coverage Diff @@
## canary #477 +/- ##
=========================================
+ Coverage 76.15% 79.55% +3.4%
=========================================
Files 167 167
Lines 2453 2460 +7
Branches 435 443 +8
=========================================
+ Hits 1868 1957 +89
+ Misses 467 387 -80
+ Partials 118 116 -2
|
e9aed56
to
67dc9af
Compare
I'm so excited about this! I'm gonna take it for the test drive tomorrow |
4ee21e7
to
c11630d
Compare
95c9743
to
741b874
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't have any initial objections with the approach. I've tested it and discussed about potential drawbacks, but honestly this is good enough for a beta version.
f0e332c
to
a8bd8de
Compare
a8bd8de
to
02bd4fd
Compare
🎉 This PR is included in version 1.2.2-canary.5 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 1.3.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Closes #479.
Purpose
There are some frontend projects at SumUp that can't or don't use React. They need to implement all styles from scratch and need to be updated separately. This would be solved if we could somehow get the styles from the React components as plain CSS. This is exactly what static style extraction aims to achieve.
🔗 Proposal
🔗 Docs
🔗 Example file (GitHub doesn't allow the upload of
.css
files, so you need to change the file type from.txt
to.css
)Approach and changes
CacheProvider
to extract the static stylesTodo
Definition of done