I have never used Scheme.top. I used to have the css loaded through an import with my current CSS approach but now it's just a regular link from the head of the index.html file.
On Tue, Sep 6, 2016 at 7:10 PM, 'Rupert Smith' via Elm Discuss < [email protected]> wrote: > On Saturday, September 3, 2016 at 10:53:17 AM UTC+1, Peter Damoc wrote: >> >> yes, you are right. :) >> >> On Fri, Sep 2, 2016 at 10:22 PM, 'Rupert Smith' via Elm Discuss < >> [email protected]> wrote: >> >>> Am I right in thinking that when using elm-mdl, you don't need the >>> material.js? >>> >> > Thanks, a few follow up questions. > > Do you have to use 'Scheme.top' to insert the css, or is it ok to simply > include the css directly in the index.html file? The reason I ask, is that > I have been working on some styles that sit on top of the mdl css, so I > want to put the mdl stylesheet in the html <head> then my own stylesheet > after that. > > If you use the 'Layout.render' view function, does that automatically > include 'Scheme.top'? The render function is quite handy for producing a > standard layout, but obviously I don't want to include the stylesheet twice. > > I've spent quite a bit of time just playing with MDL itself, and hacking > the styles to my satisfaction. My main gripe was a lack of vertical rhythm, > but I have also been working on styling a set of controls for working with > data tables, and making some nice looking card and dialog box layouts. So > now I am just getting started with elm-mdl and converting the static html > that I played around with the style with into Elm. > > -- > 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. > -- 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.
