@madgex/design-system 1.12.0 → 1.14.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.
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 10 Jul 2019 14:24:59 GMT
3
+ * Generated on Thu, 11 Jul 2019 11:51:51 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -10,7 +10,7 @@
10
10
  --mds-color-brand-1-dark: #15598e;
11
11
  --mds-color-brand-1-darkest: #082135;
12
12
  --mds-color-brand-2-base: #f0af11;
13
- --mds-color-brand-2-light: #f3bf41;
13
+ --mds-color-brand-2-light: #f0af11;
14
14
  --mds-color-brand-2-lightest: #fdf7e7;
15
15
  --mds-color-brand-2-dark: #c28d0c;
16
16
  --mds-color-brand-2-darkest: #3a2a04;
@@ -19,16 +19,17 @@
19
19
  --mds-color-brand-3-lightest: #e8fcfb;
20
20
  --mds-color-brand-3-dark: #119389;
21
21
  --mds-color-brand-3-darkest: #063733;
22
- --mds-color-background-body: #f0f0f0;
22
+ --mds-color-background-body: #ffffff;
23
23
  --mds-color-background-site-container: #f0f0f0;
24
24
  --mds-color-background-surface: #ffffff;
25
- --mds-color-text: #222222;
26
- --mds-color-border: #979797;
27
- --mds-color-white: #ffffff;
28
- --mds-color-black: #000000;
25
+ --mds-color-neutral-white: #ffffff;
26
+ --mds-color-neutral-black: #000000;
29
27
  --mds-color-neutral-base: #979797;
30
28
  --mds-color-neutral-lightest: #f0f0f0;
31
29
  --mds-color-neutral-darker: #333333;
30
+ --mds-color-text-base: #222222;
31
+ --mds-color-text-invert: #ffffff;
32
+ --mds-color-border: #979797;
32
33
  --mds-font-family-base: "Helvetica", Arial, sans-serif;
33
34
  --mds-font-type-canon-default-size: 28px;
34
35
  --mds-font-type-canon-default-line-height: 1.15;
@@ -123,5 +124,6 @@
123
124
  --mds-size-container-max-width: 100%;
124
125
  --mds-size-wrapper-width: 100%;
125
126
  --mds-size-wrapper-max-width: 1280px;
126
- --mds-size-wrapper-paddings: 2.5%;
127
+ --mds-size-wrapper-padding: 2.5%;
128
+ --mds-size-surface-padding: 20px;
127
129
  }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 10 Jul 2019 14:24:59 GMT
3
+ * Generated on Thu, 11 Jul 2019 11:51:51 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -132,11 +132,11 @@ module.exports = {
132
132
  ]
133
133
  },
