@openeventkit/event-site 2.0.30 → 2.0.32

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/gatsby-browser.js CHANGED
@@ -8,8 +8,8 @@ import "what-input";
8
8
  // import bulma framwork
9
9
  import "./src/styles/bulma.scss";
10
10
  // import base styles
11
+ import "./src/styles/fonts.scss";
11
12
  import "./src/styles/style.scss";
12
-
13
13
  import colors from "data/colors.json";
14
14
  import marketingSettings from "data/marketing-settings.json";
15
15
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@openeventkit/event-site",
3
3
  "description": "Event Site",
4
- "version": "2.0.30",
4
+ "version": "2.0.32",
5
5
  "author": "Tipit LLC",
6
6
  "dependencies": {
7
7
  "@mui/base": "^5.0.0-alpha.114",
@@ -66,7 +66,7 @@
66
66
  "immutable": "^3.7.6",
67
67
  "jsdom": "^16.2.2",
68
68
  "lite-schedule-widget": "3.0.1",
69
- "live-event-widget": "4.0.0",
69
+ "live-event-widget": "4.0.1",
70
70
  "lodash": "^4.17.19",
71
71
  "lz-string": "^1.4.4",
72
72
  "markdown-it": "^12.0.0",
@@ -7,8 +7,8 @@ $footer-background-color: var(--color-primary) !important;
7
7
  $footer-color: var(--color-text-light) !important;
8
8
  $footer-padding: 2rem !important;
9
9
 
10
- $font-family-base: $font-family;
11
- $family-sans-serif: $font-family;
10
+ $font-family-base: var(--font_family);
11
+ $family-sans-serif: var(--font_family);
12
12
 
13
13
  @import "bulma/sass/base/_all.sass";
14
14
  @import "bulma/sass/components/modal.sass";
@@ -1,5 +1,9 @@
1
1
  $font-family: 'Nunito Sans', sans-serif;
2
2
 
3
+ :root {
4
+ --font_family: #{$font-family};
5
+ }
6
+
3
7
  %font-regular {
4
8
  font-family: 'Nunito Sans', sans-serif;
5
9
  font-weight: 400;
@@ -1,6 +1,5 @@
1
- @import "./fonts";
2
- @import "colors";
3
1
  @import "fonts";
2
+ @import "colors";
4
3
 
5
4
  %button-big {
6
5
  border-radius: 4px;
@@ -209,8 +208,8 @@
209
208
  }
210
209
 
211
210
  %body_fonts{
212
- font-family: $font-family !important;
211
+ font-family: var(--font_family) !important;
213
212
  h1, h2, h3, h4, h5, p, b, span, div, a {
214
- font-family: $font-family !important;
213
+ font-family: var(--font_family) !important;
215
214
  }
216
215
  }
@@ -141,7 +141,7 @@ div.content {
141
141
  div.title {
142
142
  font-weight: 700 !important;
143
143
  color: #333333 !important;
144
- font-family: $font-family;
144
+ font-family: var(--font_family);
145
145
  }
146
146
 
147
147
  h2 {
@@ -336,7 +336,7 @@ h2 {
336
336
 
337
337
  .outerWrapper___lGus2 {
338
338
  .widget-title {
339
- font-family: $font-family;
339
+ font-family: var(--font_family);
340
340
  font-weight: 700;
341
341
  font-size: 30px;
342
342
  line-height: 33px;
@@ -346,7 +346,7 @@ h2 {
346
346
  }
347
347
 
348
348
  .widget-title {
349
- font-family: $font-family;
349
+ font-family: var(--font_family);
350
350
  font-size: 18px !important;
351
351
  }
352
352