@ukic/fonts 3.2.1 → 3.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +23 -23
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,24 +1,24 @@
1
- # The UK Intelligence Community Fonts
2
-
3
- This package includes fonts used within ICDS components.
4
-
5
- ## Installing
6
-
7
- Run `npm install @ukic/fonts` at the root level of your project.
8
-
9
- The `fonts.css` file can then be imported into the relevant file type:
10
-
11
- #### Javascript
12
- ````js
13
- import '@ukic/fonts/dist/fonts.css'
14
- ````
15
-
16
- #### CSS
17
- ````css
18
- /* In some cases, reference to the node_modules directory may be required. */
19
- @import '@ukic/fonts/dist/fonts.css'
20
- ````
21
-
22
- ### Build
23
-
1
+ # The UK Intelligence Community Fonts
2
+
3
+ This package includes fonts used within ICDS components.
4
+
5
+ ## Installing
6
+
7
+ Run `npm install @ukic/fonts` at the root level of your project.
8
+
9
+ The `fonts.css` file can then be imported into the relevant file type:
10
+
11
+ #### Javascript
12
+ ````js
13
+ import '@ukic/fonts/dist/fonts.css'
14
+ ````
15
+
16
+ #### CSS
17
+ ````css
18
+ /* In some cases, reference to the node_modules directory may be required. */
19
+ @import '@ukic/fonts/dist/fonts.css'
20
+ ````
21
+
22
+ ### Build
23
+
24
24
  Webpack is used to extract the fonts from `node_modules/@fontsource/*` directory and build the `fonts.css` file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ukic/fonts",
3
- "version": "3.2.1",
3
+ "version": "3.2.3",
4
4
  "description": "Typography assets for @ukic components",
5
5
  "scripts": {
6
6
  "build": "rimraf ./dist && webpack --config .webpack/webpack.config.js",
@@ -28,5 +28,5 @@
28
28
  "webpack-cli": "^4.9.2"
29
29
  },
30
30
  "packageManager": "^npm@10.9.2",
31
- "gitHead": "c5aacb4fbd31c869f377411da6561eb6a2645966"
31
+ "gitHead": "3614c603996bdfb39b4be9114ec272a4ee138c23"
32
32
  }