@nice-digital/nds-core 2.0.5-alpha.0 → 2.0.8-alpha.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": "@nice-digital/nds-core",
3
- "version": "2.0.5-alpha.0",
3
+ "version": "2.0.8-alpha.0",
4
4
  "description": "Core code for the NICE Design System",
5
5
  "author": "Ian Routledge <ian.routledge@nice.org.uk>",
6
6
  "contributors": [
@@ -44,5 +44,5 @@
44
44
  "devDependencies": {
45
45
  "@babel/cli": "^7.5.0"
46
46
  },
47
- "gitHead": "c560cb90c31f1c8d2e3085df9b32bc4e47a37929"
47
+ "gitHead": "4db2dcd638baa87ff67933040dd030099785ba99"
48
48
  }
@@ -9,9 +9,9 @@ $link-visited: global.$custom-purple-1;
9
9
  $link-active: global.$nice-black;
10
10
  $link-focus: global.$custom-blue-1;
11
11
  $link-inverse: global.$white;
12
- $link-inverse-hover: global.$custom-grey-2;
12
+ $link-inverse-hover: global.$custom-blue-3-tint;
13
13
  $link-inverse-visited: global.$white;
14
- $link-inverse-active: global.$custom-grey-2;
14
+ $link-inverse-active: global.$custom-blue-3-tint;
15
15
  $link-inverse-focus: global.$white;
16
16
  $code-background: global.$custom-grey-4;
17
17
  $mark: global.$custom-yellow-highlight;
@@ -31,7 +31,7 @@ $btn-secondary: global.$custom-grey-3;
31
31
  $btn-secondary-hover: global.$black-tint-1;
32
32
  $btn-secondary-text: global.$white;
33
33
  $btn-inverse: global.$white;
34
- $btn-inverse-hover: global.$custom-grey-2;
34
+ $btn-inverse-hover: global.$custom-grey-4;
35
35
  $btn-inverse-text: global.$nice-black;
36
36
 
37
37
  // Borders
@@ -146,7 +146,7 @@ $stacked-nav-link-hover: global.$custom-grey-2;
146
146
  // Tables
147
147
  $table-heading: global.$white;
148
148
  $table-row-odd: global.$nice-cream-tint-1;
149
- $table-row-even: global.$nice-cream-3;
149
+ $table-row-even: global.$custom-grey-4;
150
150
 
151
151
  // Tabs
152
152
  $tab-btn-selected: global.$custom-grey-4;
@@ -155,9 +155,27 @@ $tab-content: global.$custom-grey-4;
155
155
 
156
156
  // Tags
157
157
  $tag-background: global.$black-tint-1;
158
- $tag-outline: global.$black-tint-1;
159
- $tag-outline-background: global.$custom-grey-4;
160
158
  $tag-remove: global.$nice-teal;
161
159
  $tag-remove-hover-after: global.$nice-black;
162
- $tag-anchor: global.$white;
163
- $tag-print: global.$black;
160
+ $tag-print-text: global.$black;
161
+ // Tag colours
162
+ $tag-outline-text: global.$black-tint-1;
163
+ $tag-outline-background: global.$custom-grey-4;
164
+ $tag-alpha-background: global.$custom-pink;
165
+ $tag-alpha-text: global.$white;
166
+ $tag-beta-background: global.$custom-orange-2;
167
+ $tag-beta-text: global.$white;
168
+ $tag-caution-background: global.$custom-orange-1;
169
+ $tag-caution-text: global.$black;
170
+ $tag-consultation-background: global.$nice-cream-1;
171
+ $tag-consultation-text: global.$black;
172
+ $tag-error-background: global.$custom-red-1;
173
+ $tag-error-text: global.$custom-red-1-tint;
174
+ $tag-info-background: global.$custom-blue-3;
175
+ $tag-info-text: global.$black;
176
+ $tag-new-background: global.$yellow;
177
+ $tag-new-text: global.$black;
178
+ $tag-success-background: global.$custom-green-1;
179
+ $tag-success-text: global.$black;
180
+ $tag-updated-background: global.$nice-teal-tint-3;
181
+ $tag-updated-text: global.$black;
@@ -40,8 +40,10 @@ $custom-red-1: #b50f23;
40
40
  $custom-red-1-tint: #f9eced;
41
41
  $custom-orange-1: #dc8a07;
42
42
  $custom-orange-1-tint: #fbf7f1;
43
+ $custom-orange-2: #bd5826;
43
44
  $custom-green-1: #68c103;
44
45
  $custom-green-1-tint: #f3faeb;
45
46
  $custom-yellow-shade: #d6ba32;
46
47
  $custom-yellow-highlight: #fff999;
47
48
  $custom-teal: #0092a6;
49
+ $custom-pink: #d5367f;
@@ -12,7 +12,7 @@
12
12
  @mixin link-default {
13
13
  color: colours.$link;
14
14
  -webkit-tap-highlight-color: color.adjust(colours.$focus, $alpha: -0.666);
15
- text-decoration: underline;
15
+ text-decoration-line: underline;
16
16
  text-decoration-skip-ink: auto;
17
17
 
18
18
  &:visited {
@@ -46,9 +46,9 @@
46
46
  /// Inverse link style for use on an inverse (dark) background
47
47
  /// @since 0.3.1
48
48
  @mixin link-inverse {
49
- color: colours.$link-inverse !important; // Use important here to override conflicting styles in inverse containers
49
+ color: colours.$link-inverse;
50
50
  -webkit-tap-highlight-color: color.adjust(colours.$focus, $alpha: -0.666);
51
- text-decoration: underline;
51
+ text-decoration-line: underline;
52
52
  text-decoration-skip-ink: auto;
53
53
 
54
54
  &:visited {