There’s a fairly quick way to convert Bootswatch themes to Sass (which you might want to do if you use something like sass-bootstrap).

Simply download the theme’s variables.less and run the following find/replace patterns against it:


Find (regex): @([a-zA-Z0-9_-]+)

Replace: \$$1


Find: spin(

Replace: adjust-hue(

This is all I’ve found in the themes that I’ve tried.