Design toolkit (SASS) for the NYPL Digital team
- Install Jekyll Enter
gem install jekyll bundler
in your terminal. - Change directories to the
docs/
folder. - Run
bundle install
to install necessary gems. - Run
bundle exec jekyll serve
to compile and watch the site as well as start a local server. Or just runjekyll serve
. - Navigate your favorite internet browser to http://127.0.0.1:4000/design-toolkit/
-
To view, edit and complie
sass
tocss
:a. For
gulp
: Make sure you have Node.js installed and up to date. From the root of the project runnpm i
. This will install thegulp
dependencies.- Once
gulp
is installed, from the root, rungulp
. This will compile yourscss
files tocss
and place them in the correct directory. - You can choose to run
gulp watch
, this command will actively watch the correct directory and complie files on save.
b. Alternately you can run / compile
sass
directly (no Gulp required), via its CLI.- From the root of the project run:
sass --watch sass:css/docs
.
- Once
-
Have a milkshake. 🥛
See LICENSE