@nypl/design-toolkit v0.1.38
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 bundlerin your terminal. - Change directories to the
docs/folder. - Run
bundle installto install necessary gems. - Run
bundle exec jekyll serveto 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
sasstocss: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 thegulpdependencies.- Once
gulpis installed, from the root, rungulp. This will compile yourscssfiles tocssand 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
sassdirectly (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
5 years ago
6 years ago
7 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
