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

[WIP] Emotion #331

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft

[WIP] Emotion #331

wants to merge 4 commits into from

Conversation

nathanmarks
Copy link
Collaborator

@nathanmarks nathanmarks commented Jun 12, 2019

Trying out emotion to replace Radium. Making it so the style props are backwards compatible to make potential migration for consumers easier.

This isn't finished, but docs run and all looks great!!

Gonna try it out in its current form on our apps... technically everything should just work.

Still need to:

  • pass through className on all components. At least where we currently pass style through, to support putting css={} on snacks components for overrides (css={} props get turned into className being passed by emotion)
  • (??MAYBE??) convert theming system to use emotion theming system
  • prob some other stuff i can't think of right now

@codecov
Copy link

codecov bot commented Aug 27, 2019

Codecov Report

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

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #331      +/-   ##
==========================================
+ Coverage   82.22%   82.25%   +0.02%     
==========================================
  Files          59       59              
  Lines        1221     1223       +2     
  Branches      218      218              
==========================================
+ Hits         1004     1006       +2     
  Misses        165      165              
  Partials       52       52
Impacted Files Coverage Δ
src/components/Forms/ValidationError.js 100% <ø> (ø) ⬆️
src/components/SVGIcon/SVGIcon.js 100% <ø> (ø) ⬆️
src/base/RadioCheckboxBase.js 100% <ø> (ø) ⬆️
src/components/Menus/Menu.js 35.38% <ø> (ø) ⬆️
src/components/Buttons/Switch.js 100% <ø> (ø) ⬆️
src/components/Tooltip/TooltipPosition.js 85.71% <ø> (ø) ⬆️
src/components/Forms/MaskedTextField.js 81.25% <ø> (ø) ⬆️
src/components/Link/Link.js 100% <ø> (ø) ⬆️
src/components/Forms/TextField.js 87.5% <ø> (ø) ⬆️
src/components/Tooltip/Tooltip.js 84% <ø> (ø) ⬆️
... and 43 more

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 318fbda...8decc5f. Read the comment docs.

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.

1 participant