@wistia/ui 0.17.1-beta.a0cd2279.baa08d7 → 0.18.0-beta.1338688d.84af1a8

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/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /*
3
- * @license @wistia/ui v0.17.1-beta.a0cd2279.baa08d7
3
+ * @license @wistia/ui v0.18.0-beta.1338688d.84af1a8
4
4
  *
5
5
  * Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -47,6 +47,7 @@ var globalStyleAdjustmentsCss = css`
47
47
  * 1. Without this fonts are too heavy weight in OS X Firefox
48
48
  * 2. Design decision
49
49
  3. See: https://allthingssmitty.com/2020/05/11/css-fix-for-100vh-in-mobile-webkit/
50
+ 4. Default font settings that all elements should get unless overridden
50
51
  */
51
52
  body {
52
53
  -moz-osx-font-smoothing: grayscale; /* 1 */
@@ -54,6 +55,13 @@ var globalStyleAdjustmentsCss = css`
54
55
  line-height: 1.5; /* 2 */
55
56
  min-height: 100vh; /* 3 */
56
57
  min-height: -webkit-fill-available; /* 3 */
58
+ color: var(--wui-color-text-high-contrast); /* 4 */
59
+ font-family: var(--wui-typography-body-2-family); /* 4 */
60
+ font-size: var(--wui-typography-body-2-size); /* 4 */
61
+ font-weight: var(--wui-typography-body-2-weight); /* 4 */
62
+
63
+ /* line-height: var(--wui-typography-body-2-line-height); */
64
+ margin: 0; /* 2 */
57
65
  }
58
66
 
59
67
  /* Remove default margin in favour of better control in authored CSS */