Download the PHP package dof-dss/nicsdru_origins_theme without Composer
On this page you can find all versions of the php package dof-dss/nicsdru_origins_theme. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download dof-dss/nicsdru_origins_theme
More information about dof-dss/nicsdru_origins_theme
Files in dof-dss/nicsdru_origins_theme
Download dof-dss/nicsdru_origins_theme
More information about dof-dss/nicsdru_origins_theme
Files in dof-dss/nicsdru_origins_theme
Vendor dof-dss
Package nicsdru_origins_theme
Short Description DoF Origins base theme
License MIT
Homepage https://github.com/dof-dss/nicsdru_origins_theme
Package nicsdru_origins_theme
Short Description DoF Origins base theme
License MIT
Homepage https://github.com/dof-dss/nicsdru_origins_theme
Please rate this library. Is it a good library?
Informations about the package nicsdru_origins_theme
nicsdru_origins_theme
This repository contains code for a Drupal 8 theme from which NICS sites could be sub-themed from.
Table of contents
- Quick start
- What's included
- Bugs and feature requests
- Using the NPM scripts
- Sub-theming
- Documentation
Quick start
- Download the latest release or clone the repo:
git clone https://github.com/dof-dss/nicsdru_origins_theme.git
. npm install
NB: you encounter issues with the image optimisation libraries if you don't have libjpeg library available on the host machine. To fix thisbrew install libjpeg
.
What's included
The theme uses NPM scripts and packages to create tooling to:
- write and compile scss to css
- apply appropriate prefixing for css rules
- write and uglify js
- detect features the user’s browser has to offer (via Modernizr)
- code linting
- optimise and compress images for the web
Within the download you'll find the following directories and files, logically grouping common assets, you'll see something like this:
Using the NPM scripts
The package.json
includes the following commands and tasks:
Task | Description |
---|---|
npm run build |
npm run build compiles files into their build directories ready for use in a production environment. Uses Sass, Autoprefixer, Modernizr and UglifyJS. |
npm run watch |
Watches for changes to scss and js files & compiles them for development purposes. |
npm run lint |
Will run all .scss and .js files through their respective linting tools - [eslint]() & sass-lint, note however that linting is also performed as part of the the build scripts. This is useful for finding issues being flagged by the linting rules. To only lint css or js files, prefix the lint command with the file type you which to scope the linting to eg npm run css-lint or npm run js-lint |
Run npm run
to see all the npm scripts.
Sub-theming
TODO: add in how to sub-theme from this theme.
Documentation
TODO: add documentation.
All versions of nicsdru_origins_theme with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.0
The package dof-dss/nicsdru_origins_theme contains the following files
Loading the files please wait ....