These are chat archives for japgolly/scalacss

11th
Oct 2016
Gregory
@essentin
Oct 11 2016 08:44

the only solution I've managed to work out is something like this

val something = style(/* some styles */)
val somethingNested = style(
  something,
  /* some more styles */
)

but with complicated structure you can get to .somethingNestedInSomethingElseAndSomeMorein no time... kinda inconvinient

Otto Chrons
@ochrons
Oct 11 2016 08:47
well, CSS has no nesting :)
MandarK
@mandar-k
Oct 11 2016 08:48
scss has nesting :blush:
Gregory
@essentin
Oct 11 2016 08:49
thats why CSS is kinda inconvinient as well :P would be nice to see scala do something like sass/less
Otto Chrons
@ochrons
Oct 11 2016 08:49
and less, but they are preprocessors
IMO CSS is fubar :stuck_out_tongue_winking_eye:
I spend more time fixing CSS issues than writing Scala.js code...
MandarK
@mandar-k
Oct 11 2016 09:02
:smile: