@madgex/design-system 6.3.3 → 6.3.4
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/dist/_tokens/css/_tokens.css +2 -3
- package/dist/_tokens/js/_tokens-module.js +13 -72
- package/dist/assets/icons.json +1 -1
- package/dist/css/index.css +1 -1
- package/dist/js/index.js +1 -1
- package/package.json +2 -2
- package/src/components/button/button.scss +21 -20
- package/src/components/card/README.md +1 -1
- package/src/components/card/card.scss +12 -12
- package/src/components/icons/README.md +3 -3
- package/src/components/icons/icons.scss +7 -7
- package/src/components/inputs/_form-elements.scss +44 -44
- package/src/components/inputs/checkbox-pill/checkbox-pill.scss +14 -11
- package/src/components/inputs/combobox/combobox.scss +14 -14
- package/src/components/inputs/file-upload/file-upload.scss +14 -14
- package/src/components/inputs/input-number/input-number.scss +8 -8
- package/src/components/inputs/text-editor/text-editor.scss +19 -19
- package/src/components/modal/modal.scss +4 -4
- package/src/components/notification/notification.scss +1 -1
- package/src/components/pagination/pagination.scss +8 -8
- package/src/components/popover/popover.scss +14 -13
- package/src/components/section-title/section-title.scss +1 -1
- package/src/components/skip-link/skip-link.scss +4 -4
- package/src/components/tabs/tabs.scss +20 -20
- package/src/components/toggle-button-links/toggle-button-links.scss +16 -22
- package/src/helpers/spacing/README.md +2 -2
- package/src/layout/grid/README.md +4 -4
- package/src/scss/constants/_sd-tokens.scss +53 -57
- package/src/scss/constants/_vars.scss +12 -2
- package/src/scss/core/_containers.scss +25 -21
- package/src/scss/core/_defaults.scss +4 -4
- package/src/scss/core/_grid.scss +20 -20
- package/src/scss/core/_lists.scss +12 -12
- package/src/scss/core/_message.scss +13 -13
- package/src/scss/functions/_media-queries.scss +4 -4
- package/src/scss/helpers/_borders.scss +6 -5
- package/src/scss/helpers/_edited-text.scss +5 -5
- package/src/scss/helpers/_font-types.scss +3 -3
- package/src/scss/helpers/_spacing.scss +24 -24
- package/src/tokens/_config.js +1 -1
- package/src/tokens/_constants.json +0 -8
- package/src/tokens/color.json +4 -4
- package/src/tokens/custom.json +1 -1
- package/src/tokens/effects.json +0 -3
package/src/scss/core/_grid.scss
CHANGED
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
flex: 0 1 auto;
|
|
7
7
|
flex-direction: row;
|
|
8
8
|
flex-wrap: wrap;
|
|
9
|
-
margin-right: $
|
|
10
|
-
margin-left: $
|
|
9
|
+
margin-right: $constant-size-half-gutter-width * -1;
|
|
10
|
+
margin-left: $constant-size-half-gutter-width * -1;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
.mds-grid-row.mds-grid-small {
|
|
14
|
-
margin-right: $
|
|
15
|
-
margin-left: $
|
|
14
|
+
margin-right: $constant-size-quarter-gutter-width * -1;
|
|
15
|
+
margin-left: $constant-size-quarter-gutter-width * -1;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
.mds-grid-row.mds-grid-reverse {
|
|
@@ -51,12 +51,12 @@
|
|
|
51
51
|
.mds-grid-col-offset-12 {
|
|
52
52
|
box-sizing: border-box;
|
|
53
53
|
flex: 0 0 auto;
|
|
54
|
-
padding-right: $
|
|
55
|
-
padding-left: $
|
|
54
|
+
padding-right: $constant-size-half-gutter-width;
|
|
55
|
+
padding-left: $constant-size-half-gutter-width;
|
|
56
56
|
|
|
57
57
|
.mds-grid-small & {
|
|
58
|
-
padding-right: $
|
|
59
|
-
padding-left: $
|
|
58
|
+
padding-right: $constant-size-quarter-gutter-width;
|
|
59
|
+
padding-left: $constant-size-quarter-gutter-width;
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
|
|
@@ -222,7 +222,7 @@
|
|
|
222
222
|
flex-basis: auto;
|
|
223
223
|
}
|
|
224
224
|
|
|
225
|
-
@media only screen and (min-width: $
|
|
225
|
+
@media only screen and (min-width: $constant-size-breakpoint-sm) {
|
|
226
226
|
.mds-grid-col-sm,
|
|
227
227
|
.mds-grid-col-sm-1,
|
|
228
228
|
.mds-grid-col-sm-2,
|
|
@@ -251,8 +251,8 @@
|
|
|
251
251
|
.mds-grid-col-sm-offset-12 {
|
|
252
252
|
box-sizing: border-box;
|
|
253
253
|
flex: 0 0 auto;
|
|
254
|
-
padding-right: $
|
|
255
|
-
padding-left: $
|
|
254
|
+
padding-right: $constant-size-half-gutter-width;
|
|
255
|
+
padding-left: $constant-size-half-gutter-width;
|
|
256
256
|
}
|
|
257
257
|
|
|
258
258
|
.mds-grid-col-sm {
|
|
@@ -417,7 +417,7 @@
|
|
|
417
417
|
}
|
|
418
418
|
}
|
|
419
419
|
|
|
420
|
-
@media only screen and (min-width: $
|
|
420
|
+
@media only screen and (min-width: $constant-size-breakpoint-md) {
|
|
421
421
|
.mds-grid-col-md,
|
|
422
422
|
.mds-grid-col-md-1,
|
|
423
423
|
.mds-grid-col-md-2,
|
|
@@ -446,8 +446,8 @@
|
|
|
446
446
|
.mds-grid-col-md-offset-12 {
|
|
447
447
|
box-sizing: border-box;
|
|
448
448
|
flex: 0 0 auto;
|
|
449
|
-
padding-right: $
|
|
450
|
-
padding-left: $
|
|
449
|
+
padding-right: $constant-size-half-gutter-width;
|
|
450
|
+
padding-left: $constant-size-half-gutter-width;
|
|
451
451
|
}
|
|
452
452
|
|
|
453
453
|
.mds-grid-col-md {
|
|
@@ -613,7 +613,7 @@
|
|
|
613
613
|
}
|
|
614
614
|
}
|
|
615
615
|
|
|
616
|
-
@media only screen and (min-width: $
|
|
616
|
+
@media only screen and (min-width: $constant-size-breakpoint-lg) {
|
|
617
617
|
.mds-grid-col-lg,
|
|
618
618
|
.mds-grid-col-lg-1,
|
|
619
619
|
.mds-grid-col-lg-2,
|
|
@@ -642,8 +642,8 @@
|
|
|
642
642
|
.mds-grid-col-lg-offset-12 {
|
|
643
643
|
box-sizing: border-box;
|
|
644
644
|
flex: 0 0 auto;
|
|
645
|
-
padding-right: $
|
|
646
|
-
padding-left: $
|
|
645
|
+
padding-right: $constant-size-half-gutter-width;
|
|
646
|
+
padding-left: $constant-size-half-gutter-width;
|
|
647
647
|
}
|
|
648
648
|
|
|
649
649
|
.mds-grid-col-lg {
|
|
@@ -809,7 +809,7 @@
|
|
|
809
809
|
}
|
|
810
810
|
}
|
|
811
811
|
|
|
812
|
-
@media only screen and (min-width: $
|
|
812
|
+
@media only screen and (min-width: $constant-size-breakpoint-xl) {
|
|
813
813
|
.mds-grid-col-xl,
|
|
814
814
|
.mds-grid-col-xl-1,
|
|
815
815
|
.mds-grid-col-xl-2,
|
|
@@ -838,8 +838,8 @@
|
|
|
838
838
|
.mds-grid-col-xl-offset-12 {
|
|
839
839
|
box-sizing: border-box;
|
|
840
840
|
flex: 0 0 auto;
|
|
841
|
-
padding-right: $
|
|
842
|
-
padding-left: $
|
|
841
|
+
padding-right: $constant-size-half-gutter-width;
|
|
842
|
+
padding-left: $constant-size-half-gutter-width;
|
|
843
843
|
}
|
|
844
844
|
|
|
845
845
|
.mds-grid-col-xl {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
.mds-list {
|
|
2
|
-
margin: 0 0 ($
|
|
2
|
+
margin: 0 0 ($constant-size-baseline * 5) 0;
|
|
3
3
|
padding: 0;
|
|
4
4
|
list-style-type: none;
|
|
5
5
|
list-style-position: inside;
|
|
6
6
|
}
|
|
7
7
|
.mds-list__item {
|
|
8
|
-
margin-bottom: $
|
|
9
|
-
margin-left: $
|
|
8
|
+
margin-bottom: $constant-size-baseline;
|
|
9
|
+
margin-left: $constant-size-baseline * 4;
|
|
10
10
|
|
|
11
11
|
&:last-child {
|
|
12
12
|
margin-bottom: 0;
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
}
|
|
15
15
|
.mds-list--bullet,
|
|
16
16
|
.mds-list--number {
|
|
17
|
-
margin-left: ($
|
|
17
|
+
margin-left: ($constant-size-baseline * 3);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.mds-list--bullet {
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
.mds-list--border {
|
|
29
|
-
border-left: 5px solid $
|
|
30
|
-
padding-left: $
|
|
29
|
+
border-left: 5px solid $constant-color-neutral-lightest;
|
|
30
|
+
padding-left: $constant-size-baseline * 5;
|
|
31
31
|
margin-left: 0;
|
|
32
32
|
}
|
|
33
33
|
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
.mds-list__key {
|
|
39
39
|
@extend .mds-font-brevier;
|
|
40
40
|
font-weight: bold;
|
|
41
|
-
margin-bottom: $
|
|
41
|
+
margin-bottom: $constant-size-baseline;
|
|
42
42
|
}
|
|
43
43
|
.mds-list__value {
|
|
44
|
-
margin-bottom: $
|
|
44
|
+
margin-bottom: $constant-size-baseline * 3;
|
|
45
45
|
|
|
46
46
|
&:last-child {
|
|
47
47
|
margin-bottom: 0;
|
|
@@ -54,15 +54,15 @@
|
|
|
54
54
|
display: inline-block;
|
|
55
55
|
margin-bottom: 0;
|
|
56
56
|
margin-left: 0;
|
|
57
|
-
margin-right: $
|
|
57
|
+
margin-right: $constant-size-baseline * 2;
|
|
58
58
|
}
|
|
59
59
|
.mds-list--pipe .mds-list__item:not(:last-child) {
|
|
60
|
-
border-right: 1px solid $
|
|
61
|
-
padding-right: $
|
|
60
|
+
border-right: 1px solid $constant-color-neutral-light;
|
|
61
|
+
padding-right: $constant-size-baseline * 3;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
.mds-list--multilevel .mds-list {
|
|
65
|
-
margin: ($
|
|
65
|
+
margin: ($constant-size-baseline * 2) 0 0 0;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
.mds-list--noindent {
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
.mds-message {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
padding: $constant-size-baseline * 3;
|
|
3
|
+
border-radius: $border-radius;
|
|
4
|
+
border: $regular-border;
|
|
5
5
|
|
|
6
6
|
&.mds-message--error {
|
|
7
|
-
color: $
|
|
8
|
-
background-color: $
|
|
9
|
-
border-color: $
|
|
7
|
+
color: $constant-color-status-error-darkest;
|
|
8
|
+
background-color: $constant-color-status-error-lightest;
|
|
9
|
+
border-color: $constant-color-status-error-base;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
&.mds-message--success {
|
|
13
|
-
color: $
|
|
14
|
-
background-color: $
|
|
15
|
-
border-color: $
|
|
13
|
+
color: $constant-color-status-success-darkest;
|
|
14
|
+
background-color: $constant-color-status-success-lightest;
|
|
15
|
+
border-color: $constant-color-status-success-base;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
&.mds-message--info {
|
|
19
|
-
color: $
|
|
20
|
-
background-color: $
|
|
21
|
-
border-color: $
|
|
19
|
+
color: $constant-color-status-info-darkest;
|
|
20
|
+
background-color: $constant-color-status-info-lightest;
|
|
21
|
+
border-color: $constant-color-status-info-base;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
& * {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
& .mds-message__summary {
|
|
33
33
|
margin-bottom: 0;
|
|
34
34
|
& li:not(:last-child) {
|
|
35
|
-
|
|
35
|
+
margin-bottom: $constant-size-baseline * 3;
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// Pass our breakpoints and static breakpoint definitions through to sass-mq.
|
|
2
2
|
$mq-breakpoints: (
|
|
3
|
-
sm: $
|
|
4
|
-
md: $
|
|
5
|
-
lg: $
|
|
6
|
-
xl: $
|
|
3
|
+
sm: $constant-size-breakpoint-sm,
|
|
4
|
+
md: $constant-size-breakpoint-md,
|
|
5
|
+
lg: $constant-size-breakpoint-lg,
|
|
6
|
+
xl: $constant-size-breakpoint-xl,
|
|
7
7
|
) !default;
|
|
8
8
|
|
|
9
9
|
// This is a horrible, horrible hack to prevent the 'dev mode' CSS to display
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
$positions: top, right, bottom, left;
|
|
2
2
|
$corners: top-left, top-right, bottom-right, bottom-left;
|
|
3
3
|
|
|
4
|
+
|
|
4
5
|
.mds-border {
|
|
5
|
-
border:
|
|
6
|
+
border: $regular-border;
|
|
6
7
|
}
|
|
7
8
|
|
|
8
9
|
.mds-border-none {
|
|
@@ -12,7 +13,7 @@ $corners: top-left, top-right, bottom-right, bottom-left;
|
|
|
12
13
|
@each $bpname, $value in $breakpoints {
|
|
13
14
|
@include mq($from: $bpname) {
|
|
14
15
|
.mds-border-#{$bpname} {
|
|
15
|
-
border:
|
|
16
|
+
border: $regular-border;
|
|
16
17
|
}
|
|
17
18
|
}
|
|
18
19
|
}
|
|
@@ -27,7 +28,7 @@ $corners: top-left, top-right, bottom-right, bottom-left;
|
|
|
27
28
|
|
|
28
29
|
@each $position in $positions {
|
|
29
30
|
.mds-border-#{$position} {
|
|
30
|
-
border-#{$position}:
|
|
31
|
+
border-#{$position}: $regular-border;
|
|
31
32
|
}
|
|
32
33
|
}
|
|
33
34
|
|
|
@@ -41,7 +42,7 @@ $corners: top-left, top-right, bottom-right, bottom-left;
|
|
|
41
42
|
@include mq($from: $bpname) {
|
|
42
43
|
@each $position in $positions {
|
|
43
44
|
.mds-border-#{$bpname}-#{$position} {
|
|
44
|
-
border-#{$position}:
|
|
45
|
+
border-#{$position}: $regular-border;
|
|
45
46
|
}
|
|
46
47
|
}
|
|
47
48
|
}
|
|
@@ -59,7 +60,7 @@ $corners: top-left, top-right, bottom-right, bottom-left;
|
|
|
59
60
|
|
|
60
61
|
// border radius
|
|
61
62
|
.mds-border-radius {
|
|
62
|
-
border-radius:
|
|
63
|
+
border-radius: $border-radius;
|
|
63
64
|
}
|
|
64
65
|
|
|
65
66
|
.mds-border-radius-none {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
.mds-edited-text {
|
|
2
2
|
& ul,
|
|
3
3
|
& ol {
|
|
4
|
-
margin: 0 0 ($
|
|
4
|
+
margin: 0 0 ($constant-size-baseline * 5) ($constant-size-baseline * 3);
|
|
5
5
|
padding: 0;
|
|
6
6
|
list-style-position: outside;
|
|
7
7
|
& ul,
|
|
8
8
|
& ol {
|
|
9
|
-
margin: ($
|
|
9
|
+
margin: ($constant-size-baseline * 2) 0 0 0;
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
& ul {
|
|
@@ -16,14 +16,14 @@
|
|
|
16
16
|
list-style-type: decimal;
|
|
17
17
|
}
|
|
18
18
|
& li {
|
|
19
|
-
margin-bottom: $
|
|
20
|
-
margin-left: $
|
|
19
|
+
margin-bottom: $constant-size-baseline;
|
|
20
|
+
margin-left: $constant-size-baseline * 4;
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
.mds-edited-text.mds-font-body-copy-bulk,
|
|
24
24
|
.mds-font-body-copy-bulk .mds-edited-text,
|
|
25
25
|
.mds-edited-text .mds-font-body-copy-bulk {
|
|
26
26
|
& p {
|
|
27
|
-
margin-bottom: $
|
|
27
|
+
margin-bottom: $constant-size-baseline * 4;
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -9,15 +9,15 @@ $breakpoint-names: map-keys(map-remove($breakpoints, 'xl'));
|
|
|
9
9
|
// .mds-font-canon{
|
|
10
10
|
// font-size: 28px;
|
|
11
11
|
// line-height: 1.15;
|
|
12
|
-
// @media (min-width: $
|
|
12
|
+
// @media (min-width: $constant-size-breakpoint-sm){
|
|
13
13
|
// font-size: 32px;
|
|
14
14
|
// line-height: 1.13;
|
|
15
15
|
// }
|
|
16
|
-
// @media (min-width: $
|
|
16
|
+
// @media (min-width: $constant-size-breakpoint-md){
|
|
17
17
|
// font-size: 52px;
|
|
18
18
|
// line-height: 1.08;
|
|
19
19
|
// }
|
|
20
|
-
// @media (min-width: $
|
|
20
|
+
// @media (min-width: $constant-size-breakpoint-lg){
|
|
21
21
|
// font-size: 44px;
|
|
22
22
|
// line-height: 1.1;
|
|
23
23
|
// }
|
|
@@ -5,10 +5,10 @@ $positions: top, right, bottom, left;
|
|
|
5
5
|
|
|
6
6
|
@for $i from 0 through 10 {
|
|
7
7
|
.mds-padding-b#{$i} {
|
|
8
|
-
padding: $
|
|
8
|
+
padding: $constant-size-baseline * $i;
|
|
9
9
|
}
|
|
10
10
|
.mds-margin-b#{$i} {
|
|
11
|
-
margin: $
|
|
11
|
+
margin: $constant-size-baseline * $i;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
|
|
@@ -16,10 +16,10 @@ $positions: top, right, bottom, left;
|
|
|
16
16
|
@each $bpname, $value in $breakpoints {
|
|
17
17
|
@include mq($from: $bpname) {
|
|
18
18
|
.mds-padding-#{$bpname}-b#{$i} {
|
|
19
|
-
padding: $
|
|
19
|
+
padding: $constant-size-baseline * $i;
|
|
20
20
|
}
|
|
21
21
|
.mds-margin-#{$bpname}-b#{$i} {
|
|
22
|
-
margin: $
|
|
22
|
+
margin: $constant-size-baseline * $i;
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -28,28 +28,28 @@ $positions: top, right, bottom, left;
|
|
|
28
28
|
@for $i from 0 through 10 {
|
|
29
29
|
@each $position in $positions {
|
|
30
30
|
.mds-padding-#{$position}-b#{$i} {
|
|
31
|
-
padding-#{$position}: $
|
|
31
|
+
padding-#{$position}: $constant-size-baseline * $i;
|
|
32
32
|
}
|
|
33
33
|
.mds-margin-#{$position}-b#{$i} {
|
|
34
|
-
margin-#{$position}: $
|
|
34
|
+
margin-#{$position}: $constant-size-baseline * $i;
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
.mds-padding-x-b#{$i} {
|
|
38
|
-
padding-left: $
|
|
39
|
-
padding-right: $
|
|
38
|
+
padding-left: $constant-size-baseline * $i;
|
|
39
|
+
padding-right: $constant-size-baseline * $i;
|
|
40
40
|
}
|
|
41
41
|
.mds-padding-y-b#{$i} {
|
|
42
|
-
padding-top: $
|
|
43
|
-
padding-bottom: $
|
|
42
|
+
padding-top: $constant-size-baseline * $i;
|
|
43
|
+
padding-bottom: $constant-size-baseline * $i;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
.mds-margin-x-b#{$i} {
|
|
47
|
-
margin-left: $
|
|
48
|
-
margin-right: $
|
|
47
|
+
margin-left: $constant-size-baseline * $i;
|
|
48
|
+
margin-right: $constant-size-baseline * $i;
|
|
49
49
|
}
|
|
50
50
|
.mds-margin-y-b#{$i} {
|
|
51
|
-
margin-top: $
|
|
52
|
-
margin-bottom: $
|
|
51
|
+
margin-top: $constant-size-baseline * $i;
|
|
52
|
+
margin-bottom: $constant-size-baseline * $i;
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
|
|
@@ -58,10 +58,10 @@ $positions: top, right, bottom, left;
|
|
|
58
58
|
@each $bpname, $value in $breakpoints {
|
|
59
59
|
@include mq($from: $bpname) {
|
|
60
60
|
.mds-padding-#{$position}-#{$bpname}-b#{$i} {
|
|
61
|
-
padding-#{$position}: $
|
|
61
|
+
padding-#{$position}: $constant-size-baseline * $i;
|
|
62
62
|
}
|
|
63
63
|
.mds-margin-#{$position}-#{$bpname}-b#{$i} {
|
|
64
|
-
margin-#{$position}: $
|
|
64
|
+
margin-#{$position}: $constant-size-baseline * $i;
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
}
|
|
@@ -69,21 +69,21 @@ $positions: top, right, bottom, left;
|
|
|
69
69
|
@each $bpname, $value in $breakpoints {
|
|
70
70
|
@include mq($from: $bpname) {
|
|
71
71
|
.mds-padding-x-#{$bpname}-b#{$i} {
|
|
72
|
-
padding-left: $
|
|
73
|
-
padding-right: $
|
|
72
|
+
padding-left: $constant-size-baseline * $i;
|
|
73
|
+
padding-right: $constant-size-baseline * $i;
|
|
74
74
|
}
|
|
75
75
|
.mds-padding-y-#{$bpname}-b#{$i} {
|
|
76
|
-
padding-top: $
|
|
77
|
-
padding-bottom: $
|
|
76
|
+
padding-top: $constant-size-baseline * $i;
|
|
77
|
+
padding-bottom: $constant-size-baseline * $i;
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
.mds-margin-x-#{$bpname}-b#{$i} {
|
|
81
|
-
margin-left: $
|
|
82
|
-
margin-right: $
|
|
81
|
+
margin-left: $constant-size-baseline * $i;
|
|
82
|
+
margin-right: $constant-size-baseline * $i;
|
|
83
83
|
}
|
|
84
84
|
.mds-margin-y-#{$bpname}-b#{$i} {
|
|
85
|
-
margin-top: $
|
|
86
|
-
margin-bottom: $
|
|
85
|
+
margin-top: $constant-size-baseline * $i;
|
|
86
|
+
margin-bottom: $constant-size-baseline * $i;
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
}
|
package/src/tokens/_config.js
CHANGED
package/src/tokens/color.json
CHANGED
|
@@ -55,13 +55,13 @@
|
|
|
55
55
|
},
|
|
56
56
|
"background": {
|
|
57
57
|
"body": {
|
|
58
|
-
"value" : "
|
|
58
|
+
"value" : "#fff"
|
|
59
59
|
},
|
|
60
60
|
"site-container": {
|
|
61
61
|
"value" : "{color.neutral.lightest.value}"
|
|
62
62
|
},
|
|
63
63
|
"surface": {
|
|
64
|
-
"value" : "
|
|
64
|
+
"value" : "#fff"
|
|
65
65
|
},
|
|
66
66
|
"main": {
|
|
67
67
|
"value" : "rgba(0,0,0,0)"
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"value" : "#343433"
|
|
73
73
|
},
|
|
74
74
|
"invert": {
|
|
75
|
-
"value" : "
|
|
75
|
+
"value" : "#fff"
|
|
76
76
|
},
|
|
77
77
|
"headers": {
|
|
78
78
|
"1": {
|
|
@@ -189,7 +189,7 @@
|
|
|
189
189
|
},
|
|
190
190
|
"input": {
|
|
191
191
|
"checked": {
|
|
192
|
-
"value" : "
|
|
192
|
+
"value" : "#000"
|
|
193
193
|
},
|
|
194
194
|
"border": {
|
|
195
195
|
"value" : "{color.neutral.base.value}"
|
package/src/tokens/custom.json
CHANGED