These are chat archives for japgolly/scalacss

6th
May 2016
Carlos Quiroz
@cquiroz
May 06 2016 18:26
I’m trying to express a media query like:
@media (-webkit-min-device-pixel-ratio: 2)
It seems there is no support on scalacss, for them, or is there? This feature is non-standard, as far as I can see it is only for Safari/iOS
Patrick Walsh
@zmre
May 06 2016 18:47
There is support. I am away from my co
computer but look at the conditionals section of the book
On the other question, try just importing the defaults. Sounds like your implicits aren't kicking in which might mean you have them in scope twice
Guillaume Massé
@MasseGuillaume
May 06 2016 19:14
Hey how do you use the CssReset.normaliseCss ?
Guillaume Massé
@MasseGuillaume
May 06 2016 19:26
object GlobalStyle extends StyleSheet.Inline {
  import dsl._

  val scalaLang = new ScalaLangPalette

  style(unsafeRoot("body")(
    margin.`0`,
    padding.`0`,
    backgroundColor(scalaLang.darkerBlue),
    color.white
  )) + style(scalacss.ext.CssReset.normaliseCss)
}
like this I guess :P