FRANK.NET Style Guide
Requirements
Ensure that the following is installed on your computer:
Getting Started
- Clone the repository:
git clone git@github.com:we-are-next/frank-styleguide.git
- Change to the directory you cloned the repository into: e.g.
cd frank-styleguide
- Install the required dependencies:
npm install
- Start a local server:
npm start
Features
- Breakpoints, Colors, Fonts
less/generic/variables.less
- Clearfix, Colors, Display, Embeds, Text Utilities
less/base/utilities.less
- Transforms, Transitions
less/generic/mixins.less
Components
Polyfills
The following scripts are included for IE8 and below:
Linting and Validation
- HTML:
grunt validation:build
- CSS:
grunt csslint:build
- JavaScript:
grunt eslint
Deploying
- Update the FTP server credentials in the
.ftppass
file - Update the FTP deployment paths for the
ftp-deploy
task inGruntfile.js
- Run the task:
grunt deploy