wvu-patterns-masthead

WVU Pattern Library -- Masthead Module


Keywords
wvu, west virginia university, patterns
License
MIT
Install
bower install wvu-patterns-masthead

Documentation

WVU Pattern Library -- Masthead Module

Build Status

Use Bower to install this module.

$ bower install --save wvu-patterns-masthead

Dependencies

wvu-patterns-masthead-logo

wvu-patterns-masthead-links

Overrideable defaults

$wvu-masthead-large-breakpoint: 'min-width: 87.5em' !default;
$wvu-masthead-background-png-url: '//static.wvu.edu/global/images/backgrounds/wvu/masthead/wvu-pattern_900x54--1.0.0.png' !default;
$wvu-masthead-background-svg-url: '//static.wvu.edu/global/images/backgrounds/wvu/masthead/wvu-pattern--1.0.0.svg' !default;
$wvu-masthead-container-fluid: false !default;
$wvu-masthead-container-max-width: 1400 !default;

Setting $wvu-masthead-container-fluid to true will remove the value of max-width of the container to auto

###Pattern Development

Requires:

  • Ruby 1.9.3-p484
  • NodeJS
  • Gulp

RVM is Preferred but not required

####Installation

  • cd {install-dir}/wvu-patterns-masthead
  • gem install bundler
  • bundle install
  • npm install

####Pattern Testing

  • gulp test will create a build directory so you can view pattern
  • gulp ci will run lint test to make sure .scss file is valid