Skip to content

Instantly share code, notes, and snippets.

@almightycouch
Last active October 24, 2015 10:16
Show Gist options
  • Save almightycouch/819cebdf18ec41aa4409 to your computer and use it in GitHub Desktop.
Save almightycouch/819cebdf18ec41aa4409 to your computer and use it in GitHub Desktop.
UIkit LESS installer
#!/usr/bin/env bash
curl -L https://github.com/uikit/uikit/archive/master.tar.gz | tar xz
cp -r uikit-master/src/less/ uikit
cp -r uikit-master/themes/ uikit/themes
rm -rf uikit-master
sed -i '' -e 's/src\/less\///g' uikit/themes/*/uikit*.less
@almightycouch
Copy link
Author

This Gist downloads and extracts all the LESS sources from the master branch of UIkit.

curl -L http://bit.ly/1W15rOI | sh

You can then write your stylesheet like this:

@import "uikit/themes/gradient/uikit-customizer.less";

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment