@nypl/design-toolkit
v0.1.38
Published
NYPL Design Toolkit
Downloads
15
Maintainers
Keywords
Readme
NYPL Digital Design Toolkit
Design toolkit (SASS) for the NYPL Digital team
Version: 0.1.38
View documentation
Viewing documentation locally
Setting up Jekyll
- 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/
Compiling SCSS to CSS with Gulp or SASS CLI
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. 🥛
Install the toolkit in your application
View Change Log
License
See LICENSE