@gpichot/spectacle-deck 1.2.0 → 1.2.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.
Files changed (3) hide show
  1. package/index.cjs +5 -4
  2. package/index.mjs +5 -4
  3. package/package.json +1 -1
package/index.cjs CHANGED
@@ -515,7 +515,7 @@ var DivWithHeading = import_styled_components5.default.div`
515
515
  margin-top: 0;
516
516
  }
517
517
  h2 strong {
518
- color: #f49676;
518
+ color: var(--color-secondary);
519
519
  font-weight: 400;
520
520
  }
521
521
  `;
@@ -657,7 +657,7 @@ var DivWithHeading2 = import_styled_components8.default.div`
657
657
  margin-top: 0;
658
658
  }
659
659
  h2 strong {
660
- color: #f49676;
660
+ color: var(--color-secondary);
661
661
  font-weight: 400;
662
662
  }
663
663
  `;
@@ -1431,8 +1431,8 @@ var DocContainer = import_styled_components12.default.div`
1431
1431
  var DocLink = import_styled_components12.default.a`
1432
1432
  text-decoration: none;
1433
1433
  font-weight: normal;
1434
- font-family: Bitter, "Helvetica Neue", Helvetica, Arial, sans-serif;
1435
- color: #f49676;
1434
+ font-family: var(--font-family);
1435
+ color: var(--color-secondary);
1436
1436
  `;
1437
1437
  var DocLinkItem = (0, import_styled_components12.default)(DocLink)`
1438
1438
  width: fit-content;
@@ -1791,6 +1791,7 @@ function Deck({
1791
1791
  return import_styled_components17.createGlobalStyle`
1792
1792
  :root {
1793
1793
  ${cssVariables}
1794
+ --font-family: ${theme_default.fonts.text}
1794
1795
  }
1795
1796
  `;
1796
1797
  }, [theme]);
package/index.mjs CHANGED
@@ -464,7 +464,7 @@ var DivWithHeading = styled5.div`
464
464
  margin-top: 0;
465
465
  }
466
466
  h2 strong {
467
- color: #f49676;
467
+ color: var(--color-secondary);
468
468
  font-weight: 400;
469
469
  }
470
470
  `;
@@ -606,7 +606,7 @@ var DivWithHeading2 = styled8.div`
606
606
  margin-top: 0;
607
607
  }
608
608
  h2 strong {
609
- color: #f49676;
609
+ color: var(--color-secondary);
610
610
  font-weight: 400;
611
611
  }
612
612
  `;
@@ -1384,8 +1384,8 @@ var DocContainer = styled12.div`
1384
1384
  var DocLink = styled12.a`
1385
1385
  text-decoration: none;
1386
1386
  font-weight: normal;
1387
- font-family: Bitter, "Helvetica Neue", Helvetica, Arial, sans-serif;
1388
- color: #f49676;
1387
+ font-family: var(--font-family);
1388
+ color: var(--color-secondary);
1389
1389
  `;
1390
1390
  var DocLinkItem = styled12(DocLink)`
1391
1391
  width: fit-content;
@@ -1744,6 +1744,7 @@ function Deck({
1744
1744
  return createGlobalStyle`
1745
1745
  :root {
1746
1746
  ${cssVariables}
1747
+ --font-family: ${theme_default.fonts.text}
1747
1748
  }
1748
1749
  `;
1749
1750
  }, [theme]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gpichot/spectacle-deck",
3
- "version": "1.2.0",
3
+ "version": "1.2.2",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "index.cjs",