matthieu-beteille / cljs-css-modules

CSS modules in ClojureScript.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nested class names withour prefix

s3141 opened this issue · comments

commented

bug3

bug4

I'd really love to see this get fixed. The example in the documentation implies that .overlay should be hashed and accessible as (:overlay style). Not having hashed descendants makes it impossible to style child classes based on hover on a parent without using un-hashed classes that any other CSS could accidentally style. Imagine some 3rd party component with poorly written CSS that styles .overlay {...} in its CSS.

I've written a patch for this on my machine and will create a pull request once I've cleaned up my code and written tests.