>
> And, is it just me, or does anyone else think the "cascading" feature is 
> just a fundamentally bad idea?


I rather don't say bad but it can definitely get our of hands pretty badly.

We're using external stylesheet (sass) but with strict guidelines. Instead 
of generating styles directly using elm we have a library for generating 
class names in quite strict fashion. You can have a look if you're 
interested: https://github.com/GlobalWebIndex/class-namespaces. Also, 
guidlines are published on GitHub as 
well https://github.com/GlobalWebIndex/weak-css.

On Tuesday, May 31, 2016 at 11:26:37 AM UTC+2, Peter Damoc wrote:
>
> How do you handle styling in your Elm programs? 
>
> Do you use one of the following libraries?
>
> rtfeldman/elm-css
>
> seanhess/elm-style
>
> massung/elm-css
>
> Or do you do something completely different (manual style inlining, 
> classes and external css) ? 
>
> I tried using Sean's library but I quickly ran into pseudo-selectors 
> trouble wanting to implement a simple hover effect. 
>
> Somehow, keeping a set of hover states for some simple nav-link seams such 
> an overkill. 
>
> How do you handle such scenarios? 
>
>
>
> -- 
> There is NO FATE, we are the creators.
> blog: http://damoc.ro/
>

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to