@spothero/ui 15.3.0-beta.0 → 15.3.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spothero/ui",
3
- "version": "15.3.0-beta.0",
3
+ "version": "15.3.0",
4
4
  "description": "SpotHero's React component UI library.",
5
5
  "main": "v2/index.js",
6
6
  "repository": "https://github.com/spothero/fe-monorepo",
@@ -1,6 +1,6 @@
1
1
  export const fonts = {
2
- heading: 'Open Sans',
3
- body: 'Open Sans',
2
+ heading: `'Open Sans', sans-serif`,
3
+ body: `'Open Sans', sans-serif`,
4
4
  };
5
5
 
6
6
  export const fontSizes = {
@@ -23,14 +23,12 @@ export default global;
23
23
  export const Fonts = () => (
24
24
  <Global
25
25
  styles={`
26
- @import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap');
27
- /* Copied from https://fonts.googleapis.com/css2?family=Open+Sans:wght@700&display=swap */
28
26
  /* latin-ext */
29
27
  @font-face {
30
28
  font-family: 'Open Sans';
31
29
  font-style: normal;
32
30
  font-weight: 700;
33
- src: url(https://fonts.gstatic.com/s/opensans/v18/mem5YaGs126MiZpBA-UN7rgOXOhpKKSTj5PW.woff2) format('woff2');
31
+ src: url(./fonts/OpenSans-Bold.ttf) format('ttf');
34
32
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
35
33
  }
36
34
  /* latin-ext */
@@ -38,7 +36,7 @@ export const Fonts = () => (
38
36
  font-family: 'Open Sans';
39
37
  font-style: normal;
40
38
  font-weight: 600;
41
- src: url(https://fonts.gstatic.com/s/opensans/v18/mem5YaGs126MiZpBA-UNirkOXOhpKKSTj5PW.woff2) format('woff2');
39
+ src: url(./fonts/OpenSans-SemiBold.ttf) format('ttf');
42
40
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
43
41
  }
44
42
  /* latin-ext */
@@ -46,7 +44,7 @@ export const Fonts = () => (
46
44
  font-family: 'Open Sans';
47
45
  font-style: normal;
48
46
  font-weight: 400;
49
- src: url(https://fonts.gstatic.com/s/opensans/v18/mem8YaGs126MiZpBA-UFW50bf8pkAp6a.woff2) format('woff2');
47
+ src: url(./fonts/OpenSans-Regular.ttf) format('ttf');
50
48
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
51
49
  }
52
50
  /* latin-ext */
@@ -54,7 +52,7 @@ export const Fonts = () => (
54
52
  font-family: 'Open Sans';
55
53
  font-style: normal;
56
54
  font-weight: 300;
57
- src: url(https://fonts.gstatic.com/s/opensans/v18/mem5YaGs126MiZpBA-UN_r8OXOhpKKSTj5PW.woff2) format('woff2');
55
+ src: url(./fonts/OpenSans-Light.ttf) format('ttf');
58
56
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
59
57
  }
60
58
  `}