@uoguelph/web-components 1.0.6 → 1.0.7

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 +12 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -42,6 +42,18 @@ Including the components this way, ensures that your page will run as expected,
42
42
 
43
43
  For more information, check out the guide on [the unpkg website](https://www.unpkg.com).
44
44
 
45
+ ### Fonts
46
+
47
+ Some of the components were designed with specific fonts in mind, for example the uofg-header uses Roboto Condensed, a web font that is not included in most browsers/systems. As a result, it is recommended you include these fonts using the Google Fonts API:
48
+
49
+ ```html
50
+ <link rel="preconnect" href="https://fonts.googleapis.com" />
51
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="anonymous" />
52
+ <link href="https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;700&display=swap" rel="stylesheet" />
53
+ ```
54
+
55
+ Note the components will still function exactly as expected if these fonts are not included, but may differ slightly in looks.
56
+
45
57
  ## Using the components
46
58
 
47
59
  [See the documentation for each component](/docs/components)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uoguelph/web-components",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "University of Guelph Web Components Library",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",