Created
January 10, 2017 16:24
Revisions
-
xcoderzach renamed this gist
Jan 10, 2017 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
xcoderzach created this gist
Jan 10, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ // Basically you put any "dynamic" styles in regular css // and any postcss as an interpolated variable thing and // then write a quick babel transform like https://github.com/4Catalyzer/css-literal-loader // the downside being you can't use props with the postcss stuff styled.div` border-top: ${({top}) => top}; ${postcssify` @mixin 'adfsa'; @whateverFancyThing; `} `