@royalnavy/fonts
v4.25.3
Published
The CSS and web font files for self-hosting "Lato".
Downloads
2,714
Readme
Fonts
The CSS and web font files for self-hosting "Lato".
Installation
The Royal Navy Fonts are available as an NPM package.
// npm
npm install @royalnavy/fonts
// pnpm
pnpm add @royalnavy/fonts
Usage
The package includes all necessary font files (ttf) and a CSS file with font-face declarations pointing at these files.
You will need to have webpack setup to load css and font files. Many tools built with webpack will work out of the box, such as Create React App.
To use, simply require the package in your project’s entry file e.g.
import '@royalnavy/fonts'
Questions
The Design System is maintained by a team at the Royal Navy. If you want to know more about the Royal Navy Design System, please email the Design System Team.
Documentation
The documentation website contains all the information you need to build your application using the Royal Navy Design System.
Contributing
The contributing guide resource presents information about our development process.
Changelog
If you have recently updated then read the release notes
Roadmap
The Design System Roadmap Board contains the work that has been prioritised for the next 12 months.
License
The Royal Navy Design System is licensed under the Apache License 2.0.