Browse files

move css to scss fixes #16

  • Loading branch information...
manuelvanrijn committed Oct 13, 2017
1 parent 1fd515d commit 2ca7e3b4cc2ed1ea69ec739c25f8fbeddfaef83b
@@ -28,6 +28,13 @@ In your `application.css`, include the following:
*= require selectize.default
Or if you like, you could use import instead
@import 'selectize'
@import 'selectize.bootstrap3'
### Themes
To include additional theme's you can replace the `selectize.default` for one of the [theme files](
@@ -9,6 +9,10 @@ echo "Copying selectize.js"
cp tmp_vendor/dist/js/standalone/selectize.js vendor/assets/javascripts/selectize.js
echo "Copying css files"
cp tmp_vendor/dist/css/*.css vendor/assets/stylesheets/
echo "Moving css to scss"
cd vendor/assets/stylesheets/
find ./ -name "*.css" | xargs -I '{}' basename '{}' | sed 's/\.css//' | xargs -I '{}' mv '{}.css' '{}.scss'
cd ../../../
# Delete vendor repo
echo "Removing cloned vendor repo"

0 comments on commit 2ca7e3b

Please sign in to comment.