@ons/design-system 72.2.0 → 72.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,7 +1,7 @@
1
1
  {
2
2
  "name": "@ons/design-system",
3
3
  "description": "ONS Design System built CSS, JS, and Nunjucks templates",
4
- "version": "72.2.0",
4
+ "version": "72.3.0",
5
5
  "main": "index.js",
6
6
  "license": "MIT",
7
7
  "author": {
@@ -1,7 +1,7 @@
1
1
  html {
2
2
  @include font-smoothing;
3
3
 
4
- font-size: $base;
4
+ font-size: calc((100% / 16) * strip-unit($base));
5
5
  }
6
6
 
7
7
  body {
@@ -57,7 +57,7 @@
57
57
  /// @return {Number} - Unitless number
58
58
  @function strip-unit($number) {
59
59
  @if meta.type-of($number) == 'number' and not math.is-unitless($number) {
60
- @return $number / ($number * 0 + 1);
60
+ @return math.div($number, ($number * 0 + 1));
61
61
  }
62
62
 
63
63
  @return $number;
@@ -22,6 +22,8 @@
22
22
  --ons-color-sky-blue: #27a0cc;
23
23
  --ons-color-aqua-teal: #00a3a6;
24
24
  --ons-color-navy-blue: #194766;
25
+ --ons-color-pale-blue: #e7eff4;
26
+ --ons-color-soft-blue-grey: #dee7ee;
25
27
 
26
28
  // Supporting palette
27
29
  --ons-color-leaf-green: #0f8243;
@@ -29,6 +31,7 @@
29
31
  --ons-color-jaffa-orange: #fa6401;
30
32
  --ons-color-sun-yellow: #fbc900;
31
33
  --ons-color-neon-yellow: #f0f762;
34
+ --ons-color-light-orange: #e8bb9b;
32
35
 
33
36
  // Core colour adjustments - tints
34
37
  --ons-color-ocean-blue-tint: #e9eff4;