134
134
  "light": {
135
- "value": "#f3bf41",
136
135
  "scssColorFunction": "lighten($mds-color-brand-2-base,10%)",
136
+ "value": "#f0af11",
137
137
  "original": {
138
- "value": "#f3bf41",
139
- "scssColorFunction": "lighten($mds-color-brand-2-base,10%)"
138
+ "scssColorFunction": "lighten($mds-color-brand-2-base,10%)",
139
+ "value": "{color.brand.2.base.value}"
140
140
  },
141
141
  "name": "MdsColorBrand2Light",
142
142
  "attributes": {
@@ -324,9 +324,9 @@ module.exports = {
324
324
  },
325
325
  "background": {
326
326
  "body": {
327
- "value": "#f0f0f0",
327
+ "value": "#ffffff",
328
328
  "original": {
329
- "value": "{color.background.site-container.value}"
329
+ "value": "{color.neutral.white.value}"
330
330
  },
331
331
  "name": "MdsColorBackgroundBody",
332
332
  "attributes": {
@@ -343,7 +343,7 @@ module.exports = {
343
343
  "site-container": {
344
344
  "value": "#f0f0f0",
345
345
  "original": {
346
- "value": "#f0f0f0"
346
+ "value": "{color.neutral.lightest.value}"
347
347
  },
348
348
  "name": "MdsColorBackgroundSiteContainer",
349
349
  "attributes": {
@@ -360,7 +360,7 @@ module.exports = {
360
360
  "surface": {
361
361
  "value": "#ffffff",
362
362
  "original": {
363
- "value": "#ffffff"
363
+ "value": "{color.neutral.white.value}"
364
364
  },
365
365
  "name": "MdsColorBackgroundSurface",
366
366
  "attributes": {
@@ -375,67 +375,41 @@ module.exports = {
375
375
  ]
376
376
  }
377
377
  },
378
- "text": {
379
- "value": "#222222",
380
- "original": {
381
- "value": "#222"
382
- },
383
- "name": "MdsColorText",
384
- "attributes": {
385
- "category": "color",
386
- "type": "text"
387
- },
388
- "path": [
389
- "color",
390
- "text"
391
- ]
392
- },
393
- "border": {
394
- "value": "#979797",
395
- "original": {
396
- "value": "{color.neutral.base.value}"
397
- },
398
- "name": "MdsColorBorder",
399
- "attributes": {
400
- "category": "color",
401
- "type": "border"
402
- },
403
- "path": [
404
- "color",
405
- "border"
406
- ]
407
- },
408
- "white": {
409
- "value": "#ffffff",
410
- "original": {
411
- "value": "#FFFFFF"
412
- },
413
- "name": "MdsColorWhite",
414
- "attributes": {
415
- "category": "color",
416
- "type": "white"
417
- },
418
- "path": [
419
- "color",
420
- "white"
421
- ]
422
- },
423
- "black": {
424
- "value": "#000000",
425
- "original": {
426
- "value": "#000000"
378
+ "neutral": {
379
+ "white": {
380
+ "value": "#ffffff",
381
+ "original": {
382
+ "value": "#FFFFFF"
383
+ },
384
+ "name": "MdsColorNeutralWhite",
385
+ "attributes": {
386
+ "category": "color",
387
+ "type": "neutral",
388
+ "item": "white"
389
+ },
390
+ "path": [
391
+ "color",
392
+ "neutral",
393
+ "white"
394
+ ]
427
395
  },
428
- "name": "MdsColorBlack",
429
- "attributes": {
430
- "category": "color",
431
- "type": "black"
396
+ "black": {
397
+ "value": "#000000",
398
+ "original": {
399
+ "value": "#000000"
400
+ },
401
+ "name": "MdsColorNeutralBlack",
402
+ "attributes": {
403
+ "category": "color",
404
+ "type": "neutral",
405
+ "item": "black"
406
+ },
407
+ "path": [
408
+ "color",
409
+ "neutral",
410
+ "black"
411
+ ]
432
412
  },
433
- "path": [
434
- "color",
435
- "black"
436
- ]
437
- },
438
- "neutral": {
439
413
  "base": {
440
414
  "value": "#979797",
441
415
  "original": {
@@ -487,6 +461,57 @@ module.exports = {
487
461
  "darker"
488
462
  ]
489
463
  }
464
+ },
465
+ "text": {
466
+ "base": {
467
+ "value": "#222222",
468
+ "original": {
469
+ "value": "#222"
470
+ },
471
+ "name": "MdsColorTextBase",
472
+ "attributes": {
473
+ "category": "color",
474
+ "type": "text",
475
+ "item": "base"
476
+ },
477
+ "path": [
478
+ "color",
479
+ "text",
480
+ "base"
481
+ ]
482
+ },
483
+ "invert": {
484
+ "value": "#ffffff",
485
+ "original": {
486
+ "value": "{color.neutral.white.value}"
487
+ },
488
+ "name": "MdsColorTextInvert",
489
+ "attributes": {
490
+ "category": "color",
491
+ "type": "text",
492
+ "item": "invert"
493
+ },
494
+ "path": [
495
+ "color",
496
+ "text",
497
+ "invert"
498
+ ]
499
+ }
500
+ },
501
+ "border": {
502
+ "value": "#979797",
503
+ "original": {
504
+ "value": "{color.neutral.base.value}"
505
+ },
506
+ "name": "MdsColorBorder",
507
+ "attributes": {
508
+ "category": "color",
509
+ "type": "border"
510
+ },
511
+ "path": [
512
+ "color",
513
+ "border"
514
+ ]
490
515
  }
491
516
  },
492
517
  "font": {
@@ -2517,21 +2542,40 @@ module.exports = {
2517
2542
  "max-width"
2518
2543
  ]
2519
2544
  },
2520
- "paddings": {
2545
+ "padding": {
2521
2546
  "value": "2.5rem",
2522
2547
  "original": {
2523
2548
  "value": "2.5%"
2524
2549
  },
2525
- "name": "MdsSizeWrapperPaddings",
2550
+ "name": "MdsSizeWrapperPadding",
2526
2551
  "attributes": {
2527
2552
  "category": "size",
2528
2553
  "type": "wrapper",
2529
- "item": "paddings"
2554
+ "item": "padding"
2530
2555
  },
2531
2556
  "path": [
2532
2557
  "size",
2533
2558
  "wrapper",
2534
- "paddings"
2559
+ "padding"
2560
+ ]
2561
+ }
2562
+ },
2563
+ "surface": {
2564
+ "padding": {
2565
+ "value": "20rem",
2566
+ "original": {
2567
+ "value": "20px"
2568
+ },
2569
+ "name": "MdsSizeSurfacePadding",
2570
+ "attributes": {
2571
+ "category": "size",
2572
+ "type": "surface",
2573
+ "item": "padding"
2574
+ },
2575
+ "path": [
2576
+ "size",
2577
+ "surface",
2578
+ "padding"
2535
2579
  ]
2536
2580
  }
2537
2581
  }
@@ -1,7 +1,7 @@
1
1
 
2
2
  /*
3
3
  Do not edit directly
4
- Generated on Wed, 10 Jul 2019 14:24:59 GMT
4
+ Generated on Thu, 11 Jul 2019 11:51:51 GMT
5
5
  */
6
6
 
7
7
  $mds-color-brand-1-base: #1b75bb !default;
@@ -10,7 +10,7 @@ $mds-color-brand-1-lightest: lighten($mds-color-brand-1-base,(95% - lightness($m
10
10
  $mds-color-brand-1-dark: darken($mds-color-brand-1-base,10%) !default;
11
11
  $mds-color-brand-1-darkest: darken($mds-color-brand-1-base,(lightness($mds-color-brand-1-base) - 12%)) !default;
12
12
  $mds-color-brand-2-base: #f0af11 !default;
13
- $mds-color-brand-2-light: lighten($mds-color-brand-2-base,10%) !default;
13
+ $mds-color-brand-2-light: #f0af11 !default;
14
14
  $mds-color-brand-2-lightest: lighten($mds-color-brand-2-base,(95% - lightness($mds-color-brand-2-base))) !default;
15
15
  $mds-color-brand-2-dark: darken($mds-color-brand-2-base,10%) !default;
16
16
  $mds-color-brand-2-darkest: darken($mds-color-brand-2-base,(lightness($mds-color-brand-2-base) - 12%)) !default;
@@ -19,16 +19,17 @@ $mds-color-brand-3-light: lighten($mds-color-brand-3-base,10%) !default;
19
19
  $mds-color-brand-3-lightest: lighten($mds-color-brand-3-base,(95% - lightness($mds-color-brand-3-base))) !default;
20
20
  $mds-color-brand-3-dark: darken($mds-color-brand-3-base,10%) !default;
21
21
  $mds-color-brand-3-darkest: darken($mds-color-brand-3-base,(lightness($mds-color-brand-3-base) - 12%)) !default;
22
- $mds-color-background-body: #f0f0f0 !default;
22
+ $mds-color-background-body: #ffffff !default;
23
23
  $mds-color-background-site-container: #f0f0f0 !default;
24
24
  $mds-color-background-surface: #ffffff !default;
25
- $mds-color-text: #222222 !default;
26
- $mds-color-border: #979797 !default;
27
- $mds-color-white: #ffffff !default;
28
- $mds-color-black: #000000 !default;
25
+ $mds-color-neutral-white: #ffffff !default;
26
+ $mds-color-neutral-black: #000000 !default;
29
27
  $mds-color-neutral-base: #979797 !default;
30
28
  $mds-color-neutral-lightest: #f0f0f0 !default;
31
29
  $mds-color-neutral-darker: #333333 !default;
30
+ $mds-color-text-base: #222222 !default;
31
+ $mds-color-text-invert: #ffffff !default;
32
+ $mds-color-border: #979797 !default;
32
33
  $mds-font-family-base: "Helvetica", Arial, sans-serif !default;
33
34
  $mds-font-type-canon-default-size: 28px !default;
34
35
  $mds-font-type-canon-default-line-height: 1.15 !default;
@@ -123,7 +124,8 @@ $mds-size-container-min-width: 0 !default;
123
124
  $mds-size-container-max-width: 100% !default;
124
125
  $mds-size-wrapper-width: 100% !default;
125
126
  $mds-size-wrapper-max-width: 1280px !default;
126
- $mds-size-wrapper-paddings: 2.5% !default;
127
+ $mds-size-wrapper-padding: 2.5% !default;
128
+ $mds-size-surface-padding: 20px !default;
127
129
 
128
130
  $tokens: (
129
131
  'color': (
@@ -155,15 +157,18 @@ $tokens: (
155
157
  'site-container': $mds-color-background-site-container,
156
158
  'surface': $mds-color-background-surface
157
159
  ),
158
- 'text': $mds-color-text,
159
- 'border': $mds-color-border,
160
- 'white': $mds-color-white,
161
- 'black': $mds-color-black,
162
160
  'neutral': (
161
+ 'white': $mds-color-neutral-white,
162
+ 'black': $mds-color-neutral-black,
163
163
  'base': $mds-color-neutral-base,
164
164
  'lightest': $mds-color-neutral-lightest,
165
165
  'darker': $mds-color-neutral-darker
166
- )
166
+ ),
167
+ 'text': (
168
+ 'base': $mds-color-text-base,
169
+ 'invert': $mds-color-text-invert
170
+ ),
171
+ 'border': $mds-color-border
167
172
  ),
168
173
  'font': (
169
174
  'family': (
@@ -373,7 +378,10 @@ $tokens: (
373
378
  'wrapper': (
374
379
  'width': $mds-size-wrapper-width,
375
380
  'max-width': $mds-size-wrapper-max-width,
376
- 'paddings': $mds-size-wrapper-paddings
381
+ 'padding': $mds-size-wrapper-padding
382
+ ),
383
+ 'surface': (
384
+ 'padding': $mds-size-surface-padding
377
385
  )
378
386
  )
379
387
  );