dof-dss / nicsdru_unity_theme
Drupal theme for Unity sites
Installs: 24 518
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 7
Forks: 1
Language:Twig
Type:drupal-custom-theme
Requires
- php: >=8.0
- dev-10.x-dev
- 10.x-dev
- 10.1.17
- 10.1.16
- v10.1.15
- v10.1.14
- v10.1.13
- v10.1.12
- v10.1.11
- v10.1.9
- v10.1.8
- v10.1.7
- v10.1.6
- v10.1.5
- v10.1.4
- v10.1.3
- 10.1.2
- 10.1.1
- 9.1.1
- v0.1.81
- v0.1.80
- v0.1.79
- v0.1.78
- v0.1.77
- v0.1.76
- v0.1.75
- v0.1.74
- v0.1.73
- v0.1.72
- v0.1.71
- v0.1.70
- v0.1.69
- v0.1.68
- v0.1.67
- v0.1.66
- v0.1.65
- v0.1.64
- v0.1.63
- v0.1.62
- v0.1.61
- v0.1.60
- v0.1.59
- v0.1.58
- v0.1.57
- v0.1.56
- v0.1.55
- v0.1.54
- v0.1.53
- v0.1.52
- v0.1.51
- v0.1.50
- v0.1.49
- v0.1.48
- v0.1.47
- v0.1.46
- v0.1.45
- v0.1.44
- v0.1.43
- v0.1.42
- v0.1.41
- v0.1.40
- v0.1.39
- v0.1.38
- v0.1.37
- v0.1.36
- v0.1.35
- v0.1.34
- v0.1.33
- v0.1.32
- v0.1.31
- v0.1.30
- v0.1.29
- v0.1.28
- v0.1.27
- v0.1.26
- v0.1.25
- v0.1.24
- v0.1.23
- v0.1.22
- v0.1.21
- v0.1.20
- v0.1.19
- v0.1.18
- v0.1.17
- v0.1.16
- v0.1.15
- 0.1.14
- 0.1.13
- v0.1.12
- v0.1.11
- v0.1.10
- v0.1.9
- v0.1.8
- v0.1.7
- v0.1.6
- v0.1.5
- v0.1.4
- v0.1.3
- v0.1.2
- v0.1.1
- v0.1.0
- dev-D8UN-2936
- dev-dependabot/npm_and_yarn/blakeembrey/template-1.2.0
- dev-dependabot/npm_and_yarn/requirejs-2.3.7
- dev-dependabot/npm_and_yarn/multi-9a63a0454d
- dev-dependabot/npm_and_yarn/gh-pages-5.0.0
- dev-_main
- dev-ckeditor_content_limiter_fix
- dev-claro_theme_tweak
- dev-D8UN-2347
This package is auto-updated.
Last update: 2024-12-23 12:34:44 UTC
README
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_unity_theme.git
brew install libjpeg
npm install
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:
nicsdru_unity_theme/
└── config/
│ ├── install/
│ ├── .sass-lint.yml
│ ├── modernizr-config.json
│ ├── postcss.config.js
└── css/
└── images/
└── js/
└── src/
│ ├── images/
│ ├── js/
│ ├── scss/
│ ├── styleguide/
└── templates/
│ ├── block/
│ ├── content/
│ ├── field/
│ ├── layout/
│ ├── misc/
│ ├── navigation/
│ ├── user/
└── .gitignore
└── composer.json
└── imagemin.js
└── nicsdru_unity_theme.breakpoints.yml
└── nicsdru_unity_theme.info.yml
└── nicsdru_unity_theme.layouts.yml
└── nicsdru_unity_theme.libraries.yml
└── nicsdru_unity_theme.theme
└── package.json
└── README.md
└── screenshot.png
Using the NPM scripts
The package.json
includes the following commands and tasks:
Run npm run
to see all the npm scripts.
Documentation
Guidance on styling and developer helpers on how to use this theme is available here.