Skip to content

philwareham/textpattern-zurb-foundation

Repository files navigation

Textpattern Zurb Foundation for Sites Templates

Greenkeeper Build Status

Demo.

Textpattern templates for use with Zurb Foundation for Sites v6, using their LibSass and Grunt build stream.

Supported web browsers

  • Internet Explorer 11.
  • Chrome, Edge, Firefox, Safari and Opera the last two recent stable releases.

Older versions of the above and other browsers may work, but these are the ones we verify.

Requirements

Building this repository requires:

Setup

Installing required tools

The project uses Grunt to run tasks and Sass for CSS pre-processing. First make sure you have base dependencies installed: Node.js and Grunt. You can install Node using the installer and Grunt with npm:

$ npm install -g grunt-cli

Consult the Grunt documentation for more instructions if necessary. You might need to use sudo npm install -g grunt-cli instead when installing on certain Unix-based systems.

Installing dependencies

After you have the base dependencies taken care of, you can install the project's dependencies. Navigate to the project's directory, and run the dependency manager:

$ cd textpattern-zurb-foundation
$ npm install

npm installs Node modules for Grunt. You might need to use sudo npm install instead when installing on certain Unix-based systems (you can also install via Yarn, instead of npm).

Building

This repository hosts sources and needs to be built before it can be used. After you have installed all dependencies, you will be able to run tasks using Grunt, including building:

$ grunt @task@

Where the @task@ is either build or watch.

  • The build task builds the project.
  • The watch task will launch a task that watches for file changes; the project is then automatically built if a source file is modified.

Updating Foundation

If you'd like to upgrade to a newer version of Foundation down the road just run:

$ npm update

Textpattern templates

Currently under development.

License

Licensed under MIT license except Textpattern templates, which are licensed under GPLv2 license.