@vertigis/react-ui 14.4.1 → 15.0.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": "@vertigis/react-ui",
3
- "version": "14.4.1",
3
+ "version": "15.0.0",
4
4
  "description": "Utilities and React components used in VertiGIS applications.",
5
5
  "keywords": [
6
6
  "vertigis",
@@ -9,6 +9,7 @@ const primaryTextColor = "#333333";
9
9
  const primaryErrorColor = "#B22222";
10
10
  const primaryWarningColor = "#BF5300";
11
11
  const primarySuccessColor = "#008040";
12
+ const fontWeightLightest = 200;
12
13
  const fontWeightLight = 300;
13
14
  const fontWeightRegular = 400;
14
15
  const fontWeightMedium = 600;
@@ -47,22 +48,22 @@ const getDefaultOptions = (pxToRem) => ({
47
48
  lineHeight: 1.25,
48
49
  },
49
50
  h2: {
50
- fontSize: pxToRem(28),
51
+ fontSize: pxToRem(26),
51
52
  fontWeight: fontWeightLight,
52
53
  lineHeight: 1.25,
53
54
  },
54
55
  h3: {
55
- fontSize: pxToRem(26),
56
- fontWeight: fontWeightRegular,
56
+ fontSize: pxToRem(22),
57
+ fontWeight: fontWeightLightest,
57
58
  lineHeight: 1.25,
58
59
  },
59
60
  h4: {
60
- fontSize: pxToRem(22),
61
+ fontSize: pxToRem(20),
61
62
  fontWeight: fontWeightRegular,
62
63
  lineHeight: 1.25,
63
64
  },
64
65
  h5: {
65
- fontSize: pxToRem(20),
66
+ fontSize: pxToRem(18),
66
67
  fontWeight: fontWeightMedium,
67
68
  lineHeight: 1.25,
68
69
  },