Skip to content

Instantly share code, notes, and snippets.

@camshaft
Last active August 29, 2015 14:13
Show Gist options
  • Save camshaft/cd3dce4c8d7817ebe406 to your computer and use it in GitHub Desktop.
Save camshaft/cd3dce4c8d7817ebe406 to your computer and use it in GitHub Desktop.
<style>
.button-red {
color: red;
}
</style>
import Style from './style.ess?dynamic'
/**
* Dynamically compiled
*/
Style(color='red')
.button-red {
color: red;
}
import Style from './style.ess'
/**
* Statically compiled
*/
Style(color='red')
.button-(props.color)
color: =props.color
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment