bsr
bsr

Reputation: 58712

JqueryUI theme with SASS

Has anyone used the jQueryUI theme in Sass? A search gave a few projects at Github, but did anyone use them? Is it possible to change the colors easily if only the base theme is available (if theme roller is not possible to use with).
Or what do you suggest to theme the base theme?

Upvotes: 4

Views: 5527

Answers (3)

Stephen Way
Stephen Way

Reputation: 678

Just take a jQuery UI theme you like and use $ sass-convert to make it Sass or Scss

Article on sass-convert utility: article

Upvotes: 5

Michael.Lumley
Michael.Lumley

Reputation: 2385

This project has SASS converted jQuery-UI files with the various styling/theming options set by SASS variables. The files are under app/assets/stylesheets. The project also has partials which define the variables in a way that match the default schemes in the themeroller. I simply copied the entire stylesheet folder into my project and I am importing the files I want to use into my main SASS sheet.

Upvotes: 1

vinspee
vinspee

Reputation: 335

Your best baseline is to do a $ sass-convert on the jQuery UI Twitter Bootstrap theme – It uses LESS, so sass-convert will translate the variables, nesting, etc. You can find the LESS versions here at addyosmani/jquery-ui-bootstrap

Upvotes: 1

Related Questions