@comicrelief/component-library 8.74.0 → 8.74.2

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.
package/README.md CHANGED
@@ -28,6 +28,18 @@ $ yarn add @comicrelief/component-library
28
28
  import { ThemeProvider, crTheme } from '@comicrelief/component-library';
29
29
  ```
30
30
 
31
+ #### Load fonts in your app's HTML
32
+ We use Anton and Montserrat fonts. Add these to your frontend's `index.html` `<head>`:
33
+
34
+ ```
35
+ <link rel="preconnect" href="https://fonts.googleapis.com" />
36
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
37
+ <link
38
+ rel="stylesheet"
39
+ href="https://fonts.googleapis.com/css2?family=Anton&family=Montserrat:wght@400;500;600;700&display=swap"
40
+ />
41
+ ```
42
+
31
43
  #### Import components
32
44
  ```
33
45
  import { HeroBanner } from '@comicrelief/component-library';