[elm-discuss] Re: Seeking feedback: CSS Modules in Elm

2017-06-15 Thread Eirik Sletteberg
It would be great to be able to distinguish between local and global CSS classes, with the :local and :global syntax from CSS modules. That's possible with Webpack today; any CSS class marked :local will be hashed. (Using style-loader + css-loader + postcss-loader) tirsdag 6. juni 2017

[elm-discuss] Re: Seeking feedback: CSS Modules in Elm

2017-06-05 Thread Kevin Yank
Neat project, thanks for sharing Marek! CSS Modules, of course, have additional features such as the ability to include unique hashes in class names and IDs (so that you can have two CSS modules with the same name, both containing identically-named classes, and have them still not conflict

[elm-discuss] Re: Seeking feedback: CSS Modules in Elm

2017-06-04 Thread Marek Fajkus
Interesting project! We had this problem too but have decided we don't want to lock us to webpack so much (even though we're currently using it). If you're interested you can have a look at http://package.elm-lang.org/packages/GlobalWebIndex/class-namespaces/latest. Simply we're just