@ukic/fonts
v2.6.5
Published
Typography assets for @ukic components
Downloads
30,213
Keywords
Readme
The UK Intelligence Community Fonts
This package includes fonts used within ICDS components.
Installing
Run npm install @ukic/fonts
at the root level of your project.
The fonts.css
file can be imported into the relevant file type:
Javascript
import '@ukic/fonts/dist/fonts.css'
CSS
/* In some cases, reference to the node_modules directory may be required. */
@import '@ukic/fonts/dist/fonts.css'
Build
Webpack is used to extract the fonts from node_modules/@fontsource/*
directory and build the fonts.css
file