Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

govCMS/govcms8_uikit_starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GovCMS 8 UI-Kit Starter - ARCHIVED

CircleCI

This theme implements UI Kit into GovCMS. It makes use of the templates provided in govcms8_uikit and extends them to work with Drupal. It also provide styling for the layout templates and modifiers from govcms8_foundations module.

Getting up and running

  1. Run command npm run setup. This may take a while – be patient, do some exercise.
  2. Copy and rename default.config-local.json to config-local.json.
  3. Update content of config.local.json to suite your local environment.

Workflow options

Production setup

  • run command npm run gulp

This will produce:

  • compressed CSS output
  • optimized Image assets
  • minified JS

Development setup

  • run command npm run gulp dev

This will produce:

  • nested CSS output
  • un-minified JS
  • source maps for both CSS and JS
  • watch task for changes in SCSS and JS files
  • BrowserSync links

JS Linting

  • run command npm run js-lint

This will check for common errors in your JS files. Its not a part of the watch task.

Generating Styleguide

  • run command npm run styleguide

It is using KSS-Node style-guide with custom twig template.