rhythnic / habu

Concise inline styles with support for themes, mixins, media queries, and pseudo-selectors.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

className

rhythnic opened this issue · comments

Since aphrodite adds a hash of the style object to the className, consider whether or not it's necessary to generate unique classNames based on the styles. It might be better to use something simpler, maybe even "habu", if the hash is sufficient for preventing clashes.

Try generating on aphrodite stylesheet per call to the habu/css function. Don't cache any stylesheet objects, just the className result of calling aphrodite's css function.

Fixed in #18