Defra Frontend
A theme layer over GOV.UK Frontend for Defra services. It does not fork GOV.UK Frontend and it does not replace it.
What is here
- Upstream components
- 37, restyled through tokens alone
- Defra additions
- 11, each registered with its prior art
- Markup deviations
- 1
- Design deviations
- 1
Brand modes
A licence boundary rather than a preference. Services on
*.service.gov.uk use GDS Transport with the GOV.UK header and footer.
Services elsewhere do not, and instead use a system font stack with Defra chrome.
The typeface is settled by that licence, and it is also the largest single carbon saving here: GDS Transport is two font files removed rather than made smaller. See carbon.
Live examples
Every component has interactive examples, prop tables and the Nunjucks and HTML for each one in the Storybook. This site holds the guidance and the governance; the Storybook holds the examples.