Skip to content
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

Allow external stylis plugins #347

Merged
merged 2 commits into from Sep 26, 2017
Merged

Conversation

emmatown
Copy link
Member

@emmatown emmatown commented Sep 26, 2017

What:

Allow external stylis plugins.

Why:

So people can do things like RTL.

How:

Add a usePlugin export (I'm not sure about the name) which pushes the plugin to an array of external plugins, removes all stylis plugins, inserts the external ones and then the insertion plugin.

Checklist:

  • Documentation
  • Tests
  • Code complete

@emmatown emmatown requested a review from tkh44 September 26, 2017 04:06
@codecov
Copy link

codecov bot commented Sep 26, 2017

Codecov Report

Merging #347 into master will increase coverage by 0.02%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #347      +/-   ##
==========================================
+ Coverage   97.34%   97.36%   +0.02%     
==========================================
  Files          17       17              
  Lines         564      569       +5     
  Branches      134      134              
==========================================
+ Hits          549      554       +5     
  Misses         11       11              
  Partials        4        4
Impacted Files Coverage Δ
packages/emotion/src/index.js 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ed0f33f...1646094. Read the comment docs.

@emmatown emmatown merged commit ee09423 into master Sep 26, 2017
@emmatown emmatown deleted the allow-external-stylis-plugins branch September 26, 2017 05:01
@tkh44
Copy link
Member

tkh44 commented Sep 26, 2017

cc @thysultan 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants