@1024pix/pix-ui 14.3.1 → 14.4.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.
Files changed (35) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/addon/components/pix-stars.hbs +7 -1
  3. package/addon/styles/_colors.scss +486 -66
  4. package/addon/styles/_form.scss +15 -16
  5. package/addon/styles/_pix-background-header.scss +4 -3
  6. package/addon/styles/_pix-banner.scss +11 -11
  7. package/addon/styles/_pix-block.scss +5 -5
  8. package/addon/styles/_pix-button-base.scss +33 -26
  9. package/addon/styles/_pix-button-link.scss +0 -1
  10. package/addon/styles/_pix-button.scss +10 -7
  11. package/addon/styles/_pix-collapsible.scss +11 -10
  12. package/addon/styles/_pix-dropdown.scss +18 -18
  13. package/addon/styles/_pix-filter-banner.scss +8 -8
  14. package/addon/styles/_pix-icon-button.scss +12 -9
  15. package/addon/styles/_pix-input-code.scss +10 -10
  16. package/addon/styles/_pix-input-password.scss +6 -6
  17. package/addon/styles/_pix-input.scss +7 -7
  18. package/addon/styles/_pix-message.scss +10 -10
  19. package/addon/styles/_pix-modal.scss +9 -9
  20. package/addon/styles/_pix-multi-select.scss +27 -28
  21. package/addon/styles/_pix-pagination.scss +3 -2
  22. package/addon/styles/_pix-progress-gauge.scss +15 -14
  23. package/addon/styles/_pix-radio-button.scss +12 -12
  24. package/addon/styles/_pix-return-to.scss +33 -15
  25. package/addon/styles/_pix-select.scss +3 -3
  26. package/addon/styles/_pix-selectable-tag.scss +26 -27
  27. package/addon/styles/_pix-stars.scss +7 -7
  28. package/addon/styles/_pix-tag.scss +12 -12
  29. package/addon/styles/_pix-textarea.scss +4 -4
  30. package/addon/styles/_pix-tooltip.scss +24 -24
  31. package/addon/styles/_typography.scss +2 -2
  32. package/app/stories/pix-input.stories.mdx +27 -0
  33. package/docs/design-tokens.stories.mdx +32 -0
  34. package/docs/pix-design-tokens-dev.stories.mdx +1 -1
  35. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Pix-UI Changelog
2
2
 
3
+ ## v14.4.0 (17/06/2022)
4
+
5
+
6
+ ### :building_construction: Tech
7
+ - [#219](https://github.com/1024pix/pix-ui/pull/219) [TECH] Ajouter les variables du design system dans Pix-UI.(PIX-2307)
8
+
9
+ ### :coffee: Autre
10
+ - [#221](https://github.com/1024pix/pix-ui/pull/221) [A11Y] Ajouter un aria hidden aux étoiles des paliers (PIX-5076)
11
+ - [#220](https://github.com/1024pix/pix-ui/pull/220) Mise à jour de la doc pour tester pixInput via testing-library
12
+
3
13
  ## v14.3.1 (11/05/2022)
4
14
 
5
15
 
@@ -1,6 +1,12 @@
1
1
  <div class={{this.pixStarsClass}} ...attributes role="img" aria-label={{@alt}}>
2
2
  {{#each this.stars as |star|}}
3
- <svg class="pix-stars__{{star}}" data-test-status={{star}} viewBox="0 0 36 36" role="img">
3
+ <svg
4
+ class="pix-stars__{{star}}"
5
+ data-test-status={{star}}
6
+ viewBox="0 0 36 36"
7
+ role="img"
8
+ aria-hidden="true"
9
+ >
4
10
  <defs>
5
11
  <linearGradient id="pix-stars-default" x1="68.643%" y1="0%" x2="68.643%" y2="100%">
6
12
  <stop stop-color="#FEDC41" offset="0%"></stop>
@@ -1,88 +1,508 @@
1
- // See https://zeroheight.com/8dd127da7/p/839645-couleurs/b/21317a
1
+ // See https://www.figma.com/file/8RJ3aCSfdeQ8AZZVBBYKS8/Design-System-Pix?node-id=16%3A2
2
2
 
3
+ //// SOLID
4
+ // Primary
5
+ $pix-primary-5: #f2f9ff;
6
+ $pix-primary-10: #dcf1ff;
7
+ $pix-primary-20: #c4e6ff;
8
+ $pix-primary-30: #88beff;
9
+ $pix-primary-40: #5b94ff;
10
+ $pix-primary: #3d68ff;
11
+ $pix-primary-60: #2044dc;
12
+ $pix-primary-70: #0d25b3;
13
+ $pix-primary-80: #000e87;
14
+
15
+ // Secondary
16
+ $pix-secondary-5: #fff9e6;
17
+ $pix-secondary-10: #ffeeb3;
18
+ $pix-secondary-20: #ffe381;
19
+ $pix-secondary: #ffd235;
20
+ $pix-secondary-40: #eaa600;
21
+ $pix-secondary-50: #eaa600;
22
+ $pix-secondary-60: #ce8900;
23
+ $pix-secondary-70: #a95800;
24
+ $pix-secondary-80: #874d00;
25
+
26
+ // Secondary Pix Certif
27
+ $pix-secondary-certif-5: #ccf6f5;
28
+ $pix-secondary-certif-10: #9aedeb;
29
+ $pix-secondary-certif-20: #67e4e0;
30
+ $pix-secondary-certif-30: #34dbd6;
31
+ $pix-secondary-certif: #20b4af;
32
+ $pix-secondary-certif-50: #17817e;
33
+ $pix-secondary-certif-60: #126765;
34
+ $pix-secondary-certif-70: #0e4d4c;
35
+ $pix-secondary-certif-80: #093432;
36
+
37
+ // Secondary Pix Orga
38
+ $pix-secondary-orga-5: #d5f9ff;
39
+ $pix-secondary-orga-10: #aaf4ff;
40
+ $pix-secondary-orga-20: #80eeff;
41
+ $pix-secondary-orga-30: #55e8ff;
42
+ $pix-secondary-orga: #00ddff;
43
+ $pix-secondary-orga-50: #00c1df;
44
+ $pix-secondary-orga-60: #00a6bf;
45
+ $pix-secondary-orga-70: #008a9f;
46
+ $pix-secondary-orga-80: #006e80;
47
+
48
+ // Tertiary
49
+ $pix-tertiary-5: #ebe1ff;
50
+ $pix-tertiary-10: #d8c2ff;
51
+ $pix-tertiary-20: #c4a4ff;
52
+ $pix-tertiary-30: #b186ff;
53
+ $pix-tertiary: #9d67ff;
54
+ $pix-tertiary-50: #8a49ff;
55
+ $pix-tertiary-60: #6712ff;
56
+ $pix-tertiary-70: #4e00db;
57
+ $pix-tertiary-80: #3b00a4;
58
+
59
+ // Success
60
+ $pix-success-5: #ecfdf5;
61
+ $pix-success-10: #d1fae5;
62
+ $pix-success-20: #a7f3d0;
63
+ $pix-success-30: #6ee7b7;
64
+ $pix-success: #34d399;
65
+ $pix-success-50: #27b481;
66
+ $pix-success-60: #14865d;
67
+ $pix-success-70: #176c4d;
68
+ $pix-success-80: #104834;
69
+
70
+ // Warning
71
+ $pix-warning-5: #fff9e6;
72
+ $pix-warning-10: #fff1c5;
73
+ $pix-warning-20: #ffe381;
74
+ $pix-warning-30: #ffd235;
75
+ $pix-warning-40: #ffbe00;
76
+ $pix-warning-50: #eaa600;
77
+ $pix-warning-60: #ce8900;
78
+ $pix-warning-70: #ac6a00;
79
+ $pix-warning-80: #874d00;
80
+
81
+ // Error
82
+ $pix-error-5: #fef2f2;
83
+ $pix-error-10: #fee2e2;
84
+ $pix-error-20: #fecaca;
85
+ $pix-error-30: #fca5a5;
86
+ $pix-error-40: #f87171;
87
+ $pix-error-50: #ef4444;
88
+ $pix-error-60: #dc2626;
89
+ $pix-error-70: #b91c1c;
90
+ $pix-error-80: #991b1b;
91
+
92
+ // Neutral
93
+ $pix-neutral-0: #ffffff;
94
+ $pix-neutral-5: #fafbfc;
95
+ $pix-neutral-10: #f4f5f7;
96
+ $pix-neutral-15: #eaecf0;
97
+ $pix-neutral-20: #dfe1e6;
98
+ $pix-neutral-22: #c1c7d0;
99
+ $pix-neutral-25: #a5adba;
100
+ $pix-neutral-30: #97a0af;
101
+ $pix-neutral-35: #8993a4;
102
+ $pix-neutral-40: #7a869a;
103
+ $pix-neutral-45: #6b778c;
104
+ $pix-neutral-50: #5e6c84;
105
+ $pix-neutral-60: #505f79;
106
+ $pix-neutral-70: #344563;
107
+ $pix-neutral-80: #253858;
108
+ $pix-neutral-90: #172b4d;
109
+ $pix-neutral-100: #091e42;
110
+ $pix-neutral-110: #07142e;
111
+
112
+ // Shades
113
+ $pix-shades-100: #000000;
114
+
115
+ // Domain
116
+ $pix-information-dark: #f24645;
117
+ $pix-information-light: #f1a141;
118
+
119
+ $pix-content-dark: #1a8c89;
120
+ $pix-content-light: #52d987;
121
+
122
+ $pix-communication-dark: #3d68ff;
123
+ $pix-communication-light: #12a3ff;
124
+
125
+ $pix-security-dark: #ac008d;
126
+ $pix-security-light: #ff3f94;
127
+
128
+ $pix-environment-dark: #5e2563;
129
+ $pix-environment-light: #564da6;
130
+
131
+ //// GRADIENT
132
+ $pix-primary-app-gradient: linear-gradient(91.59deg, #3d68ff 0%, #8845ff 100%);
133
+ $pix-secondary-app-gradient: linear-gradient(91.59deg, #fedc41 0%, #ff9f00 100%);
134
+ $pix-primary-certif-gradient: linear-gradient(91.59deg, #52d987 0%, #1a8c89 100%);
135
+ $pix-primary-orga-gradient: linear-gradient(91.59deg, #00ddff 0%, #0095c0 100%);
136
+ $pix-secondary-orga-gradient: linear-gradient(91.59deg, #0d7dc4 0%, #213371 100%);
137
+
138
+ // Domain
139
+ $pix-information-gradient: linear-gradient(180deg, #f24645 0%, #f1a141 100%);
140
+ $pix-content-gradient: linear-gradient(180deg, #1a8c89 0%, #52d987 100%);
141
+ $pix-communication-gradient: linear-gradient(180deg, #3d68ff 0%, #12a3ff 100%);
142
+ $pix-security-gradient: linear-gradient(180deg, #ac008d 0%, #ff3f94 100%);
143
+ $pix-environment-gradient: linear-gradient(180deg, #5e2563 0%, #564da6 100%);
144
+
145
+ //// DEPRECATED
3
146
  // primary
4
- $blue: #3D68FF;
5
- $yellow: #FFBE00;
6
- $orange: #DA7601;
7
- $red: #D63F00;
8
- $blue-zodiac: #505F79;
9
- $black: #07142E;
147
+ /**
148
+ * @deprecated Please use '$pix-primary' instead!
149
+ */
150
+ $blue: #3d68ff;
151
+
152
+ /**
153
+ * @deprecated Please use '$pix-warning-40' instead!
154
+ */
155
+ $yellow: #ffbe00;
156
+
157
+ /**
158
+ * @deprecated
159
+ */
160
+ $orange: #da7601;
161
+
162
+ /**
163
+ * @deprecated
164
+ */
165
+ $red: #d63f00;
166
+
167
+ /**
168
+ * @deprecated Please use '$pix-neutral-60' instead!
169
+ */
170
+ $blue-zodiac: #505f79;
171
+
172
+ /**
173
+ * @deprecated Please use '$pix-neutral-110' instead!
174
+ */
175
+ $black: #07142e;
176
+
177
+ /**
178
+ * @deprecated Please use '$pix-neutral-0' instead!
179
+ */
10
180
  $white: #ffffff;
181
+
11
182
  // secondary
12
- $blue-hover: #3257D9;
13
- $dark-blue-pro: #1A38A0;
14
- $dark-green-certif: #17817E;
15
- $dark-orga: #006C87;
183
+
184
+ /**
185
+ * @deprecated
186
+ */
187
+ $blue-hover: #3257d9;
188
+
189
+ /**
190
+ * @deprecated
191
+ */
192
+ $dark-blue-pro: #1a38a0;
193
+
194
+ /**
195
+ * @deprecated Please use '$pix-secondary-certif-50' instead!
196
+ */
197
+ $dark-green-certif: #17817e;
198
+
199
+ /**
200
+ * @deprecated
201
+ */
202
+ $dark-orga: #006c87;
203
+
204
+ /**
205
+ * @deprecated
206
+ */
16
207
  $green: #038125;
17
- $orga: #00DDFF;
18
- $purple: #8845FF;
19
208
 
20
- @mixin colorize($color, $percentageDarkenForColor, $percentageLightenForBackground){
209
+ /**
210
+ * @deprecated Please use '$pix-secondary-orga' instead!
211
+ */
212
+ $orga: #00ddff;
213
+
214
+ /**
215
+ * @deprecated
216
+ */
217
+ $purple: #8845ff;
218
+
219
+ @mixin colorize($color, $percentageDarkenForColor, $percentageLightenForBackground) {
21
220
  color: darken($color, $percentageDarkenForColor);
22
221
  background-color: lighten($color, $percentageLightenForBackground);
23
222
  }
24
223
 
25
224
  // gradients
26
- $pix-gradient: linear-gradient(135deg, $blue 0%, $purple 100%);
27
- $pix-blue-gradient: linear-gradient(135deg, #12A3FF 0%, #3D68FF 100%);
28
- $pix-certif-gradient: linear-gradient(0deg, #52D987 0%, #1A8C89 100%);
29
- $pix-certif-old-gradient: linear-gradient(135deg, #FF3F93 0%, #AC008D 100%);
30
- $pix-orange-gradient: linear-gradient(180deg, #F24645 0%, #F1A141 100%);
31
- $pix-orga-gradient: linear-gradient(134deg, #00DDFF 0%, #0095C0 100%);
32
- $pix-orga-old-gradient: linear-gradient(0deg, #0D7DC4 0%, #213371 100%);
33
- $pix-pink-gradient: linear-gradient(0deg, #FF3F93 0%, #AC008D 100%);
34
- $pix-purple-gradient: linear-gradient(180deg, #5E2563 0%, #564DA6 100%);
35
- $pix-yellow-gradient: linear-gradient(135deg, #FFBE00 0%, #FF9F00 100%);
36
- $pix-yellow-gradient-right: linear-gradient(to right, #FFBE00, #FF9F00);
225
+ /**
226
+ * @deprecated Please use '$pix-primary-app-gradient' instead!
227
+ */
228
+ $pix-blue-gradient: linear-gradient(135deg, #12a3ff 0%, #3d68ff 100%);
229
+
230
+ /**
231
+ * @deprecated Please use '$pix-primary-certif-gradient' instead!
232
+ */
233
+ $pix-certif-gradient: linear-gradient(0deg, #52d987 0%, #1a8c89 100%);
234
+
235
+ /**
236
+ * @deprecated Please use '$pix-security-gradient' instead!
237
+ */
238
+ $pix-certif-old-gradient: linear-gradient(135deg, #ff3f93 0%, #ac008d 100%);
239
+
240
+ /**
241
+ * @deprecated Please use '$pix-information-gradient' instead!
242
+ */
243
+ $pix-orange-gradient: linear-gradient(180deg, #f24645 0%, #f1a141 100%);
244
+
245
+ /**
246
+ * @deprecated Please use '$pix-primary-orga-gradient' instead!
247
+ */
248
+ $pix-orga-gradient: linear-gradient(134deg, #00ddff 0%, #0095c0 100%);
249
+
250
+ /**
251
+ * @deprecated Please use '$pix-primary-orga-gradient' instead!
252
+ */
253
+ $pix-orga-old-gradient: linear-gradient(0deg, #0d7dc4 0%, #213371 100%);
254
+
255
+ /**
256
+ * @deprecated Please use '$pix-security-gradient' instead!
257
+ */
258
+ $pix-pink-gradient: linear-gradient(0deg, #ff3f93 0%, #ac008d 100%);
259
+
260
+ /**
261
+ * @deprecated Please use '$pix-environment-gradient' instead!
262
+ */
263
+ $pix-purple-gradient: linear-gradient(180deg, #5e2563 0%, #564da6 100%);
264
+
265
+ /**
266
+ * Still in use for PixProgressGauge, may be removed in the future.
267
+ */
268
+ $pix-yellow-gradient: linear-gradient(135deg, #ffbe00 0%, #ff9f00 100%);
269
+
270
+ /**
271
+ * Still in use for PixProgressGauge, may be removed in the future.
272
+ */
273
+ $pix-yellow-gradient-right: linear-gradient(to right, #ffbe00, #ff9f00);
274
+
37
275
  // light
38
- $grey-5: #FAFBFC;
39
- $grey-10: #F4F5F7;
40
- $grey-15: #EAECF0;
41
- $grey-20: #DFE1E6;
42
- $grey-22: #C1C7D0;
43
- $grey-25: #A5ADBA;
276
+
277
+ /**
278
+ * @deprecated Please use '$pix-neutral-5' instead!
279
+ */
280
+ $grey-5: #fafbfc;
281
+
282
+ /**
283
+ * @deprecated Please use '$pix-neutral-10' instead!
284
+ */
285
+ $grey-10: #f4f5f7;
286
+
287
+ /**
288
+ * @deprecated Please use '$pix-neutral-15' instead!
289
+ */
290
+ $grey-15: #eaecf0;
291
+
292
+ /**
293
+ * @deprecated Please use '$pix-neutral-20' instead!
294
+ */
295
+ $grey-20: #dfe1e6;
296
+
297
+ /**
298
+ * @deprecated Please use '$pix-neutral-22' instead!
299
+ */
300
+ $grey-22: #c1c7d0;
301
+
302
+ /**
303
+ * @deprecated Please use '$pix-neutral-25' instead!
304
+ */
305
+ $grey-25: #a5adba;
44
306
  // medium
45
- $grey-30: #97A0AF;
46
- $grey-35: #8993A4;
47
- $grey-40: #7A869A;
48
- $grey-45: #6B778C;
49
- $grey-50: #5E6C84;
50
- $grey-60: #505F79;
307
+
308
+ /**
309
+ * @deprecated Please use '$pix-neutral-30' instead!
310
+ */
311
+ $grey-30: #97a0af;
312
+
313
+ /**
314
+ * @deprecated Please use '$pix-neutral-35' instead!
315
+ */
316
+ $grey-35: #8993a4;
317
+
318
+ /**
319
+ * @deprecated Please use '$pix-neutral-40' instead!
320
+ */
321
+ $grey-40: #7a869a;
322
+
323
+ /**
324
+ * @deprecated Please use '$pix-neutral-45' instead!
325
+ */
326
+ $grey-45: #6b778c;
327
+
328
+ /**
329
+ * @deprecated Please use '$pix-neutral-5O' instead!
330
+ */
331
+ $grey-50: #5e6c84;
332
+
333
+ /**
334
+ * @deprecated Please use '$pix-neutral-60' instead!
335
+ */
336
+ $grey-60: #505f79;
337
+
51
338
  // dark
339
+ /**
340
+ * @deprecated Please use '$pix-neutral-70' instead!
341
+ */
52
342
  $grey-70: #344563;
343
+
344
+ /**
345
+ * @deprecated Please use '$pix-neutral-80' instead!
346
+ */
53
347
  $grey-80: #253858;
54
- $grey-90: #172B4D;
55
- $grey-100: #091E42;
56
- $grey-150: #0C163A;
57
- $grey-200: #07142E;
348
+
349
+ /**
350
+ * @deprecated Please use '$pix-neutral-90' instead!
351
+ */
352
+ $grey-90: #172b4d;
353
+
354
+ /**
355
+ * @deprecated Please use '$pix-neutral-100' instead!
356
+ */
357
+ $grey-100: #091e42;
358
+
359
+ /**
360
+ * @deprecated Please use '$pix-neutral-150' instead!
361
+ */
362
+ $grey-150: #0c163a;
363
+
364
+ /**
365
+ * @deprecated Please use '$pix-neutral-200' instead!
366
+ */
367
+ $grey-200: #07142e;
368
+
58
369
  // gradients domain
59
- $information-gradient: linear-gradient(180deg, #F24645 0%, #F1A141 100%);
60
- $content-gradient: linear-gradient(0deg, #52D987 0%, #1A8C89 100%);
61
- $communication-gradient: linear-gradient(0deg, #12A3FF 0%, #3D68FF 100%);
62
- $security-gradient: linear-gradient(0deg, #FF3F93 0%, #AC008D 100%);
63
- $environment-gradient: linear-gradient(180deg, #5E2563 0%, #564DA6 100%);
370
+ /**
371
+ * @deprecated Please use '$pix-information-gradient' instead!
372
+ */
373
+ $information-gradient: linear-gradient(180deg, #f24645 0%, #f1a141 100%);
374
+
375
+ /**
376
+ * @deprecated Please use '$pix-content-gradient' instead!
377
+ */
378
+ $content-gradient: linear-gradient(0deg, #52d987 0%, #1a8c89 100%);
379
+
380
+ /**
381
+ * @deprecated Please use '$pix-communication-gradient' instead!
382
+ */
383
+ $communication-gradient: linear-gradient(0deg, #12a3ff 0%, #3d68ff 100%);
384
+
385
+ /**
386
+ * @deprecated Please use '$pix-security-gradient' instead!
387
+ */
388
+ $security-gradient: linear-gradient(0deg, #ff3f93 0%, #ac008d 100%);
389
+
390
+ /**
391
+ * @deprecated Please use '$pix-environment-gradient' instead!
392
+ */
393
+ $environment-gradient: linear-gradient(180deg, #5e2563 0%, #564da6 100%);
394
+
64
395
  // solids
65
- $environment-dark: #5E2563;
66
- $environment-light: #564DA6;
67
- $communication-dark: #3D68FF;
68
- $communication-light: #12A3FF;
69
- $content-dark: #1A8C89;
70
- $content-light: #52D987;
71
- $information-dark: #F24645;
72
- $information-light: #F1A141;
73
- $security-dark: #AC008D;
74
- $security-light: #FF3F94;
75
- $pink-alert-light: #FFE1E1;
76
- $pink-alert-dark: #A71E1A;
77
- $blue-alert-light: #DCF1FF;
78
- $blue-alert-dark: #0D25B3;
79
- $green-alert-light: #EFFFD8;
396
+
397
+ /**
398
+ * @deprecated Please use '$pix-environment-dark' instead!
399
+ */
400
+ $environment-dark: #5e2563;
401
+
402
+ /**
403
+ * @deprecated Please use '$pix-environment-light' instead!
404
+ */
405
+ $environment-light: #564da6;
406
+
407
+ /**
408
+ * @deprecated Please use '$pix-communication-dark' instead!
409
+ */
410
+ $communication-dark: #3d68ff;
411
+
412
+ /**
413
+ * @deprecated Please use '$pix-communication-light' instead!
414
+ */
415
+ $communication-light: #12a3ff;
416
+
417
+ /**
418
+ * @deprecated Please use '$pix-content-dark' instead!
419
+ */
420
+ $content-dark: #1a8c89;
421
+
422
+ /**
423
+ * @deprecated Please use '$pix-content-light' instead!
424
+ */
425
+ $content-light: #52d987;
426
+
427
+ /**
428
+ * @deprecated Please use '$pix-information-dark' instead!
429
+ */
430
+ $information-dark: #f24645;
431
+
432
+ /**
433
+ * @deprecated Please use '$pix-information-light' instead!
434
+ */
435
+ $information-light: #f1a141;
436
+
437
+ /**
438
+ * @deprecated Please use '$pix-security-dark' instead!
439
+ */
440
+ $security-dark: #ac008d;
441
+
442
+ /**
443
+ * @deprecated Please use '$pix-security-light' instead!
444
+ */
445
+ $security-light: #ff3f94;
446
+
447
+ /**
448
+ * @deprecated Please use '$pix-error-10' instead!
449
+ */
450
+ $pink-alert-light: #ffe1e1;
451
+
452
+ /**
453
+ * @deprecated Please use '$pix-error-70' instead!
454
+ */
455
+ $pink-alert-dark: #a71e1a;
456
+
457
+ /**
458
+ * @deprecated Please use '$pix-primary-10' instead!
459
+ */
460
+ $blue-alert-light: #dcf1ff;
461
+
462
+ /**
463
+ * @deprecated Please use '$pix-primary-70' instead!
464
+ */
465
+ $blue-alert-dark: #0d25b3;
466
+
467
+ /**
468
+ * @deprecated Please use '$pix-success-10' instead!
469
+ */
470
+ $green-alert-light: #efffd8;
471
+
472
+ /**
473
+ * @deprecated Please use '$pix-success-70' instead!
474
+ */
80
475
  $green-alert-dark: #006134;
81
- $yellow-alert-light: #FFF1C5;
82
- $yellow-alert-dark: #A95800;
83
476
 
477
+ /**
478
+ * @deprecated Please use '$pix-warning-10' instead!
479
+ */
480
+ $yellow-alert-light: #fff1c5;
481
+
482
+ /**
483
+ * @deprecated Please use '$pix-secondary-60' instead!
484
+ */
485
+ $yellow-alert-dark: #a95800;
84
486
 
85
487
  // status
86
- $error: #FF4B00;
87
- $success: #57C884;
88
- $warning: #FFBE00;
488
+
489
+ /**
490
+ * @deprecated
491
+ *-To style text or border : $pix-error-70
492
+ *-To style background : $pix-error-10
493
+ */
494
+ $error: #ff4b00;
495
+
496
+ /**
497
+ * @deprecated
498
+ *-To style text or border : $pix-success-70
499
+ *-To style background : $pix-success-10
500
+ */
501
+ $success: #57c884;
502
+
503
+ /**
504
+ * @deprecated
505
+ *-To style text or border : $pix-warning-60
506
+ *-To style background : $pix-warning-10
507
+ */
508
+ $warning: #ffbe00;
@@ -1,21 +1,21 @@
1
- @mixin hoverFormElement(){
1
+ @mixin hoverFormElement() {
2
2
  &:hover {
3
- box-shadow: inset 0px 0px 0px 0.6px $grey-40;
3
+ box-shadow: inset 0px 0px 0px 0.6px $pix-neutral-40;
4
4
  }
5
5
  }
6
6
 
7
- @mixin focusFormElement(){
7
+ @mixin focusFormElement() {
8
8
  &:focus {
9
- border-color: $blue;
10
- box-shadow: inset 0px 0px 0px 0.6px $blue;
9
+ border-color: $pix-primary;
10
+ box-shadow: inset 0px 0px 0px 0.6px $pix-primary;
11
11
  outline: none;
12
12
  }
13
13
  }
14
14
 
15
- @mixin focusWithinFormElement(){
15
+ @mixin focusWithinFormElement() {
16
16
  &:focus {
17
- border-color: $blue;
18
- box-shadow: inset 0px 0px 0px 0.6px $blue;
17
+ border-color: $pix-primary;
18
+ box-shadow: inset 0px 0px 0px 0.6px $pix-primary;
19
19
  outline: none;
20
20
  }
21
21
  }
@@ -24,26 +24,26 @@
24
24
  display: block;
25
25
  font-family: $font-roboto;
26
26
  font-size: 0.875rem;
27
- color: $grey-70;
27
+ color: $pix-neutral-70;
28
28
  margin-bottom: 4px;
29
29
  }
30
30
 
31
31
  @mixin errorMessage() {
32
32
  font-family: $font-roboto;
33
33
  font-size: 0.75rem;
34
- color: $red;
34
+ color: $pix-error-70;
35
35
  }
36
36
 
37
37
  @mixin formElementInError() {
38
- border-color: $red;
39
- box-shadow: inset 0px 0px 0px 0.6px $red;
38
+ border-color: $pix-error-70;
39
+ box-shadow: inset 0px 0px 0px 0.6px $pix-error-70;
40
40
  }
41
41
 
42
42
  @mixin input() {
43
43
  font-family: $font-roboto;
44
44
  font-size: 0.875rem;
45
45
  font-weight: 400;
46
- color: $grey-90;
46
+ color: $pix-neutral-90;
47
47
  border-radius: $spacing-xxs;
48
48
  padding: 0 $spacing-s 0 $spacing-s;
49
49
  }
@@ -57,7 +57,6 @@
57
57
  padding: $spacing-xs 0 $spacing-xs 0;
58
58
  }
59
59
 
60
-
61
60
  .pix-form__actions {
62
61
  display: flex;
63
62
  justify-content: center;
@@ -69,7 +68,7 @@
69
68
 
70
69
  abbr.mandatory-mark {
71
70
  cursor: help;
72
- color: $pink-alert-dark;
71
+ color: $pix-error-70;
73
72
  text-decoration: none;
74
73
  border: none;
75
- }
74
+ }
@@ -9,12 +9,13 @@
9
9
 
10
10
  &__background {
11
11
  position: absolute;
12
- top: 0; left: 0;
12
+ top: 0;
13
+ left: 0;
13
14
  z-index: -1;
14
15
  width: 100%;
15
16
  min-height: 270px;
16
- background: $pix-gradient;
17
+ background: $pix-primary-app-gradient;
17
18
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1);
18
- color: $white;
19
+ color: $pix-neutral-0;
19
20
  }
20
21
  }