BTW when I say "I guess it's a smoother workflow", I've usually worked with 
designers who provide an image/photoshop file, but I know some are quite 
CSS-literate.

On Thursday, June 2, 2016 at 6:30:42 PM UTC+10, Tim Stewart wrote:
>
> Ondrej's approach makes sense to me too. The advantages Elm brings to the 
> table - ensuring program validity, eliminating runtime errors and issues 
> related to mutable state etc. - just aren't really problems in CSS. The 
> shortcomings that CSS does have are mainly addressed by LESS, it's quick 
> and easy to iterate by copying styling experiments in the browser directly 
> back to source, and I'm guessing it's a smoother workflow when 
> collaborating with designers, embedding into existing sites etc. Using Elm 
> for CSS seems to me a bit like a case of "I've got a hammer...".
>
>
> On Thursday, June 2, 2016 at 4:48:35 AM UTC+10, Ondřej Žára wrote:
>>
>> I used Elm.embed, static <link rel="stylesheet"> in my parent document 
>> and (obviously) an external stylesheet, preferrably using a Less 
>> preprocessor.
>>
>> O.
>>
>> 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