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.
- If necessary, install Jekyll (requires v1.x).
- From the root
/metro-ui-jekyll
directory, runjekyll serve
in the command line.
- Windows users: run
chcp 65001
first to change the command prompt's character encoding (code page) to UTF-8 so Jekyll runs without errors.
- Open http://localhost:4000 in your browser, and voilà.
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:
- Install
grunt-cli
globally withnpm install -g grunt-cli
. - Navigate to the root
/bootstrap
directory, then runnpm 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.
Run grunt
to run tests locally and compile the CSS and JavaScript into /dist
. Uses recess and UglifyJS.
grunt dist
creates the /dist
directory with compiled files. Uses recess and UglifyJS.
Runs JSHint and QUnit tests headlessly in PhantomJS (used for CI).
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
.
- Metro UI 4 Jekyll is built on Metro UI CSS.
- Normalize.css is a project by Nicolas Gallagher and Jonathan Neal.
- Styles created using the less preprocessor
IE9+, Chrome, Firefox, Opera, Safari
Metro UI 4 Jekyll has MIT License