ScalaCSS. Is it time for using it?

Tags: , , ,

ScalaCSS. Is it time for using it?

ScalaCSS. Is it time for using it?

I decided to go further with my Slider and to find out whether my styles can be generated by Scala. First of all, I added ScalaCSS library and an extension for Scalajs-react to my dependencies: libraryDependencies += “com.github.japgolly.scalacss” %%% “core” % “0.5.1” libraryDependencies += “com.github.japgolly.scalacss” %%% “ext-react” % “0.5.1” ScalaCSS has two ways of making styles:  To make standalone stylesheets (like SASS or LESS)  To add css-styles directly to the page by a compiled javascript   Standalone stylesheets As it was written in the ScalaCSS manual: Produces static CSS for external consumption. Like SCSS and LESS. There is only one

Continue Reading