NHSLeadership / nightingale-2-0

A WordPress theme for the NHS using the NHS.UK frontend library
Other
28 stars 15 forks source link

Nightingale 2.7.2

A WordPress theme for the NHS, based on the NHS.UK frontend library.

:exclamation: This is a production ready release, with the caveat that any issues should be reported as an issue on this repo for quick action. Feedback is positively encouraged, please see how to get involved below

Frutiger Font

The Frutiger font is specified for use on NHS web properties, but is only licensed for sites ending .nhs.uk - if your site is both an NHS property and is on the correct domain, you can add this back in by making your own child theme and adding in the below font declarations to a .scss file.

  font-family: 'Frutiger W01';
  font-display: swap;
  font-style: normal;
  font-weight: 400;
  src: url('https://assets.nhs.uk/fonts/FrutigerLTW01-55Roman.eot?#iefix');
  src: url('https://assets.nhs.uk/fonts/FrutigerLTW01-55Roman.eot?#iefix') format('eot'),
       url('https://assets.nhs.uk/fonts/FrutigerLTW01-55Roman.woff2') format('woff2'),
       url('https://assets.nhs.uk/fonts/FrutigerLTW01-55Roman.woff') format('woff'),
       url('https://assets.nhs.uk/fonts/FrutigerLTW01-55Roman.ttf') format('truetype'),
       url('https://assets.nhs.uk/fonts/FrutigerLTW01-55Roman.svg#7def0e34-f28d-434f-b2ec-472bde847115') format('svg');
}
@font-face {
  font-family: 'Frutiger W01';
  font-display: swap;
  font-style: normal;
  font-weight: 600;
  src: url('https://assets.nhs.uk/fonts/FrutigerLTW01-65Bold.eot?#iefix');
  src: url('https://assets.nhs.uk/fonts/FrutigerLTW01-65Bold.eot?#iefix') format('eot'),
       url('https://assets.nhs.uk/fonts/FrutigerLTW01-65Bold.woff2') format('woff2'),
       url('https://assets.nhs.uk/fonts/FrutigerLTW01-65Bold.woff') format('woff'),
       url('https://assets.nhs.uk/fonts/FrutigerLTW01-65Bold.ttf') format('truetype'),
       url('https://assets.nhs.uk/fonts/FrutigerLTW01-65Bold.svg#eae74276-dd78-47e4-9b27-dac81c3411ca') format('svg');
}

Dependencies

Installation for standard use

Installation for programmers who wish to amend in detail

Optional Settings

Feedback / Improvement / Development

Developing this theme's styling output

if you are developing this theme locally, any style changes you make will need to be reflected in the output

To accomplish this, you will need to take the following steps:

Alternatively, if you only wish to modify minimal css for a single site, you can use the Custom CSS section within the theme customiser section.

Please note

Compatability with plugins / WordPress extensions

This theme has been extended to style the following plugins automatically:

Progress

Todo