Foundation for Sites (Public Beta)
This is the in-development version of Foundation for Sites 6.0.
Requires NodeJS to be installed on your machine. Works with 0.10, 0.12, and 4.1! Note that parts of our build process will break with NPM 3, due to the changes in how packages are installed.
The Sass is compiled using libsass, which requires the GCC to be installed on your machine. Windows users can install it through MinGW, and Mac users can install it through the Xcode Command-line Tools.
git clone https://github.com/zurb/foundation-sites-6.git cd foundation-sites-6 npm install npm start
npm start will compile the documentation. For this testing period, we've created a small testbed to experiment with components. You can find the assets under the
testing/ folder. To use the testbed, run
npm run testbed after installing the needed dependencies.
config/: configuration files for our linters.
docs/: documentation source.
layouts/default.html: base HTML template for every docs page.
layouts/component.html: Handlebars template for component documentation.
pages/*.html: basic documentation pages.
pages/*.md: fancy documentation pages for components, which are parsed through Supercollider.
partials/: Handlebars partials go here.
assets/: docs-specific images, styles, and scripts go here.
scss/: the Sass.
scss/components: new UI components go here.
scss/forms: form styles.
scss/grid: the new grid.
scss/util: helper functions and mixins.
scss/vendor: third-party libraries.
_global.scss: global variables and styles.
test: unit tests.
sass: Sass tests, powered by Bootcamp.