Skip to content

Commit

Permalink
Test preprocessing + prefixing using fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
Phil Pluckthun authored and kitten committed Mar 15, 2017
1 parent 680028b commit ed0e3bf
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/fixtures/14-preprocess-css/after.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,9 @@ const RulesetInerpolation = styled.div.withConfig({
displayName: "before__RulesetInerpolation",
componentId: "before__RulesetInerpolation-11wer1a"
})([[" {width: ", props => props.width, ";;", props => props.ruleset, ";}"], [":hover {color: papayawhip;}"]]);

const Prefixes = styled.div.withConfig({
displayName: "before__Prefixes",
componentId: "before__Prefixes-1vitzne"
})([[" {display:-webkit-box;display:-webkit-flex;-ms-flexbox;display:flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center;}"]]);

5 changes: 5 additions & 0 deletions test/fixtures/14-preprocess-css/before.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,8 @@ const RulesetInerpolation = styled.div`
color: papayawhip;
}
`;

const Prefixes = styled.div`
display: flex;
align-items: center;
`;

0 comments on commit ed0e3bf

Please sign in to comment.