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] <javascript:>> 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.
