@nice-digital/nds-core 2.0.6-alpha.0 → 2.0.9-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.
|
|
3
|
+
"version": "2.0.9-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": "
|
|
47
|
+
"gitHead": "9faf9770abeebb9580a08ec9c766503b55b40275"
|
|
48
48
|
}
|
|
@@ -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-
|
|
34
|
+
$btn-inverse-hover: global.$custom-grey-4;
|
|
35
35
|
$btn-inverse-text: global.$nice-black;
|
|
36
36
|
|
|
37
37
|
// Borders
|
|
@@ -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-
|
|
163
|
-
|
|
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;
|
|
@@ -131,7 +131,8 @@
|
|
|
131
131
|
/// @since 0.1.0
|
|
132
132
|
@mixin list {
|
|
133
133
|
font-feature-settings: 'kern', 'onum', 'liga';
|
|
134
|
-
|
|
134
|
+
// Avoid bullets being clipped with slight offset
|
|
135
|
+
margin: utils.rem(0 0 spacing.$medium (spacing.$medium + spacing.$x-small));
|
|
135
136
|
max-width: 66ch;
|
|
136
137
|
padding: 0;
|
|
137
138
|
}
|