Skip to content

oller/foundation-datepicker-sass

 
 

Repository files navigation

foundation-datepicker-sass

Forked version of Eternicode's original code to support Zurb Foundation 5, or as a standalone datepicker. I intend to keep the JS files up to date with the master branch.

Versions are incremented according to semver.

Installation

This package is best managed through bower. It can be installed via

bower install foundation-datepicker-sass --save

If you're using this with Foundation and compiling the .scss, I'd suggest you duplicate the scss/settings.scss file into your own scss folder, customise it there and update the @import reference to the datepicker.scss file which remains in the bower_components folder.

This will allow you to customise the datepicker's theme whilst maintaining the ability to update the library

Dependencies

This datepicker, uses some of foundation's dropdown classes to style the datepicker container. So you want to make sure you're including

foundation/scss/foundation/components/_dropdown.scss

The datepicker doesn't have any javascript requirements from Foundation.

Development

Once you cloned the repo, you'll need to install grunt and the development dependencies using npm.

npm install -g grunt-cli
npm install

You can then use grunt to compile any changes you make to the scss to create new minified css.

About

A datepicker for @zurb foundation, forked from @eternicode's bootstrap datepicker

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 86.6%
  • CSS 7.3%
  • Python 3.7%
  • Shell 2.4%