Skip to content

localgovdrupal/localgov_base_croydon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

639 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

localgov_base_croydon

Croydon sub theme using localgov_base.

This is a sub theme for croydon.gov.uk using localgov_base as its base theme.

Frontend build

SCSS sources live in assets/scss/. Compiled CSS is written to assets/css/.

Requirements

  • Node.js 18 or newer (Node 22 LTS recommended)
  • nvm (optional, but recommended)

An .nvmrc file is included. From this directory:

nvm install
nvm use

Setup

npm install

Commands

Compile CSS once (no file watching):

npx gulp generate

Watch SCSS and recompile on change, with BrowserSync proxying the local site:

npm run dev

Use npm run dev or npx gulp dev rather than a globally installed gulp command. Gulp 5 requires gulp-cli 3+, which the project provides locally.

Lint and fix CSS:

npm start

Styles are compiled with Dart Sass via gulp-sass 5. Sass deprecation warnings from Bootstrap 4 are expected and do not indicate a failed build.

Scripts

Theme maintenance scripts (including the template override audit) are documented in scripts/README.md.

Maintainers

This project is maintained by:

About

Croydon sub theme using localgov_base

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors