Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 1.08 KB

CONTRIBUTING.md

File metadata and controls

17 lines (13 loc) · 1.08 KB

Contributing

In order to contribute, please make a pull request to master.

Development

code-gov-style is basically a Jekyll project that includes SASS and CSS files that can be imported into your own project, wrapped around a node package.

Run Local Server

You can run the local development server using npm run serve, which starts the local Jekyll server. When you make changes to the SASS files, your page should automatically reload.

Requirement

The following minimum requirements should be satisfied for running the npm run serve for local development

  • npm
  • ruby
  • bundler

Updating Font

code-gov-style depends on the font from code-gov-font. In order to use a new version of code-gov-font, update the version in the package.json, run npm install, and then run npm run update-font. npm run update-font basically copies over the relevant font files from the installed package, so they're in the places that Jekyll expects.