Metro UI 4 Jekyll is a port of Metro UI CSS to create a Jekyll site with an interface similar to Windows 8 Metro UI easily. This set of styles and scripts was developed as a self-contained solution.
See details of definition on metroui.org.ua
Metro UI 4 Jekyll documentation, included in this repo in the root directory, is built and served with Jekyll and publicly hosted on GitHub Pages at http://a-g-f.github.io/metro-ui-jekyll. The docs may also be run locally.
/metro-ui-jekyll
directory, run jekyll serve
in the command line.chcp 65001
first to change the command prompt's character encoding (code page) to UTF-8 so Jekyll runs without errors.Learn more about using Jekyll by reading its documentation.
Metro UI 4 Jekyll uses Grunt with convenient methods for working with the framework. It's how we compile our code, run tests, and more. To use it, install the required dependencies as directed and then run desired Grunt commands.
From the command line:
grunt-cli
globally with npm install -g grunt-cli
./bootstrap
directory, then run npm install
. npm will look at package.json and automatically install the necessary local dependencies listed there.When completed, you'll be able to run the various Grunt commands provided from the command line.
Unfamiliar with npm
? Don't have node installed? That's a-okay. npm stands for node packaged modules and is a way to manage development dependencies through node.js. Download and install node.js before proceeding.
grunt
Run grunt
to run tests locally and compile the CSS and JavaScript into /dist
. Uses recess and UglifyJS.
grunt dist
grunt dist
creates the /dist
directory with compiled files. Uses recess and UglifyJS.
grunt test
Runs JSHint and QUnit tests headlessly in PhantomJS (used for CI).
grunt watch
This is a convenience method for watching just Less files and automatically building them whenever you save.
Should you encounter problems with installing dependencies or running Grunt commands, uninstall all previous dependency versions (global and local). Then, rerun npm install
.
IE9+, Chrome, Firefox, Opera, Safari
Metro UI 4 Jekyll has MIT License